linux/drivers/media
Sean Young 4f0835d667 media: rc: uevent sysfs file races with rc_unregister_device()
Only report uevent file contents if device still registered, else we
might read freed memory.

Reported-by: syzbot+ceef16277388d6f24898@syzkaller.appspotmail.com
Cc: Hillf Danton <hdanton@sina.com>
Cc: <stable@vger.kernel.org> # 4.16+
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2020-08-28 14:06:35 +02:00
..
cec cec-api: prevent leaking memory through hole in structure 2020-07-19 07:43:14 +02:00
common media: videobuf2: Print videobuf2 buffer state by name 2020-07-19 14:25:36 +02:00
dvb-core media: videobuf2: add queue memory consistency parameter 2020-06-23 13:31:12 +02:00
dvb-frontends media updates for v5.9-rc1 2020-08-07 13:00:53 -07:00
firewire media: firewire: Using uninitialized values in node_probe() 2020-07-04 11:57:10 +02:00
i2c media: max9286: Depend on OF_GPIO 2020-08-28 11:03:36 +02:00
mc media: media-request: Fix crash if memory allocation fails 2020-06-23 15:19:37 +02:00
mmc media updates for v5.8-rc1 2020-06-03 20:59:38 -07:00
pci pci-v5.9-changes 2020-08-07 18:48:15 -07:00
platform media: ti-vpe: cal: Fix compilation on 32-bit ARM 2020-08-26 16:28:57 +02:00
radio media: radio: remove redundant assignment to variable retval 2020-08-06 11:28:21 +02:00
rc media: rc: uevent sysfs file races with rc_unregister_device() 2020-08-28 14:06:35 +02:00
spi media: i2c/Kconfig: use sub-menus for I2C support 2020-04-16 10:34:40 +02:00
test-drivers media: vicodec: add missing v4l2_ctrl_request_hdl_put() 2020-08-27 09:30:20 +02:00
tuners treewide: Remove uninitialized_var() usage 2020-07-16 12:35:15 -07:00
usb media updates for v5.9-rc1 2020-08-07 13:00:53 -07:00
v4l2-core media: media/v4l2-core: Fix kernel-infoleak in video_put_user() 2020-08-26 16:29:36 +02:00
Kconfig media: media/test_drivers: rename to test-drivers 2020-04-16 10:38:31 +02:00
Makefile media: media/test_drivers: rename to test-drivers 2020-04-16 10:38:31 +02:00