aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHyunwoo Kim <imv4bel@gmail.com>2022-09-25 06:32:43 -0700
committerHelge Deller <deller@gmx.de>2022-10-08 15:20:09 +0200
commit5610bcfe8693c02e2e4c8b31427f1bdbdecc839c (patch)
tree0c333e5ee6640fb5f8a318194b49e4348c40d0ca /include
parentfbdev: gbefb: Convert to use dev_groups (diff)
downloadlinux-dev-5610bcfe8693c02e2e4c8b31427f1bdbdecc839c.tar.xz
linux-dev-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 <imv4bel@gmail.com> Cc: stable@vger.kernel.org Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions