eth: sungem: remove .ndo_poll_controller to avoid deadlocks (Linux Linux)

CVE-2024-38597
MEDIUM 5.5

En bref

Source
NVD
EPSS
EPSS 0.18 % · centile 7 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Modified

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.

Faiblesses (CWE)

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected fe09bb619096a0aa139210748ddc668c2dbe2308 < e22b23f5888a065d084e87db1eec639c445e677f ; affected fe09bb619096a0aa139210748ddc668c2dbe2308 < fbeeb55dbb33d562149c57e794f06b7414e44289 ; affected fe09bb619096a0aa139210748ddc668c2dbe2308 < 476adb3bbbd7886e8251d3b9ce2d3c3e680f35d6 ; affected fe09bb619096a0aa139210748ddc668c2dbe2308 < 5de5aeb98f9a000adb0db184e32765e4815d860b ; affected fe09bb619096a0aa139210748ddc668c2dbe2308 < faf94f1eb8a34b2c31b2042051ef36f63420ecce ; affected fe09bb619096a0aa139210748ddc668c2dbe2308 < 6400d205fbbcbcf9b8510157e1f379c1d7e2e937
Linux · Linuxaffected 3.1 ; unaffected 0 < 3.1 ; unaffected 5.10.219 ≤ 5.10.* ; unaffected 5.15.161 ≤ 5.15.* ; unaffected 6.1.93 ≤ 6.1.* ; unaffected 6.6.33 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD