CVE-2025-38114
JSON

5.5medium

e1000: Move cancel_work_sync to avoid deadlock

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.13% (higher than 2% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: e1000: Move cancel_work_sync to avoid deadlock Previously, e1000_down called cancel_work_sync for the e1000 reset task (via e1000_down_and_stop), which takes RTNL. As reported by users and syzbot, a deadlock is possible in the following scenario: CPU 0: - RTNL is held - e1000_close - e1000_down - cancel_work_sync (cancel / wait for e1000_reset_task()) CPU 1: - process_one_work - e1000_reset_task - take RTNL To remedy this, avoid calling cancel_work_sync from e1000_down (e1000_reset_task does nothing if the device is down anyway). Instead, call cancel_work_sync for e1000_reset_task when the device is being removed.

Affected

Product or packageVersionsReported by
Linux Linuxfrom e400c7444d84b0fd2ebb34e618f83abe05917543 before 1fd4438ddcc4958ed24662d5125114299e19bae4, from e400c7444d84b0fd2ebb34e618f83abe05917543 before b4a8085ceefb7bbb12c2b71c55e71fc946c6929f, 6.13
Not affected: before 6.13, from 6.15.3 up to 6.15.*, from 6.16 up to *
CVE List
linux linux_kernelfrom 6.13 before 6.15.3, 6.16NVD

Classification

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: e1000: Move cancel_work_sync to avoid deadlock Previously, e1000_down called cancel_work_sync for the e1000 reset task (via e1000_down_and_stop), which takes RTNL. As reported by users and syzbot, a deadlock is possible in the following scenario: CPU 0: - RTNL is held - e1000_close - e1000_down - cancel_work_sync (cancel / wait for e1000_reset_task()) CPU 1: - process_one_work - e1000_reset_task - take RTNL To remedy this, avoid calling cancel_work_sync from e1000_down (e1000_reset_task does nothing if the device is down anyway). Instead, call cancel_work_sync for e1000_reset_task when the device is being removed.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: e1000: mover cancel_work_sync para evitar el interbloqueo Anteriormente, e1000_down llamaba a cancel_work_sync para la tarea de reinicio de e1000 (a través de e1000_down_and_stop), que toma RTNL. Según lo informado por los usuarios y syzbot, es posible que se produzca un interbloqueo en el siguiente escenario: CPU 0: - Se mantiene RTNL - e1000_close - e1000_down - cancel_work_sync (cancelar/esperar a e1000_reset_task()) CPU 1: - process_one_work - e1000_reset_task - tomar RTNL Para remediar esto, evite llamar a cancel_work_sync desde e1000_down (e1000_reset_task no hace nada si el dispositivo está inactivo de todos modos). En su lugar, llame a cancel_work_sync para e1000_reset_task cuando se esté quitando el dispositivo.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-38114 changed 2026-05-11CVE Terms of Use
NVDCVE-2025-38114 changed 2026-06-17Public domain