linux-stable/drivers/video
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
..
backlight - New Drivers 2022-10-05 10:45:15 -07:00
console fbdev: Move fbdev drivers from strlcpy to strscpy 2022-08-24 22:06:15 +02:00
fbdev fbdev: smscufx: Fix use-after-free in ufx_ops_open() 2022-10-08 15:20:09 +02:00
logo
aperture.c fbdev: Remove conflict-handling code 2022-07-19 13:19:11 +02:00
display_timing.c
hdmi.c video/hdmi: Add audio_infoframe packing for DP 2022-09-04 15:31:59 +03:00
Kconfig drm: Implement DRM aperture helpers under video/ 2022-06-27 11:07:55 +02:00
Makefile drm: Implement DRM aperture helpers under video/ 2022-06-27 11:07:55 +02:00
of_display_timing.c video: fbdev: of: display_timing: Remove a redundant zeroing of memory 2022-04-04 08:55:23 +02:00
of_videomode.c
vgastate.c
videomode.c