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)
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.
AI Analysis
Technical Summary
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.
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)
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
AI-Powered Analysis
Machine-generated threat intelligence
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.
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 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.