CVE-2025-40347
Last modified
CVE-2025-40347 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 0.17% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= 6d36ecdbc4410e61a0e02adc5d3abeee22a8ffd3, < a649161526736f48bcc592e3a412e5bcd7dd9e24; >= 6d36ecdbc4410e61a0e02adc5d3abeee22a8ffd3, < 2781ca82ce8cad263d80b617addb727e6a84c9e5; >= 6d36ecdbc4410e61a0e02adc5d3abeee22a8ffd3, < 1f92f5bd057a4fad9dab6af17963cdd21e5da6ed; >= 6d36ecdbc4410e61a0e02adc5d3abeee22a8ffd3, < 2e55a49dc3b2a6b23329e4fbbd8a5feb20e220aa; >= 6d36ecdbc4410e61a0e02adc5d3abeee22a8ffd3, < 50bd33f6b3922a6b760aa30d409cae891cec8fb5; bf9c564716a13dde6a990d3b02c27cd6e39608bf; ff966263f5f9fdf9740f03fed0762ce73c230a6a; >= 5.10.24, < 5.11; >= 5.11.7, < 5.12 |
| Linux | Linux | 5.12 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2025-40347?
How severe is CVE-2025-40347?
How do I fix CVE-2025-40347?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-40341In the Linux kernel, the following vulnerability has been re…
- CVE-2025-40342In the Linux kernel, the following vulnerability has been re…8.8
- CVE-2025-40343In the Linux kernel, the following vulnerability has been re…9.8
- CVE-2025-40344In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-40345In the Linux kernel, the following vulnerability has been re…
- CVE-2025-40346In the Linux kernel, the following vulnerability has been re…
- CVE-2025-40348In the Linux kernel, the following vulnerability has been re…
- CVE-2025-40349In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-4035A flaw was found in libsoup. When handling cookies, libsoup …4.3
- CVE-2025-40350In the Linux kernel, the following vulnerability has been re…9.8
- CVE-2025-40351In the Linux kernel, the following vulnerability has been re…
- CVE-2025-40352In the Linux kernel, the following vulnerability has been re…
Are you affected by CVE-2025-40347?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
