# CVE-2026-89991: bpf: Fix infinite loop in pcpu\_freelist push with one possible CPU

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 6, 2026-11-26)
- **Published:** 2026-09-16T10:33:05.097Z
- **Modified:** 2026-10-19T09:18:46.253Z

## Who should check

- Anyone running Linux \>= f2ac0e5d1c4dcc55d6510dcaefb8f45661a9a1fb, \< a24a146ae2cb5d9faeea96d10010fcb6579abe1f; \>= f2ac0e5d1c4dcc55d6510dcaefb8f45661a9a1fb, \< a5b5e62baceff9e252c6535cf42a027d04f226cf; \>= f2ac0e5d1c4dcc55d6510dcaefb8f45661a9a1fb, \< efebf6496685c93150df5bb0794363ae70c5f58a
- Anyone running Linux 6.15

## Description

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

bpf: Fix infinite loop in pcpu\_freelist push with one possible CPU

\_\_pcpu\_freelist\_push() can loop forever when only one CPU is possible
and an NMI re-enters pcpu\_freelist\_push() while the interrupted context
holds that CPU's freelist lock.

After the current-CPU fast path fails, the fallback loop walks
cpu\_possible\_mask while skipping the current CPU. With CONFIG\_SMP=n, or
when an SMP kernel is limited to one possible CPU with nr\_cpus=1 or
possible\_cpus=1, there are no other possible CPUs to examine. The loop
therefore makes no lock acquisition attempt and can never make progress.

The following stack was observed on a UP system:

  NMI context:
    pcpu\_freelist\_push
    free\_htab\_elem
    htab\_map\_delete\_elem
    \[perf-event BPF program\]
    \_\_perf\_event\_overflow
    perf\_event\_nmi\_handler
    exc\_nmi

  Interrupted context:
    \_\_pcpu\_freelist\_push
    pcpu\_freelist\_push
    free\_htab\_elem
    htab\_map\_delete\_elem
    \[raw\_tp/sys\_enter BPF program\]
    \_\_bpf\_trace\_sys\_enter
    do\_syscall\_64

raw\_res\_spin\_lock() detects the same-CPU recursive acquisition and
returns -EDEADLK, but the subsequent fallback loop has no candidate head
on a system with one possible CPU.

Restore the extra fallback head that existed before the rqspinlock
conversion. Keep the current-CPU fast path, then try the other possible
CPUs and finally the extra head. The additional head lets a push, which
cannot fail without losing a preallocated element, make progress when the
only per-CPU head is held by the interrupted context.

Also check the extra head from the pop path so that nodes placed there
can be reused.

## Affected and fixed versions

- Linux: \>= f2ac0e5d1c4dcc55d6510dcaefb8f45661a9a1fb, \< a24a146ae2cb5d9faeea96d10010fcb6579abe1f; \>= f2ac0e5d1c4dcc55d6510dcaefb8f45661a9a1fb, \< a5b5e62baceff9e252c6535cf42a027d04f226cf; \>= f2ac0e5d1c4dcc55d6510dcaefb8f45661a9a1fb, \< efebf6496685c93150df5bb0794363ae70c5f58a (cvelist)
- Linux: 6.15 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-89991. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-89991.md
Affected: Linux >= f2ac0e5d1c4dcc55d6510dcaefb8f45661a9a1fb, < a24a146ae2cb5d9faeea96d10010fcb6579abe1f; >= f2ac0e5d1c4dcc55d6510dcaefb8f45661a9a1fb, < a5b5e62baceff9e252c6535cf42a027d04f226cf; >= f2ac0e5d1c4dcc55d6510dcaefb8f45661a9a1fb, < efebf6496685c93150df5bb0794363ae70c5f58a; Linux 6.15
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-89991 being exploited?

There is no confirmed exploitation: CVE-2026-89991 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-89991?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-89991?

Linux \>= f2ac0e5d1c4dcc55d6510dcaefb8f45661a9a1fb, \< a24a146ae2cb5d9faeea96d10010fcb6579abe1f; \>= f2ac0e5d1c4dcc55d6510dcaefb8f45661a9a1fb, \< a5b5e62baceff9e252c6535cf42a027d04f226cf; \>= f2ac0e5d1c4dcc55d6510dcaefb8f45661a9a1fb, \< efebf6496685c93150df5bb0794363ae70c5f58a; Linux 6.15.

### Is there a fix for CVE-2026-89991?

No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-89991?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/a24a146ae2cb5d9faeea96d10010fcb6579abe1f>
- other: <https://git.kernel.org/stable/c/a5b5e62baceff9e252c6535cf42a027d04f226cf>
- other: <https://git.kernel.org/stable/c/efebf6496685c93150df5bb0794363ae70c5f58a>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-89991>

HTML: <https://flawdb.com/CVE-2026-89991> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-89991>
