5.5medium
eth: sungem: remove .ndo_poll_controller to avoid deadlocks
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.18% (higher than 7% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: eth: sungem: remove .ndo_poll_controller to avoid deadlocks Erhard reports netpoll warnings from sungem: netpoll_send_skb_on_dev(): eth0 enabled interrupts in poll (gem_start_xmit+0x0/0x398) WARNING: CPU: 1 PID: 1 at net/core/netpoll.c:370 netpoll_send_skb+0x1fc/0x20c gem_poll_controller() disables interrupts, which may sleep. We can't sleep in netpoll, it has interrupts disabled completely. Strangely, gem_poll_controller() doesn't even poll the completions, and instead acts as if an interrupt has fired so it just schedules NAPI and exits. None of this has been necessary for years, since netpoll invokes NAPI directly.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from fe09bb619096a0aa139210748ddc668c2dbe2308 before e22b23f5888a065d084e87db1eec639c445e677f, from fe09bb619096a0aa139210748ddc668c2dbe2308 before fbeeb55dbb33d562149c57e794f06b7414e44289, from fe09bb619096a0aa139210748ddc668c2dbe2308 before 476adb3bbbd7886e8251d3b9ce2d3c3e680f35d6, from fe09bb619096a0aa139210748ddc668c2dbe2308 before 5de5aeb98f9a000adb0db184e32765e4815d860b, from fe09bb619096a0aa139210748ddc668c2dbe2308 before faf94f1eb8a34b2c31b2042051ef36f63420ecce, from fe09bb619096a0aa139210748ddc668c2dbe2308 before 6400d205fbbcbcf9b8510157e1f379c1d7e2e937, from fe09bb619096a0aa139210748ddc668c2dbe2308 before ac0a230f719b02432d8c7eba7615ebd691da86f4, 3.1 Not affected: before 3.1, from 5.10.219 up to 5.10.*, from 5.15.161 up to 5.15.*, from 6.1.93 up to 6.1.*, from 6.6.33 up to 6.6.*, from 6.8.12 up to 6.8.* | CVE List |
| linux linux_kernel | from 3.1 before 5.10.219, from 5.11 before 5.15.161, from 5.16 before 6.1.93, from 6.2 before 6.6.33, from 6.7 before 6.8.12, from 6.9 before 6.9.3 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: eth: sungem: remove .ndo_poll_controller to avoid deadlocks Erhard reports netpoll warnings from sungem: netpoll_send_skb_on_dev(): eth0 enabled interrupts in poll (gem_start_xmit+0x0/0x398) WARNING: CPU: 1 PID: 1 at net/core/netpoll.c:370 netpoll_send_skb+0x1fc/0x20c gem_poll_controller() disables interrupts, which may sleep. We can't sleep in netpoll, it has interrupts disabled completely. Strangely, gem_poll_controller() doesn't even poll the completions, and instead acts as if an interrupt has fired so it just schedules NAPI and exits. None of this has been necessary for years, since netpoll invokes NAPI directly.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: eth: sungem: elimine .ndo_poll_controller para evitar interbloqueos Erhard informa advertencias de netpoll desde sungem: netpoll_send_skb_on_dev(): eth0 habilitó interrupciones en la encuesta (gem_start_xmit+0x0/0x398) ADVERTENCIA: CPU: 1 PID: 1 en net/core/netpoll.c:370 netpoll_send_skb+0x1fc/0x20c gem_poll_controller() desactiva las interrupciones, que pueden dormir. No podemos dormir en netpoll, tiene las interrupciones desactivadas por completo. Curiosamente, gem_poll_controller() ni siquiera sondea las finalizaciones y, en cambio, actúa como si se hubiera disparado una interrupción, por lo que simplemente programa NAPI y sale. Nada de esto ha sido necesario durante años, ya que netpoll invoca directamente a NAPI.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-38597 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2024-38597 changed 2026-06-17 | Public domain |