# CVE-2026-98628: bpf: Make post-verification instruction rewrites killable

> 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.20% (percentile 5, 2026-11-26)
- **Published:** 2026-10-18T15:19:49.746Z
- **Modified:** 2026-10-19T10:19:27.050Z

## Who should check

- Anyone running Linux \>= 52875a04f4b26e7ef30a288ea096f7cfec0e93cd, \< 56dc616d7a1f7d134d3e101c455e62b0a24d0cfd; \>= 52875a04f4b26e7ef30a288ea096f7cfec0e93cd, \< 261b61d3735b042ae25634f795c4540be0fc140c
- Anyone running Linux 5.1

## Description

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

bpf: Make post-verification instruction rewrites killable

After do\_check() returns, the verifier runs several instruction rewrite
passes. Some of them patch or remove one instruction at a time. Each
operation moves the remaining instruction and auxiliary-data arrays and
adjusts all branch offsets, making the overall work quadratic in the
program length.

A privileged loader can submit 131072 unconditional jumps by zero followed
by a valid return. Verification finishes quickly, but bpf\_opt\_remove\_nops()
then spends a long time removing each jump separately. Since this
post-verification work neither checks for signals nor reschedules, a pending
SIGKILL cannot terminate the task until the rewrite finishes.

Make bpf\_patch\_insn\_data() and verifier\_remove\_insns() common cancellation
and rescheduling points. These helpers run from BPF\_PROG\_LOAD process
context, and bpf\_patch\_insn\_data() can already sleep while reallocating
auxiliary data.

Report interrupted constant blinding as -EINTR and propagate it through
both JIT paths, including kernels that permit interpreter fallback.
Other blinding failures retain the existing fallback behavior.

This does not reduce the quadratic cost of the rewrite passes, but it makes
the work preemptible and allows a killed loader to be torn down promptly.

## Affected and fixed versions

- Linux: \>= 52875a04f4b26e7ef30a288ea096f7cfec0e93cd, \< 56dc616d7a1f7d134d3e101c455e62b0a24d0cfd; \>= 52875a04f4b26e7ef30a288ea096f7cfec0e93cd, \< 261b61d3735b042ae25634f795c4540be0fc140c (cvelist)
- Linux: 5.1 (cvelist)

## Mitigation

- Upgrade Linux to 261b61d3735b042ae25634f795c4540be0fc140c or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-98628.md
Affected: Linux >= 52875a04f4b26e7ef30a288ea096f7cfec0e93cd, < 56dc616d7a1f7d134d3e101c455e62b0a24d0cfd; >= 52875a04f4b26e7ef30a288ea096f7cfec0e93cd, < 261b61d3735b042ae25634f795c4540be0fc140c; Linux 5.1
Fixed in: Linux 56dc616d7a1f7d134d3e101c455e62b0a24d0cfd, Linux 261b61d3735b042ae25634f795c4540be0fc140c

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-98628 being exploited?

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= 52875a04f4b26e7ef30a288ea096f7cfec0e93cd, \< 56dc616d7a1f7d134d3e101c455e62b0a24d0cfd; \>= 52875a04f4b26e7ef30a288ea096f7cfec0e93cd, \< 261b61d3735b042ae25634f795c4540be0fc140c; Linux 5.1.

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

Yes. Fixed in Linux 56dc616d7a1f7d134d3e101c455e62b0a24d0cfd, Linux 261b61d3735b042ae25634f795c4540be0fc140c. Upgrade Linux to 261b61d3735b042ae25634f795c4540be0fc140c or later.

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

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/56dc616d7a1f7d134d3e101c455e62b0a24d0cfd>
- other: <https://git.kernel.org/stable/c/261b61d3735b042ae25634f795c4540be0fc140c>

## 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-98628>

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