CVE-2025-38537
net: phy: Don't register LEDs for genphy
Check your servers for CVE-2025-38537
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-38537 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.
Description
In the Linux kernel, the following vulnerability has been resolved:
net: phy: Don't register LEDs for genphy
If a PHY has no driver, the genphy driver is probed/removed directly in phy_attach/detach. If the PHY's ofnode has an "leds" subnode, then the LEDs will be (un)registered when probing/removing the genphy driver. This could occur if the leds are for a non-generic driver that isn't loaded for whatever reason. Synchronously removing the PHY device in phy_detach leads to the following deadlock:
rtnl_lock() ndo_close() ... phy_detach() phy_remove() phy_leds_unregister() led_classdev_unregister() led_trigger_set() netdev_trigger_deactivate() unregister_netdevice_notifier() rtnl_lock()
There is a corresponding deadlock on the open/register side of things (and that one is reported by lockdep), but it requires a race while this one is deterministic.
Generic PHYs do not support LEDs anyway, so don't bother registering them.
Exploitation
EPSS 0.18%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 7.66% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 5 Nov 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 01e5b728e9e43ae444e0369695a5f72209906464, before ec158d05eaa91b2809cab65f8068290e3c05ebdd affected from 01e5b728e9e43ae444e0369695a5f72209906464, before fd6493533af9e5d73d0d42ff2a8ded978a701dc6 affected from 01e5b728e9e43ae444e0369695a5f72209906464, before 75e1b2079ef0653a2f7aa69be515d86b7faf1908 affected from 01e5b728e9e43ae444e0369695a5f72209906464, before f0f2b992d8185a0366be951685e08643aae17d6d
Other versions: unaffected
|
| Linux |
affected 6.4 unaffected before 6.4 unaffected from 6.6.100 up to and including 6.6.* unaffected from 6.12.40 up to and including 6.12.* unaffected from 6.15.8 up to and including 6.15.* unaffected 6.16 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-38537 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-38537
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-38537
trivy image --scanners vuln IMAGE | grep CVE-2025-38537
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
- https://git.kernel.org/stable/c/ec158d05eaa91b2809cab65f8068290e3c05ebdd git.kernel.org
- https://git.kernel.org/stable/c/fd6493533af9e5d73d0d42ff2a8ded978a701dc6 git.kernel.org
- https://git.kernel.org/stable/c/75e1b2079ef0653a2f7aa69be515d86b7faf1908 git.kernel.org
- https://git.kernel.org/stable/c/f0f2b992d8185a0366be951685e08643aae17d6d git.kernel.org
Source: the record CVE-2025-38537 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse