linux-stable/drivers/media/rc
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
..
img-ir
keymaps
ati_remote.c
bpf-lirc.c bpf: Implement CAP_BPF 2020-05-15 17:29:41 +02:00
ene_ir.c
ene_ir.h
fintek-cir.c media: fintek-cir: remove unused function fintek_clear_reg_bit 2020-07-04 12:23:13 +02:00
fintek-cir.h
gpio-ir-recv.c
gpio-ir-tx.c media: gpio-ir-tx: allow transmission without carrier 2020-05-12 17:30:40 +02:00
igorplugusb.c
iguanair.c media: iguanair: rc drivers no longer need to do locking 2020-04-21 16:51:49 +02:00
imon.c media: imon: Replace http links with https ones 2020-07-19 14:00:32 +02:00
imon_raw.c
ir-hix5hd2.c
ir-imon-decoder.c
ir-jvc-decoder.c
ir-mce_kbd-decoder.c
ir-nec-decoder.c
ir-rc5-decoder.c
ir-rc6-decoder.c
ir-rcmm-decoder.c
ir-rx51.c media: ir-rx51: Use 64-bit division macro 2020-04-21 12:57:04 +02:00
ir-sanyo-decoder.c
ir-sharp-decoder.c
ir-sony-decoder.c
ir-spi.c
ir-xmp-decoder.c
ir_toy.c media: rc: add support for Infrared Toy and IR Droid devices 2020-06-23 15:07:21 +02:00
ite-cir.c
ite-cir.h
Kconfig media: rc: add support for Infrared Toy and IR Droid devices 2020-06-23 15:07:21 +02:00
lirc_dev.c media: rc: make scancodes 64 bit 2020-03-12 09:20:46 +01:00
Makefile media: rc: add support for Infrared Toy and IR Droid devices 2020-06-23 15:07:21 +02:00
mceusb.c
meson-ir.c
mtk-cir.c
nuvoton-cir.c media: nuvoton-cir: remove setting tx carrier functions 2020-07-04 12:22:56 +02:00
nuvoton-cir.h
pwm-ir-tx.c
rc-core-priv.h media: rc: no need for decoder state if decoder not enabled 2020-04-29 11:59:20 +02:00
rc-ir-raw.c
rc-loopback.c
rc-main.c media: rc: uevent sysfs file races with rc_unregister_device() 2020-08-28 14:06:35 +02:00
redrat3.c
serial_ir.c
sir_ir.c
st_rc.c
streamzap.c
sunxi-cir.c
tango-ir.c
ttusbir.c
winbond-cir.c
xbox_remote.c
zx-irdec.c