Re: [PATCH] Staging: unisys: verify that a control channel exists

2014-04-04 Thread Greg KH
On Fri, Apr 04, 2014 at 02:38:24PM -0400, Sasha Levin wrote: > The code didn't verify that a control channel exists before trying to > use it. It caused NULL ptr derefs which were easy to trigger by an > unpriviliged user simply by reading the proc file, causing: Ugh, what a mess... Thanks for th

[PATCH] Staging: unisys: verify that a control channel exists

2014-04-04 Thread Sasha Levin
The code didn't verify that a control channel exists before trying to use it. It caused NULL ptr derefs which were easy to trigger by an unpriviliged user simply by reading the proc file, causing: [ 68.161404] BUG: unable to handle kernel NULL pointer dereference at (null) [ 68.1624