cbcvebase.
CVE-2025-40347
published 2025-12-16

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…

PriorityP337high7.5CVSS 3.1
AVNACLPRNUINSUCNINAH
EPSS
0.46%
37.5th percentile
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.

Affected

21 ranges
VendorProductVersion rangeFixed in
debianlinux< linux 6.17.6-1 (forky)linux 6.17.6-1 (forky)
linuxlinux
linuxlinux
linuxlinux
linuxlinux>= 5.10.24 < 5.115.11
linuxlinux>= 5.11.7 < 5.125.12
linuxlinux>= 6d36ecdbc4410e61a0e02adc5d3abeee22a8ffd3 < a649161526736f48bcc592e3a412e5bcd7dd9e24a649161526736f48bcc592e3a412e5bcd7dd9e24
linuxlinux>= 6d36ecdbc4410e61a0e02adc5d3abeee22a8ffd3 < 2781ca82ce8cad263d80b617addb727e6a84c9e52781ca82ce8cad263d80b617addb727e6a84c9e5
linuxlinux>= 6d36ecdbc4410e61a0e02adc5d3abeee22a8ffd3 < 1f92f5bd057a4fad9dab6af17963cdd21e5da6ed1f92f5bd057a4fad9dab6af17963cdd21e5da6ed
linuxlinux>= 6d36ecdbc4410e61a0e02adc5d3abeee22a8ffd3 < 2e55a49dc3b2a6b23329e4fbbd8a5feb20e220aa2e55a49dc3b2a6b23329e4fbbd8a5feb20e220aa
linuxlinux>= 6d36ecdbc4410e61a0e02adc5d3abeee22a8ffd3 < 50bd33f6b3922a6b760aa30d409cae891cec8fb550bd33f6b3922a6b760aa30d409cae891cec8fb5
linuxlinux_kernel>= 0 < 6.12.57-16.12.57-1
linuxlinux_kernel>= 0 < 6.17.6-16.17.6-1
linuxlinux_kernel>= 0 < 6.8.0-106.1066.8.0-106.106
linuxlinux_kernel>= 0 < 6.17.0-14.146.17.0-14.14
linuxlinux_kernel>= 5.12.0 < 6.6.1156.6.115
linuxlinux_kernel>= 6.13.0 < 6.17.66.17.6
linuxlinux_kernel>= 6.7.0 < 6.12.566.12.56
ubuntulinux-aws
ubuntulinux-oracle
ubuntulinux-xilinx

CVSS provenance

nvdv3.17.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
osv3.2LOW
vendor_ubuntu7.8HIGH
vendor_redhat5.5HIGH
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.