diff options
| author | Dan Carpenter <[email protected]> | 2019-05-14 22:47:00 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2019-05-15 02:52:52 +0000 |
| commit | c8ea3663f7a8e6996d44500ee818c9330ac4fd88 (patch) | |
| tree | 70517f9071c6c2e430c11355455adee320d32312 /lib/timerqueue.c | |
| parent | mm, memcg: rename ambiguously named memory.stat counters and functions (diff) | |
| download | kernel-c8ea3663f7a8e6996d44500ee818c9330ac4fd88.tar.gz kernel-c8ea3663f7a8e6996d44500ee818c9330ac4fd88.zip | |
drivers/virt/fsl_hypervisor.c: dereferencing error pointers in ioctl
strndup_user() returns error pointers on error, and then in the error
handling we pass the error pointers to kfree(). It will cause an Oops.
Link: http://lkml.kernel.org/r/20181218082003.GD32567@kadam
Fixes: 6db7199407ca ("drivers/virt: introduce Freescale hypervisor management driver")
Signed-off-by: Dan Carpenter <[email protected]>
Reviewed-by: Andrew Morton <[email protected]>
Cc: Timur Tabi <[email protected]>
Cc: Mihai Caraman <[email protected]>
Cc: Kumar Gala <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/timerqueue.c')
0 files changed, 0 insertions, 0 deletions
