CVE-2025-40347
Gravedad CVSS v3.1:
ALTA
Tipo:
No Disponible / Otro tipo
Fecha de publicación:
16/12/2025
Última modificación:
30/07/2026
Descripción
*** Pendiente de traducción *** In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
net: enetc: fix the deadlock of enetc_mdio_lock<br />
<br />
After applying the workaround for err050089, the LS1028A platform<br />
experiences RCU stalls on RT kernel. This issue is caused by the<br />
recursive acquisition of the read lock enetc_mdio_lock. Here list some<br />
of the call stacks identified under the enetc_poll path that may lead to<br />
a deadlock:<br />
<br />
enetc_poll<br />
-> enetc_lock_mdio<br />
-> enetc_clean_rx_ring OR napi_complete_done<br />
-> napi_gro_receive<br />
-> enetc_start_xmit<br />
-> enetc_lock_mdio<br />
-> enetc_map_tx_buffs<br />
-> enetc_unlock_mdio<br />
-> enetc_unlock_mdio<br />
<br />
After enetc_poll acquires the read lock, a higher-priority writer attempts<br />
to acquire the lock, causing preemption. The writer detects that a<br />
read lock is already held and is scheduled out. However, readers under<br />
enetc_poll cannot acquire the read lock again because a writer is already<br />
waiting, leading to a thread hang.<br />
<br />
Currently, the deadlock is avoided by adjusting enetc_lock_mdio to prevent<br />
recursive lock acquisition.
Impacto
Puntuación base 3.x
7.50
Gravedad 3.x
ALTA
Referencias a soluciones, herramientas e información
- https://git.kernel.org/stable/c/1f92f5bd057a4fad9dab6af17963cdd21e5da6ed
- https://git.kernel.org/stable/c/2781ca82ce8cad263d80b617addb727e6a84c9e5
- https://git.kernel.org/stable/c/2e55a49dc3b2a6b23329e4fbbd8a5feb20e220aa
- https://git.kernel.org/stable/c/50bd33f6b3922a6b760aa30d409cae891cec8fb5
- https://git.kernel.org/stable/c/a649161526736f48bcc592e3a412e5bcd7dd9e24


