CVE Catalog

CVE-2024-46674

HighCVSS 7.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.28%

20th percentile - higher than 20% of all known CVEs

Summary

In the USB dwc3 driver for ST platforms in the Linux kernel, a reference count issue was found in the probe error path. The probe function never allocates platform devices, so the 'undo_platform_dev_alloc' error path is bogus and decrements the reference count of the probed device. This can lead to unbalanced reference counts and premature release of resources, potentially causing use-after-free.

Risk Assessment

The vulnerability could lead to use-after-free, potentially resulting in system crash, privilege escalation, or other unintended behavior.

Recommendation

It is recommended to update the Linux kernel to a version containing the fix for CVE-2024-46674. Also ensure the dwc3 driver is properly configured on ST platforms.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS