CVE-2024-38597

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-38597
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-38597.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-38597
Downstream
Related
Published
2024-06-19T13:45:46.642Z
Modified
2025-11-27T02:33:15.371060Z
Summary
eth: sungem: remove .ndo_poll_controller to avoid deadlocks
Details

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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/blob/cc431b3424123d84bcd7afd4de150b33f117a8ef/cves/2024/38xxx/CVE-2024-38597.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
fe09bb619096a0aa139210748ddc668c2dbe2308
Fixed
e22b23f5888a065d084e87db1eec639c445e677f
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
fe09bb619096a0aa139210748ddc668c2dbe2308
Fixed
fbeeb55dbb33d562149c57e794f06b7414e44289
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
fe09bb619096a0aa139210748ddc668c2dbe2308
Fixed
476adb3bbbd7886e8251d3b9ce2d3c3e680f35d6
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
fe09bb619096a0aa139210748ddc668c2dbe2308
Fixed
5de5aeb98f9a000adb0db184e32765e4815d860b
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
fe09bb619096a0aa139210748ddc668c2dbe2308
Fixed
faf94f1eb8a34b2c31b2042051ef36f63420ecce
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
fe09bb619096a0aa139210748ddc668c2dbe2308
Fixed
6400d205fbbcbcf9b8510157e1f379c1d7e2e937
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
fe09bb619096a0aa139210748ddc668c2dbe2308
Fixed
ac0a230f719b02432d8c7eba7615ebd691da86f4

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.1.0
Fixed
5.10.219
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.161
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.93
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.33
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.8.12
Type
ECOSYSTEM
Events
Introduced
6.9.0
Fixed
6.9.3