CVE-2026-31691

Source
https://cve.org/CVERecord?id=CVE-2026-31691
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-31691.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2026-31691
Downstream
Related
Published
2026-04-27T17:34:29.738Z
Modified
2026-06-02T18:29:08.460156646Z
Summary
igb: remove napi_synchronize() in igb_down()
Details

In the Linux kernel, the following vulnerability has been resolved:

igb: remove napisynchronize() in igbdown()

When an AFXDP zero-copy application terminates abruptly (e.g., kill -9), the XSK buffer pool is destroyed but NAPI polling continues. igbcleanrxirqzc() repeatedly returns the full budget, preventing napicompletedone() from clearing NAPISTATE_SCHED.

igbdown() calls napisynchronize() before napidisable() for each queue vector. napisynchronize() spins waiting for NAPISTATESCHED to clear, which never happens. igb_down() blocks indefinitely, the TX watchdog fires, and the TX queue remains permanently stalled.

napidisable() already handles this correctly: it sets NAPISTATE_DISABLE. After a full-budget poll, __napipoll() checks napidisablepending(). If set, it forces completion and clears NAPISTATESCHED, breaking the loop that napisynchronize() cannot.

napisynchronize() was added in commit 41f149a285da ("igb: Fix possible panic caused by Rx traffic arrival while interface is down"). napidisable() provides stronger guarantees: it prevents further scheduling and waits for any active poll to exit. Other Intel drivers (ixgbe, ice, i40e) use napidisable() without a preceding napisynchronize() in their down paths.

Remove redundant napisynchronize() call and reorder napidisable() before igbsetqueue_napi() so the queue-to-NAPI mapping is only cleared after polling has fully stopped.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31691.json",
    "cna_assigner": "Linux"
}
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
2c6196013f84651772388a86dfd4bb033d0c0d45
Fixed
4700471775746058c962ded6e659bf908fd76e13
Fixed
27f5997686ee7fb7ac01be72b2010f168a3409fc
Fixed
b1e067240379f950a0022208e0685f3465c211cb

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-31691.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.14.0
Fixed
6.18.23
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
6.19.13

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-31691.json"