Files
linux/drivers/uio
Liu Jian 221a1f4ac1 driver: uio: fix possible use-after-free in __uio_register_device
In uio_dev_add_attributes() error handing case, idev is used after
device_unregister(), in which 'idev' has been released, touch idev cause
use-after-free.

Fixes: a93e7b3315 ("uio: Prevent device destruction while fds are open")
Signed-off-by: Liu Jian <[email protected]>
Reviewed-by: Hamish Martin <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2019-01-31 16:36:52 +01:00
..
2018-07-21 15:41:20 +02:00
2018-07-21 15:41:20 +02:00
2018-07-21 15:41:20 +02:00