CVE-2025-40120

net: usb: asix: hold PM usage ref to avoid PM/MDIO + RTNL deadlock

No CVSS score yet EPSS 0.22%

Published 12 Nov 2025 Updated 11 May 2026 CNA: Linux

Check your servers for CVE-2025-40120

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-40120 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

In the Linux kernel, the following vulnerability has been resolved:

net: usb: asix: hold PM usage ref to avoid PM/MDIO + RTNL deadlock

Prevent USB runtime PM (autosuspend) for AX88772* in bind.

usbnet enables runtime PM (autosuspend) by default, so disabling it via the usb_driver flag is ineffective. On AX88772B, autosuspend shows no measurable power saving with current driver (no link partner, admin up/down). The ~0.453 W -> ~0.248 W drop on v6.1 comes from phylib powering the PHY off on admin-down, not from USB autosuspend.

The real hazard is that with runtime PM enabled, ndo_open() (under RTNL) may synchronously trigger autoresume (usb_autopm_get_interface()) into asix_resume() while the USB PM lock is held. Resume paths then invoke phylink/phylib and MDIO, which also expect RTNL, leading to possible deadlocks or PM lock vs MDIO wake issues.

To avoid this, keep the device runtime-PM active by taking a usage reference in ax88772_bind() and dropping it in unbind(). A non-zero PM usage count blocks runtime suspend regardless of userspace policy (.../power/control - pm_runtime_allow/forbid), making this approach robust against sysfs overrides.

Holding a runtime-PM usage ref does not affect system-wide suspend; system sleep/resume callbacks continue to run as before.

Exploitation

EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 13.5% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 4a2c7217cd5a87e85ceb761e307b030fe6db4805, before 71a0ba7fdaf8d035426912a4ed7bf1738a81010c
affected from 4a2c7217cd5a87e85ceb761e307b030fe6db4805, before 3e96cd27ff1a004d84908c1b6cc68ac60913874e
affected from 4a2c7217cd5a87e85ceb761e307b030fe6db4805, before 724a9db84188f80ef60b1f21cc7b4e9c84e0cb64
affected from 4a2c7217cd5a87e85ceb761e307b030fe6db4805, before 1534517300e12f2930b6ff477b8820ff658afd11
affected from 4a2c7217cd5a87e85ceb761e307b030fe6db4805, before 9d8bcaf6fae1bd82bc27ec09a2694497e6f6c4b4
affected from 4a2c7217cd5a87e85ceb761e307b030fe6db4805, before 3d3c4cd5c62f24bb3cb4511b7a95df707635e00a
Other versions: unaffected
Linux
affected 5.14
unaffected before 5.14
unaffected from 5.15.195 up to and including 5.15.*
unaffected from 6.1.156 up to and including 6.1.*
unaffected from 6.6.112 up to and including 6.6.*
unaffected from 6.12.53 up to and including 6.12.*
unaffected from 6.17.3 up to and including 6.17.*
unaffected 6.18 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-40120 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-40120

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2025-40120
trivy image --scanners vuln IMAGE | grep CVE-2025-40120

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2025-40120 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.