CVE-2024-38597: eth: sungem: remove .ndo_poll_controller to avoid deadlocks
In the Linux kernel, the following vulnerability has been resolved:
eth: sungem: remove .ndopollcontroller to avoid deadlocks
Erhard reports netpoll warnings from sungem:
netpollsendskbondev(): eth0 enabled interrupts in poll (gemstartxmit+0x0/0x398) WARNING: CPU: 1 PID: 1 at net/core/netpoll.c:370 netpollsendskb+0x1fc/0x20c
gempollcontroller() disables interrupts, which may sleep. We can't sleep in netpoll, it has interrupts disabled completely. Strangely, gempollcontroller() 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 Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2024-38597?
CVE-2024-38597 is classified as a low severity vulnerability in the Linux kernel.
How do I fix CVE-2024-38597?
To remediate CVE-2024-38597, update the Linux kernel to versions 5.10.223-1, 5.10.226-1, 6.1.119-1, 6.1.123-1, 6.12.11-1, or 6.12.12-1.
What versions of the Linux kernel are affected by CVE-2024-38597?
CVE-2024-38597 affects multiple versions of the Linux kernel, ranging from 3.1 to 6.9.3.
What are the symptoms of CVE-2024-38597?
Users may experience netpoll warnings and potential deadlocks in the sungem Ethernet driver due to this vulnerability.
Is CVE-2024-38597 a remote or local vulnerability?
CVE-2024-38597 is primarily a local vulnerability affecting systems with specific configurations of the Linux kernel.