NetSight
high7.8

CVE-2024-46674

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 …

Impact

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 products

VendorProductAffected versions
LinuxLinux 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

Weakness classification

References