Bug 2312062 (CVE-2024-46674) - CVE-2024-46674 kernel: usb: dwc3: st: fix probed platform device ref count on probe error path
Summary: CVE-2024-46674 kernel: usb: dwc3: st: fix probed platform device ref count on...
Keywords:
Status: NEW
Alias: CVE-2024-46674
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2312175
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-09-13 06:20 UTC by OSIDB Bzimport
Modified: 2024-10-23 09:59 UTC (History)
4 users (show)

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


Attachments (Terms of Use)

Description OSIDB Bzimport 2024-09-13 06:20:36 UTC
In the Linux kernel, the following vulnerability has been resolved:

usb: dwc3: st: fix probed platform device ref count on probe error path

The probe function never performs any paltform device allocation, thus
error path "undo_platform_dev_alloc" is entirely bogus.  It drops the
reference count from the platform device being probed.  If error path is
triggered, this will lead to unbalanced device reference counts and
premature release of device resources, thus possible use-after-free when
releasing remaining devm-managed resources.


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