CVE-2024-38597

eth: sungem: remove .ndo_poll_controller to avoid deadlocks

No CVSS score yet EPSS 0.18%

Published 19 Jun 2024 Updated 11 May 2026 CNA: Linux

Check your servers for CVE-2024-38597

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-38597 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.18%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 7.74% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 10 Sep 2024):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from fe09bb619096a0aa139210748ddc668c2dbe2308, before e22b23f5888a065d084e87db1eec639c445e677f
affected from fe09bb619096a0aa139210748ddc668c2dbe2308, before fbeeb55dbb33d562149c57e794f06b7414e44289
affected from fe09bb619096a0aa139210748ddc668c2dbe2308, before 476adb3bbbd7886e8251d3b9ce2d3c3e680f35d6
affected from fe09bb619096a0aa139210748ddc668c2dbe2308, before 5de5aeb98f9a000adb0db184e32765e4815d860b
affected from fe09bb619096a0aa139210748ddc668c2dbe2308, before faf94f1eb8a34b2c31b2042051ef36f63420ecce
affected from fe09bb619096a0aa139210748ddc668c2dbe2308, before 6400d205fbbcbcf9b8510157e1f379c1d7e2e937
affected from fe09bb619096a0aa139210748ddc668c2dbe2308, before ac0a230f719b02432d8c7eba7615ebd691da86f4
Other versions: unaffected
Linux
affected 3.1
unaffected before 3.1
unaffected from 5.10.219 up to and including 5.10.*
unaffected from 5.15.161 up to and including 5.15.*
unaffected from 6.1.93 up to and including 6.1.*
unaffected from 6.6.33 up to and including 6.6.*
unaffected from 6.8.12 up to and including 6.8.*
unaffected from 6.9.3 up to and including 6.9.*
unaffected 6.10 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2024-38597 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-38597

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2024-38597
trivy image --scanners vuln IMAGE | grep CVE-2024-38597

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2024-38597 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.