Revision 963761a0b2e85663ee4a5630f72930885a06598a authored by Sean Young on 24 May 2017, 09:24:51 UTC, committed by Mauro Carvalho Chehab on 04 June 2017, 18:25:38 UTC
A rc device can call ir_raw_event_handle() after rc_allocate_device(),
but before rc_register_device() has completed. This is racey because
rcdev->raw is set before rcdev->raw->thread has a valid value.

Cc: stable@kernel.org
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
1 parent 20249f8
History
File Mode Size
Kconfig -rw-r--r-- 4.0 KB
Makefile -rw-r--r-- 896 bytes
b43_pci_bridge.c -rw-r--r-- 1.8 KB
bridge_pcmcia_80211.c -rw-r--r-- 2.7 KB
driver_chipcommon.c -rw-r--r-- 17.8 KB
driver_chipcommon_pmu.c -rw-r--r-- 21.9 KB
driver_chipcommon_sflash.c -rw-r--r-- 4.1 KB
driver_extif.c -rw-r--r-- 5.0 KB
driver_gige.c -rw-r--r-- 7.3 KB
driver_gpio.c -rw-r--r-- 11.7 KB
driver_mipscore.c -rw-r--r-- 8.7 KB
driver_pcicore.c -rw-r--r-- 18.7 KB
embedded.c -rw-r--r-- 6.2 KB
host_soc.c -rw-r--r-- 4.5 KB
main.c -rw-r--r-- 30.5 KB
pci.c -rw-r--r-- 37.0 KB
pcihost_wrapper.c -rw-r--r-- 2.9 KB
pcmcia.c -rw-r--r-- 19.3 KB
scan.c -rw-r--r-- 10.2 KB
sdio.c -rw-r--r-- 15.6 KB
sprom.c -rw-r--r-- 5.2 KB
ssb_private.h -rw-r--r-- 8.1 KB

back to top