CVE-2025-40347

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.

Package Linux Kernel
Published 2025-12-16
Last modified 2026-06-01
Patch available
Yes

Affected versions

Linux kernel versions 5.10.24, 5.11.7, 5.12 and later are affected. Fixed in 6.1.175, 6.6.115, 6.12.56, 6.17.6, 6.18 and their respective stable series.

Affected from
≥ 5.10.24 ≥ 5.11.7 ≥ 5.12
Fixed in
✓ 6.1.175 6.1.x ✓ 6.6.115 6.6.x ✓ 6.12.56 6.12.x ✓ 6.17.6 6.17.x ✓ 6.18

References

The following references provide additional information about CVE-2025-40347 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.

Frequently asked questions

  • What is CVE-2025-40347?

    CVE-2025-40347 is a unscored severity Linux kernel vulnerability . It affects Linux kernel versions from 5.10.24 onward and has been patched in 6.1.175, 6.6.115, 6.12.56 and others. CVE-2025-40347 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.

  • Is there a patch available for CVE-2025-40347?

    Yes — CVE-2025-40347 has been patched. Fixed versions include 6.1.175, 6.6.115, 6.12.56 and others. If you are running Linux kernel 5.10.24 or later up to the fix versions, apply the relevant patch for your kernel branch.

  • Is CVE-2025-40347 actively exploited?

    No — CVE-2025-40347 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.