CVE-2025-40347: Linux kernel · net: enetc: fix the deadlock of enetc_mdio_lock
Source GCVE Database
Not known to be exploited · CVSS 7.5 High.
Data as of 26 Oct 2026, 13:47 UTC
- EPSS
- 0.5% chance of exploitation in 30 days – higher than 44% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 16 Dec 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
AI-suggested
A fix is available that adjusts the enetc_lock_mdio function to prevent recursive lock acquisition and thus avoid deadlocks. Users should apply the official Linux kernel patch that resolves this issue. Patch status is not explicitly stated here; verify with the Linux kernel vendor advisory for the exact fixed versions and apply updates accordingly.
Description
A deadlock vulnerability in the Linux kernel's enetc network driver was resolved. The issue occurs due to recursive acquisition of the enetc_mdio_lock read lock, leading to thread hangs on the LS1028A platform with RT kernels after a specific workaround was applied. The deadlock arises when a higher-priority writer waits on the lock while readers attempt recursive acquisition, causing a hang. The fix prevents recursive lock acquisition to avoid the deadlock.
References
- nvd.nist.gov/vuln/detail/CVE-2025-40347 (opens in a new tab)
- git.kernel.org/stable/c/1f92f5bd057a4fad9dab6af17963cdd21e5da6ed (opens in a new tab)
- git.kernel.org/stable/c/2781ca82ce8cad263d80b617addb727e6a84c9e5 (opens in a new tab)
- git.kernel.org/stable/c/2e55a49dc3b2a6b23329e4fbbd8a5feb20e220aa (opens in a new tab)
- git.kernel.org/stable/c/50bd33f6b3922a6b760aa30d409cae891cec8fb5 (opens in a new tab)
- git.kernel.org/stable/c/a649161526736f48bcc592e3a412e5bcd7dd9e24 (opens in a new tab)