android_kernel_motorola_sm6375/drivers/video
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Hyunwoo Kim 5385af2f89 fbdev: smscufx: Fix several use-after-free bugs
commit cc67482c9e5f2c80d62f623bcc347c29f9f648e1 upstream.

Several types of UAFs can occur when physically removing a USB device.

Adds ufx_ops_destroy() function to .fb_destroy of fb_ops, and
in this function, there is kref_put() that finally calls ufx_free().

This fix prevents multiple UAFs.

Signed-off-by: Hyunwoo Kim <[email protected]>
Link: https://lore.kernel.org/linux-fbdev/20221011153436.GA4446@ubuntu/
Cc: <[email protected]>
Signed-off-by: Helge Deller <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2022-11-03 23:56:53 +09:00
..
backlight video: backlight: Drop maximum brightness override for brightness zero 2021-11-17 09:48:50 +01:00
console vgacon: Propagate console boot parameters before calling `vc_resize' 2021-12-08 09:01:13 +01:00
fbdev fbdev: smscufx: Fix several use-after-free bugs 2022-11-03 23:56:53 +09:00
logo
display_timing.c
hdmi.c
Kconfig
Makefile
of_display_timing.c
of_videomode.c
vgastate.c
videomode.c