CVE-2024-38597

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

History

27 Aug 2024, 18:36

Type Values Removed Values Added
CWE CWE-667
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.5
First Time Linux
Linux linux Kernel
References () https://git.kernel.org/stable/c/476adb3bbbd7886e8251d3b9ce2d3c3e680f35d6 - () https://git.kernel.org/stable/c/476adb3bbbd7886e8251d3b9ce2d3c3e680f35d6 - Patch
References () https://git.kernel.org/stable/c/5de5aeb98f9a000adb0db184e32765e4815d860b - () https://git.kernel.org/stable/c/5de5aeb98f9a000adb0db184e32765e4815d860b - Patch
References () https://git.kernel.org/stable/c/6400d205fbbcbcf9b8510157e1f379c1d7e2e937 - () https://git.kernel.org/stable/c/6400d205fbbcbcf9b8510157e1f379c1d7e2e937 - Patch
References () https://git.kernel.org/stable/c/ac0a230f719b02432d8c7eba7615ebd691da86f4 - () https://git.kernel.org/stable/c/ac0a230f719b02432d8c7eba7615ebd691da86f4 - Patch
References () https://git.kernel.org/stable/c/e22b23f5888a065d084e87db1eec639c445e677f - () https://git.kernel.org/stable/c/e22b23f5888a065d084e87db1eec639c445e677f - Patch
References () https://git.kernel.org/stable/c/faf94f1eb8a34b2c31b2042051ef36f63420ecce - () https://git.kernel.org/stable/c/faf94f1eb8a34b2c31b2042051ef36f63420ecce - Patch
References () https://git.kernel.org/stable/c/fbeeb55dbb33d562149c57e794f06b7414e44289 - () https://git.kernel.org/stable/c/fbeeb55dbb33d562149c57e794f06b7414e44289 - Patch
CPE cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

20 Jun 2024, 12:43

Type Values Removed Values Added
Summary
  • (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.

19 Jun 2024, 14:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-06-19 14:15

Updated : 2024-08-27 18:36


NVD link : CVE-2024-38597

Mitre link : CVE-2024-38597

CVE.ORG link : CVE-2024-38597


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-667

Improper Locking