๐Ÿ” CVE Alert

CVE-2025-40347

UNKNOWN 0.0

net: enetc: fix the deadlock of enetc_mdio_lock

CVSS Score
0.0
EPSS Score
0.0%
EPSS Percentile
0th

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.

Vendor linux
Product linux
Ecosystems
Industries
Technology
Published Dec 16, 2025
Last Updated May 11, 2026
Stay Ahead of the Next One

Get instant alerts for linux linux

Be the first to know when new unknown vulnerabilities affecting linux linux are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

Affected Versions

Linux / Linux
6d36ecdbc4410e61a0e02adc5d3abeee22a8ffd3 < 2781ca82ce8cad263d80b617addb727e6a84c9e5 6d36ecdbc4410e61a0e02adc5d3abeee22a8ffd3 < 1f92f5bd057a4fad9dab6af17963cdd21e5da6ed 6d36ecdbc4410e61a0e02adc5d3abeee22a8ffd3 < 2e55a49dc3b2a6b23329e4fbbd8a5feb20e220aa 6d36ecdbc4410e61a0e02adc5d3abeee22a8ffd3 < 50bd33f6b3922a6b760aa30d409cae891cec8fb5 bf9c564716a13dde6a990d3b02c27cd6e39608bf ff966263f5f9fdf9740f03fed0762ce73c230a6a
Linux / Linux
5.12

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
git.kernel.org: https://git.kernel.org/stable/c/2781ca82ce8cad263d80b617addb727e6a84c9e5 git.kernel.org: https://git.kernel.org/stable/c/1f92f5bd057a4fad9dab6af17963cdd21e5da6ed git.kernel.org: https://git.kernel.org/stable/c/2e55a49dc3b2a6b23329e4fbbd8a5feb20e220aa git.kernel.org: https://git.kernel.org/stable/c/50bd33f6b3922a6b760aa30d409cae891cec8fb5