Skip to main content
EPSS 0.5%top 58%

In the Linux kernel, the following vulnerability has been resolved: net: enetc: fix the deadlock of enetc_mdio_lock After applying the workaround… (CVE-2025-40347)

0
High
Published: 12/16/2025 (12/16/2025, 15:30:42 UTC)
Source: GCVE Database

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.

CVSS v3.1

Score 7.5high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/30/2026, 18:07:37 UTC

Technical Analysis

CVE-2025-40347 describes a deadlock vulnerability in the Linux kernel's enetc network driver. After applying a workaround for err050089, the LS1028A platform experiences RCU stalls on real-time kernels caused by recursive acquisition of the enetc_mdio_lock read lock. The deadlock occurs when enetc_poll acquires the read lock and a higher-priority writer attempts to acquire the same lock, leading to preemption and scheduling issues that cause thread hangs. The vulnerability is addressed by modifying enetc_lock_mdio to prevent recursive lock acquisition, thereby avoiding the deadlock condition.

Potential Impact

This vulnerability can cause denial of service through thread hangs and RCU stalls on affected systems using the LS1028A platform with real-time Linux kernels. There is no impact on confidentiality or integrity, but availability is severely affected due to deadlocks in kernel networking code.

Mitigation Recommendations

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-r9fm-4g8c-9hfh
Osv Schema Version
1.4.0
Aliases
["CVE-2025-40347"]
Database Specific Severity
HIGH
Cvss Version
3.1

Threat ID: 6a6b72d49c2644c7f8478c15

Added to database: 07/30/2026, 15:50:44 UTC

Last enriched: 07/30/2026, 18:07:37 UTC

Last updated: 09/10/2026, 19:38:48 UTC

Views: 10

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses