CVE
CVE-2024-46674
CNA 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.
Affected versions
All Linux kernel vulnerabilities →
- 6.11-rc5This version only
- 6.11-rc4This version only
- 6.11-rc3This version only
- 6.11-rc2This version only
- 6.11-rc1This version only
- ≥ 6.7, < 6.10.8Fixed in 6.10.8
- ≥ 6.2, < 6.6.49Fixed in 6.6.49
- ≥ 5.16, < 6.1.108Fixed in 6.1.108
- ≥ 5.11, < 5.15.166Fixed in 5.15.166
- ≥ 5.5, < 5.10.225Fixed in 5.10.225
- ≥ 4.20, < 5.4.283Fixed in 5.4.283
- ≥ 3.18, < 4.19.321Fixed in 4.19.321
Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.
Advisories and patches
- git.kernel.org/stable/c/060f41243ad7f6f5249fa7290dda0c01f723d12d · Patch
- git.kernel.org/stable/c/1de989668708ce5875efc9d669d227212aeb9a90 · Patch
- git.kernel.org/stable/c/4c6735299540f3c82a5033d35be76a5c42e0fb18 · Patch
- git.kernel.org/stable/c/6aee4c5635d81f4809c3b9f0c198a65adfbb2ada · Patch
- git.kernel.org/stable/c/b0979a885b9d4df2a25b88e9d444ccaa5f9f495c · Patch
- git.kernel.org/stable/c/ddfcfeba891064b88bb844208b43bef2ef970f0c · Patch
- git.kernel.org/stable/c/e1e5e8ea2731150d5ba7c707f9e02fafebcfeb49 · Patch
- git.kernel.org/stable/c/f3498650df0805c75b4e1c94d07423c46cbf4ce1 · Patch
Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.