summaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3
diff options
context:
space:
mode:
authorHyunwoo Kim <imv4bel@gmail.com>2022-10-20 18:15:44 -0700
committerHelge Deller <deller@gmx.de>2022-10-21 07:36:32 +0200
commitcc67482c9e5f2c80d62f623bcc347c29f9f648e1 (patch)
tree6d4c7d7f882900e9bdb50ff197166d691eb53402 /drivers/usb/cdns3
parent70281592bf3fb7a2a193dced4d4e58a9ee96aa6c (diff)
fbdev: smscufx: Fix several use-after-free bugs
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 <imv4bel@gmail.com> Link: https://lore.kernel.org/linux-fbdev/20221011153436.GA4446@ubuntu/ Cc: <stable@vger.kernel.org> Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'drivers/usb/cdns3')
0 files changed, 0 insertions, 0 deletions