CVE-2025-40347: 
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2025-40347 is a deadlock vulnerability in the Linux kernel's ENETC (NXP Ethernet Controller) network driver, specifically in the enetc_mdio_lock read-write lock handling. The flaw affects the LS1028A platform running an RT (real-time) kernel and is triggered by recursive acquisition of the enetc_mdio_lock read lock within the enetc_poll path, causing RCU stalls and thread hangs. It was published on December 16, 2025, and affects Linux kernel versions from commit 6d36ecdbc441 up to the patched stable releases (6.6.115, 6.12.56, 6.17.6, and 6.18). No CVSS score has been assigned at this time (Feedly, EUVD).

Technical details

The root cause is a deadlock condition (CWE-667: Improper Locking) arising from recursive acquisition of the enetc_mdio_lock read lock in the Linux kernel's ENETC driver. Under the enetc_poll path, after the read lock is acquired, a higher-priority writer attempts to acquire the same lock and is preempted; subsequent readers in the same call chain (e.g., via napi_gro_receive → enetc_start_xmit → enetc_lock_mdio) cannot re-acquire the read lock because the writer is already waiting, resulting in a thread hang. The fix adjusts enetc_lock_mdio to detect and prevent recursive lock acquisition, resolving the deadlock (Feedly, EUVD).

Impact

Successful triggering of this vulnerability causes a kernel deadlock and RCU stalls on affected LS1028A systems running an RT kernel, resulting in a denial of service (system hang or unresponsive network subsystem). The impact is limited to availability — there is no evidence of confidentiality or integrity compromise. Systems relying on the ENETC driver for network connectivity would experience complete loss of network functionality until the deadlock is resolved, typically requiring a reboot (Feedly).

Exploitability

There is no known public exploit code, active in-the-wild exploitation, or threat actor attribution associated with CVE-2025-40347. The EPSS score is approximately 0.018% (0.000180), indicating a very low probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation would require local access or the ability to generate specific network traffic patterns on an affected LS1028A RT kernel system (Feedly).

Mitigation and workarounds

The Linux kernel maintainers have released patches across multiple stable branches. The fix is included in kernel versions 6.6.115, 6.12.56, 6.17.6, and 6.18. Users should update to one of these patched versions. The fix modifies enetc_lock_mdio to prevent recursive lock acquisition, eliminating the deadlock condition. Patch commits are available at the kernel stable repository (EUVD, Feedly).

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Fixed

bookworm

linux: 6.1.176-1

Fixed

sid

linux: 6.17.6-1

Fixed

trixie

linux: 6.12.57-1

Fixed

Ubuntu

Fixed

bionic

linux

Not Affected

bionic (esm-infra)

linux

Not Affected

bionic (fips-updates)

linux-fips

Not Affected

bionic (fips)

linux-fips

Not Affected

devel

linux

Not Affected

focal

linux

Not Affected

focal (esm-infra)

linux-hwe-5.15

Affected

focal (fips-updates)

linux-fips

Not Affected

RHEL / CentOS

Affected

RHEL 8

Not Affected

RHEL 9

Not Affected

RHEL 10

kernel.src

Affected

Source: This report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-99099NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-modules
NoYesOct 26, 2026
CVE-2026-99098NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-64k-debug
NoYesOct 26, 2026
CVE-2026-99097NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-core
NoYesOct 26, 2026
CVE-2026-99096NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-debug
NoYesOct 26, 2026
CVE-2026-99094NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-64k-core
NoYesOct 26, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management