VDB

CVE-2025-40347

CVE-2025-40347 PUBLISHED CVSS 7.5 HIGH

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.

PackageEcosystemFixed in
linux_kernellinux6.18, 6.17.6, 6.12.56, 6.6.115

Risk scores

CVSS 3.1
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS Score
0.57%
47.9th percentile

Affected products

VendorProductVersions
LinuxLinux6d36ecdbc4410e61a0e02adc5d3abeee22a8ffd3, 6d36ecdbc4410e61a0e02adc5d3abeee22a8ffd3, 6d36ecdbc4410e61a0e02adc5d3abeee22a8ffd3
LinuxLinux5.12, 0, 6.1.175
linuxlinux_kernel5.12, 5.12, 5.10.24
LinuxLinux*, 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

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›