CVE-2025-40347
net: enetc: fix the deadlock of enetc_mdio_lock
Reported by linux · Published December 16, 2025
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.
EPSS 0.57% · 47.9th percentile
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| linux_kernel | linux | 6.18, 6.17.6, 6.12.56, 6.6.115 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 6d36ecdbc4410e61a0e02adc5d3abeee22a8ffd3, 6d36ecdbc4410e61a0e02adc5d3abeee22a8ffd3, 6d36ecdbc4410e61a0e02adc5d3abeee22a8ffd3 |
| Linux | Linux | 5.12, 0, 6.1.175 |
| linux | linux_kernel | 5.12, 5.12, 5.10.24 |
| Linux | Linux | *, 6d36ecdbc4410e61a0e02adc5d3abeee22a8ffd3, 6d36ecdbc4410e61a0e02adc5d3abeee22a8ffd3 |
Timeline
- Dec 16, 2025 CVE Published
- Dec 17, 2025 EPSS Score (30 in total, the first dated here)
- Mar 29, 2026 Distribution Patch (205 in total, the first dated here)
- Mar 29, 2026 Security Advisory (211 in total, the first dated here)
- Jun 8, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-40347
vulnetix vdb fixes CVE-2025-40347
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-40347/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart