Skip to main content

Linux Kernel CVE-2025-40347

HIGH
2025-12-16 416baaa9-dc9f-4396-8d5f-8c081fb06d67
7.5
CVSS 3.1 · Vendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Sustained traffic on LS1028A enetc NIC
  2. Delivery
    enetc_poll acquires MDIO read lock
  3. Exploit
    RT writer queues and preempts reader
  4. Execution
    Nested read lock in TX path blocks
  5. Persist
    RCU stall and CPU/interface hang
  6. Impact
    Denial of service

Vulnerability Assessment

Exploitation Conditions

Requires the specific NXP LS1028A (Layerscape) platform running the enetc Ethernet driver, a PREEMPT_RT kernel (real-time locking semantics are what convert the recursive read lock into a deadlock), and the err050089 MDIO workaround being active. The trigger is concurrent MDIO-lock contention during NAPI polling - enetc_poll holds the read lock while napi_gro_receive -> enetc_start_xmit re-acquires it, coinciding with a waiting higher-priority writer. Limiting factors: non-RT (standard preemption) kernels are not affected in the same way; non-LS1028A hardware is unaffected; and it is self-triggered under load rather than driven by a specially crafted remote input, so despite the AV:N CVSS metric there is no confirmed remote attacker-controlled trigger vector.

Impact

The NVD CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, 7.5 High) is availability-only and reflects the DoS nature, but the 'network/low-complexity/no-privilege' metrics overstate attacker control: the description shows a self-induced deadlock arising from ordinary RX/TX processing on specific hardware, not a crafted-packet trigger, so real-world exploitability is far narrower than AV:N implies. This is corroborated by the near-zero EPSS (0.03%), absence from CISA KEV, and no known POC. Note two data conflicts to verify: the feed tag says 'Information Disclosure' yet the CVSS impact is A:H with C:N/I:N (no confidentiality/integrity) - the tag appears mislabeled; and CVSS AV:N contradicts the description's requirement for specific NXP LS1028A hardware plus a PREEMPT_RT kernel with the err050089 workaround active. Practical priority is low-to-moderate and confined to LS1028A RT deployments; for general server/desktop fleets this is not a meaningful threat.

Exploit ScenarioDerived

On an LS1028A board running a PREEMPT_RT kernel with the err050089 workaround, sustained Ethernet traffic drives the enetc_poll NAPI loop, which takes the MDIO read lock and then re-enters it via the transmit path; a higher-priority writer thread queues for the lock at the wrong moment and the nested reader can no longer proceed. The CPU stalls, RCU reports a stall, and the network interface (or the node) hangs, causing an availability outage. No attacker code is required and no public exploit exists - the condition arises from normal operation, so an adversary's only lever is generating enough traffic on a susceptible platform.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 30, 2026

Denial of service in the Linux kernel's NXP ENETC Ethernet driver (enetc) on Layerscape LS1028A platforms allows the CPU to hang under normal network load, causing RCU stalls on PREEMPT_RT kernels. The flaw stems from recursive acquisition of the read-side enetc_mdio_lock in the enetc_poll NAPI path, which deadlocks when a higher-priority writer is queued between two reader acquisitions. No public exploit identified at time of analysis; EPSS is very low (0.03%, 8th percentile) and it is not CISA KEV listed, consistent with a reliability/self-triggered availability bug rather than an attacker-weaponized flaw.

RemediationAI

Upstream fix available (commits in the stable tree); a specific released/tagged kernel version was not independently confirmed from the provided data. Update to a stable kernel release that includes the enetc_mdio_lock recursion fix by cherry-picking or upgrading to a build containing one of the referenced commits (git.kernel.org/stable/c/1f92f5bd057a4fad9dab6af17963cdd21e5da6ed and the four sibling commits) for your kernel branch. As an interim compensating control on LS1028A RT systems, you can run a non-PREEMPT_RT (mainline/standard preemption) kernel where the recursive rwlock does not deadlock - trade-off: loss of real-time latency guarantees; or, if the err050089 erratum does not affect your specific silicon revision or usage, evaluate with NXP whether the MDIO workaround can be disabled - trade-off: risk of the underlying MDIO/PHY access erratum resurfacing. Confirm the exact patched version with NXP/kernel maintainers before deploying.

Affected ProductsAI

The Linux kernel's Freescale/NXP enetc Ethernet driver as used on the NXP LS1028A (Layerscape) platform, specifically affecting PREEMPT_RT (real-time) kernel configurations where the err050089 MDIO workaround is applied. Exact vulnerable version ranges were not enumerated in the feed (no CPE strings and no NVD-assigned version data were provided); affected/fixed branches must be derived from the stable-tree commits. Fix commits are published at git.kernel.org/stable/c/1f92f5bd057a4fad9dab6af17963cdd21e5da6ed, /2781ca82ce8cad263d80b617addb727e6a84c9e5, /2e55a49dc3b2a6b23329e4fbbd8a5feb20e220aa, /50bd33f6b3922a6b760aa30d409cae891cec8fb5, and /a649161526736f48bcc592e3a412e5bcd7dd9e24, indicating backports across multiple stable series.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The affected component is drivers/net/ethernet/freescale/enetc, the driver for NXP's ENETC integrated Ethernet controller found on the LS1028A SoC. To work around hardware erratum err050089, the driver serializes MDIO register access with a reader/writer lock (enetc_mdio_lock). The bug is a classic recursive/reentrant read-lock deadlock (CWE-667 improper locking / CWE-833 deadlock, though no CWE was assigned in the feed): enetc_poll takes the read lock, then within the same call chain napi_gro_receive -> enetc_start_xmit re-enters enetc_lock_mdio to take the read lock again. On a PREEMPT_RT kernel, rwlocks are converted to priority-inheriting sleeping locks that do not permit an unbounded number of concurrent readers when a writer is waiting, so a preempting writer parks the first reader and the second (nested) reader can no longer be granted - producing a thread hang and RCU stall. The upstream fix adjusts enetc_lock_mdio to avoid the recursive acquisition.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 5.1 MEDIUM

Self-triggered deadlock needs LS1028A hardware plus a PREEMPT_RT kernel and a lock-timing race (AV:L, AC:H); no attacker privileges but availability-only impact (A:H, C:N/I:N).

3.1 AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:L/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE 5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Red Hat 5.5 HIGH

Primary rating from Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67).

CVSS VectorVendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

3
CVSS changed
Jul 30, 2026 - 06:37 NVD
7.5 (HIGH)
CVE Published
Dec 16, 2025 - 14:15 cve.org
HIGH 7.5
CVE Published
Dec 16, 2025 - 14:15 nvd
UNKNOWN (no severity yet)

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

A denial-of-service flaw in Layerscape LS1028A embedded network hardware can cause system hangs during normal operations, disrupting services on affected devices. Organizations using NXP LS1028A platforms on PREEMPT_RT kernels face availability risk; while no active exploitation has been observed and real-world exploitation likelihood is minimal (0.03% EPSS), affected companies must inventory exposure and prepare mitigation strategies.

Business Impact: Medium
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations include: disabling PREEMPT_RT kernel functionality where business requirements permit and using standard kernel builds; implementing network rate limiting and load management to reduce driver stress on affected systems; deploying monitoring and alerting for RCU stalls with automated recovery procedures; and network segmentation or isolation of affected devices from heavy traffic where operationally feasible.

Threat Intelligence Overview

EPSS Score
0.0%
Top 92% exploitable
Prevalence
Low
enetc driver bug specific to NXP LS1028A SoC on RT kernels
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
Medium

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
Container suse/sl-micro/6.0/baremetal-os-container:latest Affected
Container suse/sl-micro/6.0/base-os-container:2.1.3-7.95 Image SL-Micro Affected
Container suse/sl-micro/6.0/kvm-os-container:2.1.3-6.115 Affected
Container suse/sl-micro/6.0/rt-os-container:2.1.3-7.146 Affected
Container suse/sl-micro/6.0/toolbox:latest Affected

References

Advisories & patches
ADVISORY https://vuldb.com/vuln/336724 ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:0278/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:0281/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:0315/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20207/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20220/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20228/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20477/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20479/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20498/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20520/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20564/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20772/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20794/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20819/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20845/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20872/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20876/ REF https://git.kernel.org/stable/c/1f92f5bd057a4fad9dab6af17963cdd21e5da6ed REF https://git.kernel.org/stable/c/2781ca82ce8cad263d80b617addb727e6a84c9e5 REF https://git.kernel.org/stable/c/2e55a49dc3b2a6b23329e4fbbd8a5feb20e220aa REF https://git.kernel.org/stable/c/50bd33f6b3922a6b760aa30d409cae891cec8fb5 REF https://git.kernel.org/stable/c/a649161526736f48bcc592e3a412e5bcd7dd9e24

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy