CVE-2025-71145
JSON

7.8high

usb: phy: isp1301: fix non-OF device reference imbalance

Severity
7.8high CVSS:3.1 by Linux
Exploit likelihood
0.17% (higher than 6% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

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 isp1301_get_client() 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

Product or packageVersionsReported by
Linux Linuxfrom 0c2b0e747010fa645342138d71339a0ecb823bb0 before 43e58abad6c08c5f0943594126ef4cd6559aac0b, from 33c2e2a87313bc1afe9f7febbbb2014c431a2c5d before 03bbdaa4da8c6ea0c8431a5011db188a07822c8a, from 8481323710062051b3c42bff94ee5b18a2b496ca before 75c5d9bce072abbbc09b701a49869ac23c34a906, from 8bd518ea03b81eb7b4a734b7b901866c448f6c07 before 5d3df03f70547d4e3fc10ed4381c052eff51b157, from cefaad839a384a72331aedad927b1944fb6943dc before 7501ecfe3e5202490c2d13dc7e181203601fcd69, from c84117912bddd9e5d87e68daf182410c98181407 before b4b64fda4d30a83a7f00e92a0c8a1d47699609f3, 21c7c83d592e6335bfb6d65608da3726f976bad4, from 5.10.248 before 5.11CVE List
linux linux_kernelfrom 5.10.248 before 5.11NVD

All scores

Linux7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

What each source says

CVE List

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 isp1301_get_client() 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.

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: usb: phy: isp1301: corregir desequilibrio de referencia de dispositivo no-OF Un cambio reciente que corregía una fuga de referencia de dispositivo en un controlador UDC introdujo un potencial uso después de liberación en el caso no-OF, ya que la función auxiliar isp1301_get_client() solo incrementa el contador de referencias para el dispositivo I2C devuelto en el caso OF. Incrementar el contador de referencias también para no-OF para que el llamador pueda decrementarlo incondicionalmente. Tenga en cuenta que esto es inherentemente propenso a condiciones de carrera, al igual que lo es usar el dispositivo I2C devuelto, ya que nada impide que el controlador PHY sea desvinculado mientras está en uso.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-71145 changed 2026-08-05CVE Terms of Use
NVDCVE-2025-71145 changed 2026-07-30Public domain