Bug 2265654 (CVE-2023-52445) - CVE-2023-52445 kernel: pvrusb2: fix use after free on context disconnection
Summary: CVE-2023-52445 kernel: pvrusb2: fix use after free on context disconnection
Keywords:
Status: NEW
Alias: CVE-2023-52445
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2267102
Blocks: 2265643
TreeView+ depends on / blocked
 
Reported: 2024-02-23 13:47 UTC by Patrick Del Bello
Modified: 2024-02-29 19:57 UTC (History)
50 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description Patrick Del Bello 2024-02-23 13:47:39 UTC
media: pvrusb2: fix use after free on context disconnection

Upon module load, a kthread is created targeting the
pvr2_context_thread_func function, which may call pvr2_context_destroy
and thus call kfree() on the context object. However, that might happen
before the usb hub_event handler is able to notify the driver. This
patch adds a sanity check before the invalid read reported by syzbot,
within the context disconnection call stack.

Comment 5 Alex 2024-02-29 17:58:10 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2267102]

Comment 7 Justin M. Forbes 2024-02-29 19:57:07 UTC
This was fixed for Fedora with the 6.6.14 stable kernel update.


Note You need to log in before you can comment on or make changes to this bug.