# CVE-2024-46674: usb: dwc3: st: fix probed platform device ref count on probe error path

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.28%, higher than 21% of CVEs (2026-12-01)
- Published: 2024-09-13T05:29:10.381Z
- Modified: 2026-08-05T11:37:53.435Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from f83fca0707c66e36f14efef7f68702cb12de70b7 before b0979a885b9d4df2a25b88e9d444ccaa5f9f495c; from f83fca0707c66e36f14efef7f68702cb12de70b7 before f3498650df0805c75b4e1c94d07423c46cbf4ce1; from f83fca0707c66e36f14efef7f68702cb12de70b7 before 6aee4c5635d81f4809c3b9f0c198a65adfbb2ada; from f83fca0707c66e36f14efef7f68702cb12de70b7 before 060f41243ad7f6f5249fa7290dda0c01f723d12d; from f83fca0707c66e36f14efef7f68702cb12de70b7 before 4c6735299540f3c82a5033d35be76a5c42e0fb18; from f83fca0707c66e36f14efef7f68702cb12de70b7 before e1e5e8ea2731150d5ba7c707f9e02fafebcfeb49; from f83fca0707c66e36f14efef7f68702cb12de70b7 before 1de989668708ce5875efc9d669d227212aeb9a90; from f83fca0707c66e36f14efef7f68702cb12de70b7 before ddfcfeba891064b88bb844208b43bef2ef970f0c; 3.18 (not affected: before 3.18; from 4.19.321 up to 4.19.*; from 5.4.283 up to 5.4.*; from 5.10.225 up to 5.10.*; from 5.15.166 up to 5.15.*; from 6.1.108 up to 6.1.*; from 6.6.49 up to 6.6.*; from 6.10.8 up to 6.10.*; from 6.11 up to *)
- linux linux_kernel: from 3.18 before 4.19.321; from 4.20 before 5.4.283; from 5.5 before 5.10.225; from 5.11 before 5.15.166; from 5.16 before 6.1.108; from 6.2 before 6.6.49; from 6.7 before 6.10.8; 6.11

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/b0979a885b9d4df2a25b88e9d444ccaa5f9f495c> (patch)
- <https://git.kernel.org/stable/c/f3498650df0805c75b4e1c94d07423c46cbf4ce1> (patch)
- <https://git.kernel.org/stable/c/6aee4c5635d81f4809c3b9f0c198a65adfbb2ada> (patch)
- <https://git.kernel.org/stable/c/060f41243ad7f6f5249fa7290dda0c01f723d12d> (patch)
- <https://git.kernel.org/stable/c/4c6735299540f3c82a5033d35be76a5c42e0fb18> (patch)
- <https://git.kernel.org/stable/c/e1e5e8ea2731150d5ba7c707f9e02fafebcfeb49> (patch)
- <https://git.kernel.org/stable/c/1de989668708ce5875efc9d669d227212aeb9a90> (patch)
- <https://git.kernel.org/stable/c/ddfcfeba891064b88bb844208b43bef2ef970f0c> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>
- <https://lists.debian.org/debian-lts-announce/2024/10/msg00003.html>

## Sources

- CVE List: [CVE-2024-46674](https://www.cve.org/CVERecord?id=CVE-2024-46674), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2024-46674](https://nvd.nist.gov/vuln/detail/CVE-2024-46674), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2024-46674 · Whole record: https://cve.day/CVE-2024-46674.json · Rebuilt by cve.day 2026-11-25T22:58:45.371Z
