Files
linux/drivers
Eddie James d3e1e24604 fsi: occ: Prevent use after free
Use get_device and put_device in the open and close functions to
make sure the device doesn't get freed while a file descriptor is
open.
Also, lock around the freeing of the device buffer and check the
buffer before using it in the submit function.

Signed-off-by: Eddie James <eajames@linux.ibm.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20220513194424.53468-1-eajames@linux.ibm.com
Signed-off-by: Joel Stanley <joel@jms.id.au>
2022-09-28 21:10:57 +09:30
..
2022-07-17 17:14:30 -07:00
2022-09-28 21:10:57 +09:30
2022-07-13 18:52:12 -07:00
2022-08-09 00:56:41 +02:00
2022-08-08 14:33:41 -06:00