diff options
| author | Andrew Morton <[email protected]> | 2014-12-02 23:59:31 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2014-12-03 17:35:38 +0000 |
| commit | 92788ac1eb06e69a822de45e2a8a63fa45eb5be2 (patch) | |
| tree | e4cff1d7c5943d776e2a448c1fb6fade6d4139b7 /lib/genalloc.c | |
| parent | mm/vmpressure.c: fix race in vmpressure_work_fn() (diff) | |
| download | kernel-92788ac1eb06e69a822de45e2a8a63fa45eb5be2.tar.gz kernel-92788ac1eb06e69a822de45e2a8a63fa45eb5be2.zip | |
drivers/input/evdev.c: don't kfree() a vmalloc address
If kzalloc() failed and then evdev_open_device() fails, evdev_open()
will pass a vmalloc'ed pointer to kfree.
This might fix https://bugzilla.kernel.org/show_bug.cgi?id=88401, where
there was a crash in kfree().
Reported-by: Christian Casteyde <[email protected]>
Belatedly-Acked-by: Dmitry Torokhov <[email protected]>
Cc: Henrik Rydberg <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/genalloc.c')
0 files changed, 0 insertions, 0 deletions
