CVE-2025-40347 (CNNVD-202512-2995)
中文标题:
Linux kernel 安全漏洞
英文标题:
net: enetc: fix the deadlock of enetc_mdio_lock
漏洞描述
中文描述:
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于enetc_mdio_lock死锁问题,可能导致线程挂起。
英文描述:
In the Linux kernel, the following vulnerability has been resolved: net: enetc: fix the deadlock of enetc_mdio_lock After applying the workaround for err050089, the LS1028A platform experiences RCU stalls on RT kernel. This issue is caused by the recursive acquisition of the read lock enetc_mdio_lock. Here list some of the call stacks identified under the enetc_poll path that may lead to a deadlock: enetc_poll -> enetc_lock_mdio -> enetc_clean_rx_ring OR napi_complete_done -> napi_gro_receive -> enetc_start_xmit -> enetc_lock_mdio -> enetc_map_tx_buffs -> enetc_unlock_mdio -> enetc_unlock_mdio After enetc_poll acquires the read lock, a higher-priority writer attempts to acquire the lock, causing preemption. The writer detects that a read lock is already held and is scheduled out. However, readers under enetc_poll cannot acquire the read lock again because a writer is already waiting, leading to a thread hang. Currently, the deadlock is avoided by adjusting enetc_lock_mdio to prevent recursive lock acquisition.
CWE类型:
标签:
受影响产品
| 厂商 | 产品 | 版本 | 版本范围 | 平台 | CPE |
|---|---|---|---|---|---|
| Linux | Linux | bf9c564716a13dde6a990d3b02c27cd6e39608bf | - | - |
cpe:2.3:a:linux:linux:bf9c564716a13dde6a990d3b02c27cd6e39608bf:*:*:*:*:*:*:*
|
| Linux | Linux | ff966263f5f9fdf9740f03fed0762ce73c230a6a | - | - |
cpe:2.3:a:linux:linux:ff966263f5f9fdf9740f03fed0762ce73c230a6a:*:*:*:*:*:*:*
|
| Linux | Linux | 5.12 | - | - |
cpe:2.3:a:linux:linux:5.12:*:*:*:*:*:*:*
|
解决方案
中文解决方案:
英文解决方案:
临时解决方案:
CVSS评分详情
时间信息
利用信息
数据源详情
| 数据源 | 记录ID | 版本 | 提取时间 |
|---|---|---|---|
| CVE | cve_CVE-2025-40347 |
2025-12-19 03:24:49 | 2026-01-12 02:11:48 |
| NVD | nvd_CVE-2025-40347 |
2025-12-19 03:25:38 | 2026-01-12 02:27:47 |
| CNNVD | cnnvd_CNNVD-202512-2995 |
2026-01-11 06:15:03 | 2026-01-12 02:38:01 |
版本与语言
安全公告
变更历史
查看详细变更
- vulnerability_type: 未提取 -> 其他
- severity: SeverityLevel.MEDIUM -> SeverityLevel.UNKNOWN
- cvss_score: 未提取 -> 0.0
- cnnvd_id: 未提取 -> CNNVD-202512-2995
- data_sources: ['cve', 'nvd'] -> ['cnnvd', 'cve', 'nvd']
查看详细变更
- data_sources: ['cve'] -> ['cve', 'nvd']