CVE-2025-39905

net: phylink: add lock for serializing concurrent pl->phydev writes with resolver

CVE-2025-39905 is fixed in 31 products on 1 platform, first by DEBIAN-CVE-2025-39905, released October 1, 2025. It is not reported as exploited. Patch Radar priority: High.

High
CVSS
7.8
Moderate
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0011
1st percentile

In the Linux kernel, the following vulnerability has been resolved: net: phylink: add lock for serializing concurrent pl->phydev writes with resolver Currently phylink_resolve() protects itself against concurrent phylink_bringup_phy() or phylink_disconnect_phy() calls which modify pl->phydev by relying on pl->state_mutex. The problem is that in phylink_resolve(), pl->state_mutex is in a lock inversion state with pl->phydev->lock. So pl->phydev->lock needs to be acquired prior to pl->state_mutex. But that requires dereferencing pl->phydev in the first place, and without pl->state_mutex, that is racy. Hence the reason for the extra lock. Currently it is redundant, but it will serve a functional purpose once mutex_lock(&phy->lock) will be moved outside of the mutex_lock(&pl->state_mutex) section. Another alternative considered would have been to let phylink_resolve() acquire the rtnl_mutex, which is also held when phylink_bringup_phy() and phylink_disconnect_phy() are called. But since phylink_disconnect_phy() runs under rtnl_lock(), it would deadlock with phylink_resolve() when calling flush_work(&pl->resolve). Additionally, it would have been undesirable because it would have unnecessarily blocked many other call paths as well in the entire kernel, so the smaller-scoped lock was preferred.

Where it's fixed

ProductFixed inFixReleased
Linux
kernel · RHEL 10 6.12.0-124.27.1.el10_1 RHSA-2026:0453 Dec 16, 2025
kernel · ol 10 0:6.12.0-124.27.1.el10_1 ELSA-2026-0453 Jan 12, 2026
kernel · rocky 10 0:6.12.0-124.27.1.el10_1 RLSA-2026:0453 Jan 17, 2026
kernel-abi-stablelists · almalinux 10 6.12.0-124.27.1.el10_1 ALSA-2026:0453 Jan 12, 2026
kernel-abi-stablelists · ol 10 0:6.12.0-124.27.1.el10_1 ELSA-2026-0453 Jan 12, 2026
kernel-core · ol 10 0:6.12.0-124.27.1.el10_1 ELSA-2026-0453 Jan 12, 2026
kernel-cross-headers · ol 10 0:6.12.0-124.27.1.el10_1 ELSA-2026-0453 Jan 12, 2026
kernel-debug · ol 10 0:6.12.0-124.27.1.el10_1 ELSA-2026-0453 Jan 12, 2026
kernel-debug-core · ol 10 0:6.12.0-124.27.1.el10_1 ELSA-2026-0453 Jan 12, 2026
kernel-debug-devel · ol 10 0:6.12.0-124.27.1.el10_1 ELSA-2026-0453 Jan 12, 2026
kernel-debug-devel-matched · ol 10 0:6.12.0-124.27.1.el10_1 ELSA-2026-0453 Jan 12, 2026
kernel-debug-modules · ol 10 0:6.12.0-124.27.1.el10_1 ELSA-2026-0453 Jan 12, 2026
kernel-debug-modules-core · ol 10 0:6.12.0-124.27.1.el10_1 ELSA-2026-0453 Jan 12, 2026
kernel-debug-modules-extra · ol 10 0:6.12.0-124.27.1.el10_1 ELSA-2026-0453 Jan 12, 2026
kernel-debug-uki-virt · ol 10 0:6.12.0-124.27.1.el10_1 ELSA-2026-0453 Jan 12, 2026
kernel-devel · ol 10 0:6.12.0-124.27.1.el10_1 ELSA-2026-0453 Jan 12, 2026
kernel-devel-matched · ol 10 0:6.12.0-124.27.1.el10_1 ELSA-2026-0453 Jan 12, 2026
kernel-doc · almalinux 10 6.12.0-124.27.1.el10_1 ALSA-2026:0453 Jan 12, 2026
kernel-doc · ol 10 0:6.12.0-124.27.1.el10_1 ELSA-2026-0453 Jan 12, 2026
kernel-headers · ol 10 0:6.12.0-124.27.1.el10_1 ELSA-2026-0453 Jan 12, 2026
kernel-modules · ol 10 0:6.12.0-124.27.1.el10_1 ELSA-2026-0453 Jan 12, 2026
kernel-modules-core · ol 10 0:6.12.0-124.27.1.el10_1 ELSA-2026-0453 Jan 12, 2026
kernel-modules-extra · ol 10 0:6.12.0-124.27.1.el10_1 ELSA-2026-0453 Jan 12, 2026
kernel-modules-extra-matched · ol 10 0:6.12.0-124.27.1.el10_1 ELSA-2026-0453 Jan 12, 2026
kernel-tools · ol 10 0:6.12.0-124.27.1.el10_1 ELSA-2026-0453 Jan 12, 2026
kernel-tools-libs · ol 10 0:6.12.0-124.27.1.el10_1 ELSA-2026-0453 Jan 12, 2026
kernel-tools-libs-devel · ol 10 0:6.12.0-124.27.1.el10_1 ELSA-2026-0453 Jan 12, 2026
kernel-uki-virt · ol 10 0:6.12.0-124.27.1.el10_1 ELSA-2026-0453 Jan 12, 2026
kernel-uki-virt-addons · ol 10 0:6.12.0-124.27.1.el10_1 ELSA-2026-0453 Jan 12, 2026
libperf · ol 10 0:6.12.0-124.27.1.el10_1 ELSA-2026-0453 Jan 12, 2026
linux · Debian 14 6.16.8-1 DEBIAN-CVE-2025-39905 Oct 1, 2025
perf · ol 10 0:6.12.0-124.27.1.el10_1 ELSA-2026-0453 Jan 12, 2026
python3-perf · ol 10 0:6.12.0-124.27.1.el10_1 ELSA-2026-0453 Jan 12, 2026
rtla · ol 10 0:6.12.0-124.27.1.el10_1 ELSA-2026-0453 Jan 12, 2026
rv · ol 10 0:6.12.0-124.27.1.el10_1 ELSA-2026-0453 Jan 12, 2026

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.