CVE-2024-46674
published high CVSS 3.1 · 7.8usb: dwc3: st: fix probed platform device ref count on probe error path
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxf83fca0707c66e36f14efef7f68702cb12de70b7 to < b0979a885b9d4df2a25b88e9d444ccaa5f9f495c · f83fca0707c66e36f14efef7f68702cb12de70b7 to < f3498650df0805c75b4e1c94d07423c46cbf4ce1 · f83fca0707c66e36f14efef7f68702cb12de70b7 to < 6aee4c5635d81f4809c3b9f0c198a65adfbb2ada · f83fca0707c66e36f14efef7f68702cb12de70b7 to < 060f41243ad7f6f5249fa7290dda0c01f723d12d · f83fca0707c66e36f14efef7f68702cb12de70b7 to < 4c6735299540f3c82a5033d35be76a5c42e0fb18 · f83fca0707c66e36f14efef7f68702cb12de70b7 to < e1e5e8ea2731150d5ba7c707f9e02fafebcfeb49 · f83fca0707c66e36f14efef7f68702cb12de70b7 to < 1de989668708ce5875efc9d669d227212aeb9a90 · f83fca0707c66e36f14efef7f68702cb12de70b7 to < ddfcfeba891064b88bb844208b43bef2ef970f0c · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux3.18 (affected) · 0 to < 3.18 (unaffected · semver) · 4.19.321 through 4.19.* (unaffected · semver) · 5.4.283 through 5.4.* (unaffected · semver) · 5.10.225 through 5.10.* (unaffected · semver) · 5.15.166 through 5.15.* (unaffected · semver) · 6.1.108 through 6.1.* (unaffected · semver) · 6.6.49 through 6.6.* (unaffected · semver) · 6.10.8 through 6.10.* (unaffected · semver) · 6.11 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Debian | bookworm | linux | Advisory build | 6.1.112-1 | DSA-5782-1 |
| Oracle Linux | 7 | kernel-uekaarch64 | Advisory build | 0:4.14.35-2047.543.3.el7uek | ELSA-2024-12868 |
| Debian | bullseye | linux | Advisory build | 5.10.226-1 | DLA-3912-1 |
| Debian | bullseye | linux-6.1 | Advisory build | 6.1.119-1~deb11u1 | DLA-4008-1 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Oracle Linux | 7 | kernel-uekaarch64 | Advisory build | 0:5.4.17-2136.337.5.el7uek | ELSA-2024-12813 |
| Oracle Linux | 7 | kernel-uekx86_64 | Advisory build | 0:4.14.35-2047.543.3.el7uek | ELSA-2024-12868 |
| Oracle Linux | 7 | kernel-uekx86_64 | Advisory build | 0:5.4.17-2136.337.5.el7uek | ELSA-2024-12813 |
| Oracle Linux | 7 | kernel-uek-containerx86_64 | Advisory build | 0:5.4.17-2136.337.5.el7uek | ELSA-2024-12813 |
| Oracle Linux | 7 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.4.17-2136.337.5.el7uek | ELSA-2024-12813 |
| Oracle Linux | 7 | kernel-uek-debugaarch64 | Advisory build | 0:4.14.35-2047.543.3.el7uek | ELSA-2024-12868 |
| Oracle Linux | 7 | kernel-uek-debugaarch64 | Advisory build | 0:5.4.17-2136.337.5.el7uek | ELSA-2024-12813 |
| Oracle Linux | 7 | kernel-uek-debugx86_64 | Advisory build | 0:4.14.35-2047.543.3.el7uek | ELSA-2024-12868 |
| Oracle Linux | 7 | kernel-uek-debugx86_64 | Advisory build | 0:5.4.17-2136.337.5.el7uek | ELSA-2024-12813 |
| Oracle Linux | 7 | kernel-uek-debug-develaarch64 | Advisory build | 0:4.14.35-2047.543.3.el7uek | ELSA-2024-12868 |
| Oracle Linux | 7 | kernel-uek-debug-develaarch64 | Advisory build | 0:5.4.17-2136.337.5.el7uek | ELSA-2024-12813 |
| Oracle Linux | 7 | kernel-uek-debug-develx86_64 | Advisory build | 0:4.14.35-2047.543.3.el7uek | ELSA-2024-12868 |
| Oracle Linux | 7 | kernel-uek-debug-develx86_64 | Advisory build | 0:5.4.17-2136.337.5.el7uek | ELSA-2024-12813 |
| Oracle Linux | 7 | kernel-uek-develaarch64 | Advisory build | 0:4.14.35-2047.543.3.el7uek | ELSA-2024-12868 |
| Oracle Linux | 7 | kernel-uek-develaarch64 | Advisory build | 0:5.4.17-2136.337.5.el7uek | ELSA-2024-12813 |
| Oracle Linux | 7 | kernel-uek-develx86_64 | Advisory build | 0:4.14.35-2047.543.3.el7uek | ELSA-2024-12868 |
| Oracle Linux | 7 | kernel-uek-develx86_64 | Advisory build | 0:5.4.17-2136.337.5.el7uek | ELSA-2024-12813 |
| Oracle Linux | 7 | kernel-uek-docaarch64 | Advisory build | 0:5.4.17-2136.337.5.el7uek | ELSA-2024-12813 |
| Oracle Linux | 7 | kernel-uek-docx86_64 | Advisory build | 0:4.14.35-2047.543.3.el7uek | ELSA-2024-12868 |
| Oracle Linux | 7 | kernel-uek-docx86_64 | Advisory build | 0:5.4.17-2136.337.5.el7uek | ELSA-2024-12813 |
| Oracle Linux | 7 | kernel-uek-headersaarch64 | Advisory build | 0:4.14.35-2047.543.3.el7uek | ELSA-2024-12868 |
| Oracle Linux | 7 | kernel-uek-toolsaarch64 | Advisory build | 0:4.14.35-2047.543.3.el7uek | ELSA-2024-12868 |
| Oracle Linux | 7 | kernel-uek-toolsaarch64 | Advisory build | 0:5.4.17-2136.337.5.el7uek | ELSA-2024-12813 |
| Oracle Linux | 7 | kernel-uek-toolsx86_64 | Advisory build | 0:4.14.35-2047.543.3.el7uek | ELSA-2024-12868 |
| Oracle Linux | 7 | kernel-uek-toolsx86_64 | Advisory build | 0:5.4.17-2136.337.5.el7uek | ELSA-2024-12813 |
| Oracle Linux | 7 | kernel-uek-tools-libsaarch64 | Advisory build | 0:4.14.35-2047.543.3.el7uek | ELSA-2024-12868 |
| Oracle Linux | 7 | kernel-uek-tools-libsaarch64 | Advisory build | 0:5.4.17-2136.337.5.el7uek | ELSA-2024-12813 |
| Oracle Linux | 7 | kernel-uek-tools-libs-develaarch64 | Advisory build | 0:4.14.35-2047.543.3.el7uek | ELSA-2024-12868 |
| Oracle Linux | 7 | perfaarch64 | Advisory build | 0:4.14.35-2047.543.3.el7uek | ELSA-2024-12868 |
| Oracle Linux | 7 | perfaarch64 | Advisory build | 0:5.4.17-2136.337.5.el7uek | ELSA-2024-12813 |
| Oracle Linux | 7 | python-perfaarch64 | Advisory build | 0:4.14.35-2047.543.3.el7uek | ELSA-2024-12868 |
| Oracle Linux | 7 | python-perfaarch64 | Advisory build | 0:5.4.17-2136.337.5.el7uek | ELSA-2024-12813 |
| Oracle Linux | 8 | bpftoolaarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | bpftoolx86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uekaarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uekaarch64 | Advisory build | 0:5.4.17-2136.337.5.el8uek | ELSA-2024-12813 |
| Oracle Linux | 8 | kernel-uekx86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uekx86_64 | Advisory build | 0:5.4.17-2136.337.5.el8uek | ELSA-2024-12813 |
| Oracle Linux | 8 | kernel-uek-containeraarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-containerx86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-containerx86_64 | Advisory build | 0:5.4.17-2136.337.5.el8uek | ELSA-2024-12813 |
| Oracle Linux | 8 | kernel-uek-container-debugaarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.4.17-2136.337.5.el8uek | ELSA-2024-12813 |
| Oracle Linux | 8 | kernel-uek-coreaarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-corex86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-debugaarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-debugaarch64 | Advisory build | 0:5.4.17-2136.337.5.el8uek | ELSA-2024-12813 |
| Oracle Linux | 8 | kernel-uek-debugx86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-debugx86_64 | Advisory build | 0:5.4.17-2136.337.5.el8uek | ELSA-2024-12813 |
| Oracle Linux | 8 | kernel-uek-debug-coreaarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-debug-corex86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-debug-develaarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-debug-develaarch64 | Advisory build | 0:5.4.17-2136.337.5.el8uek | ELSA-2024-12813 |
| Oracle Linux | 8 | kernel-uek-debug-develx86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-debug-develx86_64 | Advisory build | 0:5.4.17-2136.337.5.el8uek | ELSA-2024-12813 |
| Oracle Linux | 8 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-develaarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-develaarch64 | Advisory build | 0:5.4.17-2136.337.5.el8uek | ELSA-2024-12813 |
| Oracle Linux | 8 | kernel-uek-develx86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-develx86_64 | Advisory build | 0:5.4.17-2136.337.5.el8uek | ELSA-2024-12813 |
| Oracle Linux | 8 | kernel-uek-docaarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-docaarch64 | Advisory build | 0:5.4.17-2136.337.5.el8uek | ELSA-2024-12813 |
| Oracle Linux | 8 | kernel-uek-docx86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-docx86_64 | Advisory build | 0:5.4.17-2136.337.5.el8uek | ELSA-2024-12813 |
| Oracle Linux | 8 | kernel-uek-modulesaarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-modulesx86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-modules-extraaarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-modules-extrax86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 9 | bpftoolaarch64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | bpftoolx86_64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uekaarch64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uekx86_64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-containeraarch64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-containerx86_64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-container-debugaarch64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-coreaarch64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-corex86_64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-debugaarch64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-debugx86_64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-debug-coreaarch64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-debug-corex86_64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-debug-develaarch64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-debug-develx86_64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-develaarch64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-develx86_64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-docaarch64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-docx86_64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The flaw is in a platform-driver probe path reached through local kernel/driver-model operations — boot-time/deferred probe, module load, or sysfs bind/unbind — and the resulting dangling device is subsequently touched through local sysfs paths. No network or physical USB interaction is involved, so Local is the accurate vector. AC:L - The unbalanced put_device() executes unconditionally on every probe error path, including the routine -EPROBE_DEFER from devm_reset_control_get_exclusive(), and each deferred-probe retry repeats it deterministically. No race must be won and no unpredictable state is required. PR:L - No credential or capability check exists on the code path itself — the refcount underflow is executed by the kernel's own probe machinery. A basic unprivileged local user can then reach and dereference the prematurely freed struct device through world-readable sysfs entries and groom the slab to reclaim the freed platform_object. UI:N - The reference imbalance and premature free occur automatically during probe/deferred re-probe with no victim action required. Nobody has to mount, open, or plug in anything. S:U - The corruption is confined to kernel memory within the same security authority; there is no VM, IOMMU, or sandbox boundary crossed. C:H - This is a use-after-free on a kmalloc'd platform_object; after the slab is reclaimed, its contents are readable back through the device model and sysfs, enabling disclosure of arbitrary kernel heap data. I:H - The freed struct device is still dereferenced afterwards, including its dev->release, dev->bus, dev->type, and kobj ktype function pointers, so reclaiming the freed slab yields a write/control-flow-hijack primitive rather than mere data damage. A:H - The refcount underflow frees the device while devres_release_all(), sysfs teardown, and the deferred-probe list still reference it, producing an oops or panic; repeated probe retries compound the corruption.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | f83fca0707c66e36f14efef7f68702cb12de70b7 to < b0979a885b9d4df2a25b88e9d444ccaa5f9f495c (affected · git)f83fca0707c66e36f14efef7f68702cb12de70b7 to < f3498650df0805c75b4e1c94d07423c46cbf4ce1 (affected · git)f83fca0707c66e36f14efef7f68702cb12de70b7 to < 6aee4c5635d81f4809c3b9f0c198a65adfbb2ada (affected · git)f83fca0707c66e36f14efef7f68702cb12de70b7 to < 060f41243ad7f6f5249fa7290dda0c01f723d12d (affected · git)f83fca0707c66e36f14efef7f68702cb12de70b7 to < 4c6735299540f3c82a5033d35be76a5c42e0fb18 (affected · git)f83fca0707c66e36f14efef7f68702cb12de70b7 to < e1e5e8ea2731150d5ba7c707f9e02fafebcfeb49 (affected · git)f83fca0707c66e36f14efef7f68702cb12de70b7 to < 1de989668708ce5875efc9d669d227212aeb9a90 (affected · git)f83fca0707c66e36f14efef7f68702cb12de70b7 to < ddfcfeba891064b88bb844208b43bef2ef970f0c (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 3.18 (affected)0 to < 3.18 (unaffected · semver)4.19.321 through 4.19.* (unaffected · semver)5.4.283 through 5.4.* (unaffected · semver)5.10.225 through 5.10.* (unaffected · semver)5.15.166 through 5.15.* (unaffected · semver)6.1.108 through 6.1.* (unaffected · semver)6.6.49 through 6.6.* (unaffected · semver)6.10.8 through 6.10.* (unaffected · semver)6.11 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
10- https://git.kernel.org/stable/c/060f41243ad7f6f5249fa7290dda0c01f723d12d
- https://git.kernel.org/stable/c/1de989668708ce5875efc9d669d227212aeb9a90
- https://git.kernel.org/stable/c/4c6735299540f3c82a5033d35be76a5c42e0fb18
- https://git.kernel.org/stable/c/6aee4c5635d81f4809c3b9f0c198a65adfbb2ada
- https://git.kernel.org/stable/c/b0979a885b9d4df2a25b88e9d444ccaa5f9f495c
- https://git.kernel.org/stable/c/ddfcfeba891064b88bb844208b43bef2ef970f0c
- https://git.kernel.org/stable/c/e1e5e8ea2731150d5ba7c707f9e02fafebcfeb49
- https://git.kernel.org/stable/c/f3498650df0805c75b4e1c94d07423c46cbf4ce1
- https://lists.debian.org/debian-lts-announce/2024/10/msg00003.html
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html
Provider assertions
3Linux · cna
usb: dwc3: st: fix probed platform device ref count on probe error path
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 4539a0686f0c85ac23bfaf345b293d5e1bdf7bd8d1adada13c6f69ba29fbea99
- Ingested
- 23 Sep 2026, 08:28:03 UTC
- Source record
- Official CVE record