summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorHyunwoo Kim <imv4bel@gmail.com>2022-09-25 16:32:43 +0300
committerHelge Deller <deller@gmx.de>2022-10-08 16:20:09 +0300
commit5610bcfe8693c02e2e4c8b31427f1bdbdecc839c (patch)
tree0c333e5ee6640fb5f8a318194b49e4348c40d0ca /tools/perf/scripts/python/stackcollapse.py
parente69dade8a4cfe49f3f3af90d966dd34b67721d26 (diff)
downloadlinux-5610bcfe8693c02e2e4c8b31427f1bdbdecc839c.tar.xz
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 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions