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-11-12 09:18 UTC (History)
51 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2024:3622 0 None None None 2024-06-05 09:02:13 UTC
Red Hat Product Errata RHBA-2024:3773 0 None None None 2024-06-10 15:10:47 UTC
Red Hat Product Errata RHBA-2024:3990 0 None None None 2024-06-20 01:13:27 UTC
Red Hat Product Errata RHSA-2024:3618 0 None None None 2024-06-05 00:30:22 UTC
Red Hat Product Errata RHSA-2024:3627 0 None None None 2024-06-05 10:01:09 UTC
Red Hat Product Errata RHSA-2024:9315 0 None None None 2024-11-12 09:18:35 UTC

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.

Comment 8 errata-xmlrpc 2024-06-05 00:30:18 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2024:3618 https://access.redhat.com/errata/RHSA-2024:3618

Comment 9 errata-xmlrpc 2024-06-05 10:01:05 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2024:3627 https://access.redhat.com/errata/RHSA-2024:3627

Comment 10 Alex 2024-06-09 16:56:08 UTC
The result of automatic check (that is developed by Alexander Larkin) for this CVE-2023-52445 is: CHECK	Maybe valid. Check manually. with impact LOW (that is an approximation based on flags USB INIT SIMPLEFIX RACE UAF IMPROVEONLY  ; these flags parsed automatically based on patch data). Such automatic check happens only for Low/Moderates (and only when not from reporter, but parsing already existing CVE). Highs always checked manually (I check it myself and then we check it again in Remediation team). In rare cases some of the Moderates could be increased to High later.

Comment 12 errata-xmlrpc 2024-11-12 09:18:32 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2024:9315 https://access.redhat.com/errata/RHSA-2024:9315


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