CVE-2025-71145: usb: phy: isp1301: fix non-OF device reference imbalance
In the Linux kernel, the following vulnerability has been resolved:
usb: phy: isp1301: fix non-OF device reference imbalance
A recent change fixing a device reference leak in a UDC driver introduced a potential use-after-free in the non-OF case as the isp1301getclient() helper only increases the reference count for the returned I2C device in the OF case.
Increment the reference count also for non-OF so that the caller can decrement it unconditionally.
Note that this is inherently racy just as using the returned I2C device is since nothing is preventing the PHY driver from being unbound while in use.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2025-71145?
CVE-2025-71145 has been classified as a medium severity vulnerability due to the potential for a use-after-free issue.
How do I fix CVE-2025-71145?
To fix CVE-2025-71145, you should update to the latest stable version of the Linux kernel that includes the patch.
What systems are affected by CVE-2025-71145?
CVE-2025-71145 affects devices using the Linux kernel with the isp1301 USB PHY driver.
What are the potential impacts of CVE-2025-71145?
The potential impact of CVE-2025-71145 includes system instability or crashes due to the use-after-free vulnerability.
Who is responsible for addressing CVE-2025-71145?
The maintainers of the Linux kernel are responsible for addressing CVE-2025-71145 through timely updates and patches.