CVE-2024-38597

eth: sungem: remove .ndo_poll_controller to avoid deadlocks

State
Published
Severity
Not scored
Published
Jun 19, 2024
Updated
May 11, 2026
Reserved
Jun 18, 2024

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • fe09bb619096a0aa139210748ddc668c2dbe2308 to before e22b23f5888a065d084e87db1eec639c445e677fAffected
  • fe09bb619096a0aa139210748ddc668c2dbe2308 to before fbeeb55dbb33d562149c57e794f06b7414e44289Affected
  • fe09bb619096a0aa139210748ddc668c2dbe2308 to before 476adb3bbbd7886e8251d3b9ce2d3c3e680f35d6Affected
  • fe09bb619096a0aa139210748ddc668c2dbe2308 to before 5de5aeb98f9a000adb0db184e32765e4815d860bAffected
  • fe09bb619096a0aa139210748ddc668c2dbe2308 to before faf94f1eb8a34b2c31b2042051ef36f63420ecceAffected
  • fe09bb619096a0aa139210748ddc668c2dbe2308 to before 6400d205fbbcbcf9b8510157e1f379c1d7e2e937Affected
  • fe09bb619096a0aa139210748ddc668c2dbe2308 to before ac0a230f719b02432d8c7eba7615ebd691da86f4Affected
LinuxLinux
  • 3.1Affected
  • before 3.1Not affected
  • 5.10.219 through 5.10.*Not affected
  • 5.15.161 through 5.15.*Not affected
  • 6.1.93 through 6.1.*Not affected
  • 6.6.33 through 6.6.*Not affected
  • 6.8.12 through 6.8.*Not affected
  • 6.9.3 through 6.9.*Not affected
  • 6.10 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.