7.5

CVE-2025-40347: net: enetc: fix the deadlock of enetc_mdio_lock

Deferred
AliasesUBUNTU-CVE-2025-40347DEBIAN-CVE-2025-40347
Published 16-12-2025Last modified 05-08-2026

Vulnerability summary

CVE-2025-40347 is a high (CVSS 7.5) vulnerability in linux. EPSS estimates a 0.57% chance of exploitation in the next 30 days, higher than 47.8% of scored vulnerabilities.

Priority
Prioritisesevere

Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 20-11-2026)

Source freshness unavailable

How is this decided?
CVSS score
7.5/10
010
High · v3.1 (CVE.org)
EPSS score
0.57%
0%100%
Low · +0.04 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 29 · Related 27

Timeline

  1. 16-12-2025
    PublishedVulnerability first disclosed.
  2. 05-08-2026
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

5 scores · 4 sources · 2 versions

EPSS trend

Probability

0.57%

Chance of exploitation in the next 30 days

Percentile

48%

Versus all other CVEs

30-day change

Increase +0.04 pp

From 0.53% on 21-10-2026

21-10-202620-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

No weakness data has been published for this record.

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu143 products
  • linuxAll versions (No fix recorded) | < 6.8.0-106.106 | < 6.17.0-14.14
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-awsAll versions (No fix recorded) | < 6.8.0-1050.53 | < 6.17.0-1007.7
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Debian1 product
  • linux< 6.1.176-1 | < 6.12.57-1 | < 6.17.6-1
Linux1 product
  • linux≥ 6d36ecdbc4410e61a0e02adc5d3abeee22a8ffd3, < a649161526736f48bcc592e3a412e5bcd7dd9e24 | ≥ 6d36ecdbc4410e61a0e02adc5d3abeee22a8ffd3, < 2781ca82ce8cad263d80b617addb727e6a84c9e5 | ≥ 6d36ecdbc4410e61a0e02adc5d3abeee22a8ffd3, < 1f92f5bd057a4fad9dab6af17963cdd21e5da6ed | ≥ 6d36ecdbc4410e61a0e02adc5d3abeee22a8ffd3, < 2e55a49dc3b2a6b23329e4fbbd8a5feb20e220aa | ≥ 6d36ecdbc4410e61a0e02adc5d3abeee22a8ffd3, < 50bd33f6b3922a6b760aa30d409cae891cec8fb5 | bf9c564716a13dde6a990d3b02c27cd6e39608bf | ff966263f5f9fdf9740f03fed0762ce73c230a6a | ≥ 5.10.24, < 5.11 | ≥ 5.11.7, < 5.12 | 5.12

3 vendors · 145 products

References

24 links
Show all 24 references