# CVE-2026-98627: bpf: Preserve packet pointer class displacement in regsafe()

> 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:48.952Z
- **Modified:** 2026-10-19T10:19:26.953Z

## Who should check

- Anyone running Linux \>= 022ac075088366b62e130da5e1b200bc93a47191, \< 091b40845bd3cf96791171ca95113e9184ccb596; \>= 022ac075088366b62e130da5e1b200bc93a47191, \< fd16449a9b3b31a8f18944c2f0e29e4e218ca2cf
- Anyone running Linux 7.1

## Description

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

bpf: Preserve packet pointer class displacement in regsafe()

regsafe() maps packet pointer IDs between states and checks that each
current register range is a subset of the corresponding explored
register range. It does not, however, preserve the displacement between
registers that share a packet pointer ID.

This is unsound because packet range is shared by ID. A bounds check on
one class member updates every member, and a later access can consume the
range through another member. Commit 022ac0750883 ("bpf: use reg-\>var\_off
instead of reg-\>off for pointers") folded the fixed pointer offset into
r64 and removed the old off equality check, so two individually narrower
registers can prune even when their displacement has changed. The
explored path can then license an out-of-bounds packet access on the
pruned path.

Require matching range bases for packet pointers with an ID. Together
with the existing ID mapping, this preserves the displacement between
members of each packet-pointer class without adding per-ID state.
Packet pointers without an ID remain unaffected.

## Affected and fixed versions

- Linux: \>= 022ac075088366b62e130da5e1b200bc93a47191, \< 091b40845bd3cf96791171ca95113e9184ccb596; \>= 022ac075088366b62e130da5e1b200bc93a47191, \< fd16449a9b3b31a8f18944c2f0e29e4e218ca2cf (cvelist)
- Linux: 7.1 (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-98627. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-98627.md
Affected: Linux >= 022ac075088366b62e130da5e1b200bc93a47191, < 091b40845bd3cf96791171ca95113e9184ccb596; >= 022ac075088366b62e130da5e1b200bc93a47191, < fd16449a9b3b31a8f18944c2f0e29e4e218ca2cf; Linux 7.1
Fixed in: Linux 091b40845bd3cf96791171ca95113e9184ccb596

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

There is no confirmed exploitation: CVE-2026-98627 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-98627?

It has no CVSS score yet. Unknown.

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

Linux \>= 022ac075088366b62e130da5e1b200bc93a47191, \< 091b40845bd3cf96791171ca95113e9184ccb596; \>= 022ac075088366b62e130da5e1b200bc93a47191, \< fd16449a9b3b31a8f18944c2f0e29e4e218ca2cf; Linux 7.1.

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

Yes. Fixed in Linux 091b40845bd3cf96791171ca95113e9184ccb596. No fix listed yet: follow the vendor advisory.

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

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/091b40845bd3cf96791171ca95113e9184ccb596>
- other: <https://git.kernel.org/stable/c/fd16449a9b3b31a8f18944c2f0e29e4e218ca2cf>

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

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