CVE-2024-46674

published 13 Sep 2024 · updated 5 Aug 2026

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

7.8HighCVSS 7.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 060f41243ad7f6f5249fa7290dda0c01f723d12d, Kernel 1de989668708ce5875efc9d669d227212aeb9a90, Kernel 4c6735299540f3c82a5033d35be76a5c42e0fb18 and 5 more.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=3.18, >=f83fca0707c66e36f14efef7f68702cb12de70b7 <060f41243ad7f6f5249fa7290dda0c01f723d12d, >=f83fca0707c66e36f14efef7f68702cb12de70b7 <1de989668708ce5875efc9d669d227212aeb9a90, >=f83fca0707c66e36f14efef7f68702cb12de70b7 <4c6735299540f3c82a5033d35be76a5c42e0fb18, >=f83fca0707c66e36f14efef7f68702cb12de70b7 <6aee4c5635d81f4809c3b9f0c198a65adfbb2ada, >=f83fca0707c66e36f14efef7f68702cb12de70b7 <b0979a885b9d4df2a25b88e9d444ccaa5f9f495c, >=f83fca0707c66e36f14efef7f68702cb12de70b7 <ddfcfeba891064b88bb844208b43bef2ef970f0c, >=f83fca0707c66e36f14efef7f68702cb12de70b7 <e1e5e8ea2731150d5ba7c707f9e02fafebcfeb49, >=f83fca0707c66e36f14efef7f68702cb12de70b7 <f3498650df0805c75b4e1c94d07423c46cbf4ce1060f41243ad7f6f5249fa7290dda0c01f723d12d, 1de989668708ce5875efc9d669d227212aeb9a90, 4c6735299540f3c82a5033d35be76a5c42e0fb18, 6aee4c5635d81f4809c3b9f0c198a65adfbb2ada, b0979a885b9d4df2a25b88e9d444ccaa5f9f495c, ddfcfeba891064b88bb844208b43bef2ef970f0c, e1e5e8ea2731150d5ba7c707f9e02fafebcfeb49, f3498650df0805c75b4e1c94d07423c46cbf4ce1

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-46674 severity on Zeptric[![CVE-2024-46674](https://zeptric.io/badge/cve/CVE-2024-46674.svg)](https://zeptric.io/cve/CVE-2024-46674)