aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/omapdrm/omap_fbdev.c
diff options
context:
space:
mode:
authorHyunwoo Kim <[email protected]>2022-09-25 13:32:43 +0000
committerHelge Deller <[email protected]>2022-10-08 13:20:09 +0000
commit5610bcfe8693c02e2e4c8b31427f1bdbdecc839c (patch)
tree0c333e5ee6640fb5f8a318194b49e4348c40d0ca /drivers/gpu/drm/omapdrm/omap_fbdev.c
parentfbdev: gbefb: Convert to use dev_groups (diff)
downloadkernel-5610bcfe8693c02e2e4c8b31427f1bdbdecc839c.tar.gz
kernel-5610bcfe8693c02e2e4c8b31427f1bdbdecc839c.zip
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 <[email protected]> Cc: [email protected] Signed-off-by: Helge Deller <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_fbdev.c')
0 files changed, 0 insertions, 0 deletions