CVE-2024-46674

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

State
Published
Severity
7.8 High
Published
Sep 13, 2024
Updated
Aug 5, 2026
Reserved
Sep 11, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • f83fca0707c66e36f14efef7f68702cb12de70b7 to before b0979a885b9d4df2a25b88e9d444ccaa5f9f495cAffected
  • f83fca0707c66e36f14efef7f68702cb12de70b7 to before f3498650df0805c75b4e1c94d07423c46cbf4ce1Affected
  • f83fca0707c66e36f14efef7f68702cb12de70b7 to before 6aee4c5635d81f4809c3b9f0c198a65adfbb2adaAffected
  • f83fca0707c66e36f14efef7f68702cb12de70b7 to before 060f41243ad7f6f5249fa7290dda0c01f723d12dAffected
  • f83fca0707c66e36f14efef7f68702cb12de70b7 to before 4c6735299540f3c82a5033d35be76a5c42e0fb18Affected
  • f83fca0707c66e36f14efef7f68702cb12de70b7 to before e1e5e8ea2731150d5ba7c707f9e02fafebcfeb49Affected
  • f83fca0707c66e36f14efef7f68702cb12de70b7 to before 1de989668708ce5875efc9d669d227212aeb9a90Affected
  • f83fca0707c66e36f14efef7f68702cb12de70b7 to before ddfcfeba891064b88bb844208b43bef2ef970f0cAffected
LinuxLinux
  • 3.18Affected
  • before 3.18Not affected
  • 4.19.321 through 4.19.*Not affected
  • 5.4.283 through 5.4.*Not affected
  • 5.10.225 through 5.10.*Not affected
  • 5.15.166 through 5.15.*Not affected
  • 6.1.108 through 6.1.*Not affected
  • 6.6.49 through 6.6.*Not affected
  • 6.10.8 through 6.10.*Not affected
  • 6.11 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.