目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1000

100.0%

CVE-2025-39915— Linux kernel 安全漏洞

EPSS 0.01% · P3

影响版本矩阵 6

厂商产品版本范围状态
LinuxLinux5fd0f1a02e750e2db4038dee60edea669ce5aab1< 052ac41c379c8b87629808be612a482b2d0ae283affected
5fd0f1a02e750e2db4038dee60edea669ce5aab1< e2a10daba84968f6b5777d150985fd7d6abc9c84affected
6.14affected
< 6.14unaffected
6.16.8≤ 6.16.*unaffected
6.17≤ *unaffected
获取后续新漏洞提醒登录后订阅

一、 漏洞 CVE-2025-39915 基础信息

漏洞信息

对漏洞内容有疑问?看看神龙的深度分析是否有帮助!
查看神龙十问 ↗

尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。

Vulnerability Title
net: phy: transfer phy_config_inband() locking responsibility to phylink
来源: 美国国家漏洞数据库 NVD
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: net: phy: transfer phy_config_inband() locking responsibility to phylink Problem description =================== Lockdep reports a possible circular locking dependency (AB/BA) between &pl->state_mutex and &phy->lock, as follows. phylink_resolve() // acquires &pl->state_mutex -> phylink_major_config() -> phy_config_inband() // acquires &pl->phydev->lock whereas all the other call sites where &pl->state_mutex and &pl->phydev->lock have the locking scheme reversed. Everywhere else, &pl->phydev->lock is acquired at the top level, and &pl->state_mutex at the lower level. A clear example is phylink_bringup_phy(). The outlier is the newly introduced phy_config_inband() and the existing lock order is the correct one. To understand why it cannot be the other way around, it is sufficient to consider phylink_phy_change(), phylink's callback from the PHY device's phy->phy_link_change() virtual method, invoked by the PHY state machine. phy_link_up() and phy_link_down(), the (indirect) callers of phylink_phy_change(), are called with &phydev->lock acquired. Then phylink_phy_change() acquires its own &pl->state_mutex, to serialize changes made to its pl->phy_state and pl->link_config. So all other instances of &pl->state_mutex and &phydev->lock must be consistent with this order. Problem impact ============== I think the kernel runs a serious deadlock risk if an existing phylink_resolve() thread, which results in a phy_config_inband() call, is concurrent with a phy_link_up() or phy_link_down() call, which will deadlock on &pl->state_mutex in phylink_phy_change(). Practically speaking, the impact may be limited by the slow speed of the medium auto-negotiation protocol, which makes it unlikely for the current state to still be unresolved when a new one is detected, but I think the problem is there. Nonetheless, the problem was discovered using lockdep. Proposed solution ================= Practically speaking, the phy_config_inband() requirement of having phydev->lock acquired must transfer to the caller (phylink is the only caller). There, it must bubble up until immediately before &pl->state_mutex is acquired, for the cases where that takes place. Solution details, considerations, notes ======================================= This is the phy_config_inband() call graph: sfp_upstream_ops :: connect_phy() | v phylink_sfp_connect_phy() | v phylink_sfp_config_phy() | | sfp_upstream_ops :: module_insert() | | | v | phylink_sfp_module_insert() | | | | sfp_upstream_ops :: module_start() | | | | | v | | phylink_sfp_module_start() | | | | v v | phylink_sfp_config_optical() phylink_start() | | | phylink_resume() v v | | phylink_sfp_set_config() | | | v v v phylink_mac_initial_config() | phylink_resolve() | | phylink_ethtool_ksettings_set() v v v phylink_major_config() | v phy_config_inband() phylink_major_config() caller #1, phylink_mac_initial_config(), does not acquire &pl->state_mutex nor do its callers. It must acquire &pl->phydev->lock prior to calling phylink_major_config(). phylink_major_config() caller #2, phylink_resolve() acquires &pl->state_mutex, thus also needs to acquire &pl->phydev->lock. phylink_major_config() caller #3, phylink_ethtool_ksettings_set(), is completely uninteresting, because it only call ---truncated---
来源: 美国国家漏洞数据库 NVD
CVSS Information
N/A
来源: 美国国家漏洞数据库 NVD
Vulnerability Type
N/A
来源: 美国国家漏洞数据库 NVD
Vulnerability Title
Linux kernel 安全漏洞
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Description
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于锁定顺序不当,可能导致死锁。
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

受影响产品

厂商产品影响版本CPE订阅
LinuxLinux 5fd0f1a02e750e2db4038dee60edea669ce5aab1 ~ 052ac41c379c8b87629808be612a482b2d0ae283 -
LinuxLinux 6.14 -

二、漏洞 CVE-2025-39915 的公开POC

#POC 描述源链接神龙链接
AI 生成 POC高级

未找到公开 POC。

登录以生成 AI POC

三、漏洞 CVE-2025-39915 的情报信息

登录查看更多情报信息。

同批安全公告 · Linux · 2025-10-01 · 共 169 条

CVE-2022-50462Linux kernel 安全漏洞
CVE-2022-50452Linux kernel 安全漏洞
CVE-2022-50451Linux kernel 安全漏洞
CVE-2022-50453Linux kernel 安全漏洞
CVE-2022-50454Linux kernel 安全漏洞
CVE-2022-50457Linux kernel 安全漏洞
CVE-2022-50456Linux kernel 安全漏洞
CVE-2022-50458Linux kernel 安全漏洞
CVE-2022-50460Linux kernel 安全漏洞
CVE-2022-50459Linux kernel 安全漏洞
CVE-2022-50461Linux kernel 安全漏洞
CVE-2022-50467Linux kernel 安全漏洞
CVE-2023-53488Linux kernel 安全漏洞
CVE-2023-53489Linux kernel 安全漏洞
CVE-2022-50469Linux kernel 安全漏洞
CVE-2022-50468Linux kernel 安全漏洞
CVE-2022-50465Linux kernel 安全漏洞
CVE-2022-50463Linux kernel 安全漏洞
CVE-2022-50464Linux kernel 安全漏洞
CVE-2022-50448Linux kernel 安全漏洞

显示前 20 条,共 169 条。 查看全部 &rarr; →

IV. Related Vulnerabilities

V. Comments for CVE-2025-39915

暂无评论


发表评论