OpenCloudOS-Kernel/drivers
Hyunwoo Kim 5610bcfe86 fbdev: smscufx: Fix use-after-free in ufx_ops_open()
A race condition may occur if the user physically removes the
USB device while calling open() for this device node.

This is a race condition between the ufx_ops_open() function and
the ufx_usb_disconnect() function, which may eventually result in UAF.

So, add a mutex to the ufx_ops_open() and ufx_usb_disconnect() functions
to avoid race contidion of krefs.

Signed-off-by: Hyunwoo Kim <imv4bel@gmail.com>
Cc: stable@vger.kernel.org
Signed-off-by: Helge Deller <deller@gmx.de>
2022-10-08 15:20:09 +02:00
..
accessibility
acpi platform-drivers-x86 for v6.1-1 2022-10-05 10:38:24 -07:00
amba
android Char/Misc driver fixes for 6.0-rc4 2022-09-02 10:50:08 -07:00
ata ata changes for 6.1-rc1 2022-10-07 10:48:49 -07:00
atm
auxdisplay
base Driver core changes for 6.1-rc1 2022-10-07 17:04:10 -07:00
bcma bcma: Fix typo in comments 2022-09-07 11:00:30 +03:00
block Driver core changes for 6.1-rc1 2022-10-07 17:04:10 -07:00
bluetooth Bluetooth: hci_{ldisc,serdev}: check percpu_init_rwsem() failure 2022-09-19 10:33:39 -07:00
bus ARM: driver updates for 6.1 2022-10-06 11:04:57 -07:00
cdrom
char TTY/Serial driver update for 6.1-rc1 2022-10-07 16:36:24 -07:00
clk * 'remove' callback converted to return void. Big change with trivial 2022-10-04 18:54:33 -07:00
clocksource
comedi
connector
counter counter: 104-quad-8: Fix skipped IRQ lines during events configuration 2022-09-22 14:26:37 +02:00
cpufreq linux-kselftest-next-6.1-rc1 2022-10-06 12:53:15 -07:00
cpuidle ARM: driver updates for 6.1 2022-10-06 11:04:57 -07:00
crypto * 'remove' callback converted to return void. Big change with trivial 2022-10-04 18:54:33 -07:00
cxl
dax devdax: Fix soft-reservation memory description 2022-09-24 18:05:53 -07:00
dca
devfreq PM / devfreq: rockchip-dfi: Fix an error message 2022-09-26 03:59:43 +09:00
dio
dma dmaengine updates for v6.1-rc1 2022-10-07 15:56:34 -07:00
dma-buf whack-a-mole: cropped up open-coded file_inode() uses... 2022-10-06 17:22:11 -07:00
edac Merge branches 'edac-drivers' and 'edac-misc' into edac-updates-for-v6.1 2022-10-04 10:00:25 +02:00
eisa
extcon
firewire
firmware arm64 updates for 6.1: 2022-10-06 11:51:49 -07:00
fpga fpga: m10bmc-sec: Fix possible memory leak of flash_buf 2022-09-19 12:58:19 +08:00
fsi
gnss
gpio platform-drivers-x86 for v6.1-1 2022-10-05 10:38:24 -07:00
gpu Driver core changes for 6.1-rc1 2022-10-07 17:04:10 -07:00
greybus
hid Assorted HID drivers updates and fixes for 6.1 2022-10-07 11:13:42 -07:00
hsi HSI: nokia-modem: Replace of_gpio_count() by gpiod_count() 2022-09-20 17:29:29 +02:00
hte
hv Merge branch 'acpi-dev' 2022-09-30 20:05:16 +02:00
hwmon - Core Frameworks 2022-10-07 11:24:20 -07:00
hwspinlock
hwtracing arm64/sysreg: Fix a few missed conversions 2022-09-21 09:24:29 +01:00
i2c ARM: driver updates for 6.1 2022-10-06 11:04:57 -07:00
i3c
idle intel_idle: Add AlderLake-N support 2022-09-21 20:33:49 +02:00
iio * 'remove' callback converted to return void. Big change with trivial 2022-10-04 18:54:33 -07:00
infiniband v6.1 merge window pull request 2022-10-07 12:05:29 -07:00
input * 'remove' callback converted to return void. Big change with trivial 2022-10-04 18:54:33 -07:00
interconnect
iommu arm64 updates for 6.1: 2022-10-06 11:51:49 -07:00
ipack tty: Make ->set_termios() old ktermios const 2022-08-30 14:22:35 +02:00
irqchip arm64 updates for 6.1: 2022-10-06 11:51:49 -07:00
isdn Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2022-10-03 17:44:18 -07:00
leds platform-drivers-x86 for v6.1-1 2022-10-05 10:38:24 -07:00
macintosh macintosh/ams: Adapt declaration of ams_i2c_remove() to earlier change 2022-09-17 20:37:23 +02:00
mailbox
mcb
md for-6.1/passthrough-2022-10-04 2022-10-07 09:35:50 -07:00
media USB/Thunderbolt changes for 6.1-rc1 2022-10-07 16:48:26 -07:00
memory Memory controller drivers for v6.1 - MediaTek 2022-09-12 17:04:15 +02:00
memstick
message scsi: message: fusion: Remove redundant variable iocnum 2022-08-31 23:39:57 -04:00
mfd - Core Frameworks 2022-10-07 11:24:20 -07:00
misc whack-a-mole: cropped up open-coded file_inode() uses... 2022-10-06 17:22:11 -07:00
mmc TTY/Serial driver update for 6.1-rc1 2022-10-07 16:36:24 -07:00
most
mtd Core MTD changes: 2022-10-07 11:59:11 -07:00
mux
net TTY/Serial driver update for 6.1-rc1 2022-10-07 16:36:24 -07:00
nfc Merge tag 'v6.0-rc5' into i2c/for-mergewindow 2022-09-16 20:42:18 +01:00
ntb
nubus
nvdimm Merge branch 'for-6.0/dax' into libnvdimm-fixes 2022-09-24 18:14:12 -07:00
nvme for-6.1/passthrough-2022-10-04 2022-10-07 09:35:50 -07:00
nvmem
of * 'remove' callback converted to return void. Big change with trivial 2022-10-04 18:54:33 -07:00
opp
parisc asm-generic updates for v6.1 2022-10-06 12:10:37 -07:00
parport
pci
pcmcia pcmcia: remove AT91RM9200 Compact Flash driver 2022-09-27 08:12:16 +02:00
peci
perf arm64 updates for 6.1: 2022-10-06 11:51:49 -07:00
phy USB/Thunderbolt changes for 6.1-rc1 2022-10-07 16:48:26 -07:00
pinctrl ARM: driver updates for 6.1 2022-10-06 11:04:57 -07:00
platform platform-drivers-x86 for v6.1-1 2022-10-05 10:38:24 -07:00
pnp PNPBIOS: remove unused pnpid32_to_pnpid() declaration 2022-09-24 18:07:42 +02:00
power power supply and reset changes for the v6.1 series 2022-10-07 11:48:30 -07:00
powercap powercap: intel_rapl: Use standard Energy Unit for SPR Dram RAPL domain 2022-09-24 19:32:46 +02:00
pps
ps3
ptp ptp: Remove usage of the deprecated ida_simple_xxx API 2022-09-27 17:33:11 -07:00
pwm pwm: Changes for v6.1-rc1 2022-10-07 11:32:10 -07:00
rapidio
ras
regulator - Core Frameworks 2022-10-07 11:24:20 -07:00
remoteproc remoteproc: virtio: Fix warning on bindings by removing the of_match_table 2022-10-05 09:20:44 -06:00
reset ARM: driver updates for 6.1 2022-10-06 11:04:57 -07:00
rpmsg rpmsg: char: Avoid double destroy of default endpoint 2022-09-21 11:21:33 -06:00
rtc
s390 TTY/Serial driver update for 6.1-rc1 2022-10-07 16:36:24 -07:00
sbus
scsi SCSI misc on 20221007 2022-10-07 12:33:18 -07:00
sh
siox
slimbus
soc ARM: SoC code changes for 6.1 2022-10-06 11:22:25 -07:00
soundwire soundwire updates for 6.1-rc1 2022-10-07 16:13:55 -07:00
spi spi: Updates for v6.1 2022-10-04 19:36:53 -07:00
spmi
ssb
staging TTY/Serial driver update for 6.1-rc1 2022-10-07 16:36:24 -07:00
target SCSI misc on 20221007 2022-10-07 12:33:18 -07:00
tc
tee ARM: driver updates for 6.1 2022-10-06 11:04:57 -07:00
thermal Networking changes for 6.1. 2022-10-04 13:38:03 -07:00
thunderbolt USB/Thunderbolt changes for 6.1-rc1 2022-10-07 16:48:26 -07:00
tty TTY/Serial driver update for 6.1-rc1 2022-10-07 16:36:24 -07:00
ufs SCSI misc on 20221007 2022-10-07 12:33:18 -07:00
uio
usb USB/Thunderbolt changes for 6.1-rc1 2022-10-07 16:48:26 -07:00
vdpa Networking changes for 6.1. 2022-10-04 13:38:03 -07:00
vfio VFIO fix for v6.0-rc5 2022-09-09 07:44:33 -04:00
vhost Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2022-10-03 17:44:18 -07:00
video fbdev: smscufx: Fix use-after-free in ufx_ops_open() 2022-10-08 15:20:09 +02:00
virt kunit: fix Kconfig for build-in tests USB4 and Nitro Enclaves 2022-09-01 13:00:48 -06:00
virtio
vlynq
w1
watchdog ARM: driver updates for 6.1 2022-10-06 11:04:57 -07:00
xen SCSI misc on 20221007 2022-10-07 12:33:18 -07:00
zorro
Kconfig
Makefile