linux/drivers/media
Sean Young b24dc0aa7e media: rc: ensure that uevent can be read directly after rc device register
commit 896111dc4bcf887b835b3ef54f48b450d4692a1d upstream.

There is a race condition where if the /sys/class/rc0/uevent file is read
before rc_dev->registered is set to true, -ENODEV will be returned.

Link: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1901089

Cc: stable@vger.kernel.org
Fixes: a2e2d73fa2 ("media: rc: do not access device via sysfs after rc_unregister_device()")
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-02-03 23:25:56 +01:00
..
cec
common media: siano: fix memory leak of debugfs members in smsdvb_hotplug 2020-12-30 11:51:12 +01:00
dvb-core
dvb-frontends media: tda10071: fix unsigned sign extension overflow 2020-10-01 13:17:41 +02:00
firewire media: firewire: fix memory leak 2020-10-29 09:58:01 +01:00
i2c media: max2175: fix max2175_set_csm_mode() error code 2020-12-30 11:51:13 +01:00
mc media: mc-device.c: fix memleak in media_device_register_entity 2020-10-01 13:17:10 +02:00
mmc
pci media: ipu3-cio2: Make the field on subdev format V4L2_FIELD_NONE 2020-12-30 11:51:31 +01:00
platform media: mtk-vcodec: add missing put_device() call in mtk_vcodec_init_enc_pm() 2020-12-30 11:51:08 +01:00
radio
rc media: rc: ensure that uevent can be read directly after rc device register 2021-02-03 23:25:56 +01:00
spi
tuners media: tuner-simple: fix regression in simple_set_radio_freq 2020-10-29 09:57:31 +01:00
usb media: gp8psk: initialize stats at power control logic 2021-01-06 14:48:38 +01:00
v4l2-core media: v4l2-fwnode: Return -EINVAL for invalid bus-type 2020-12-30 11:51:08 +01:00
Kconfig
Makefile