# CVE-2026-98039: bpf: Require MEM\_PERCPU for percpu kptr stores

> 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.17% (percentile 6, 2026-12-03)
- **Published:** 2026-09-25T10:23:52.360Z
- **Modified:** 2026-10-19T10:17:57.823Z

## Who should check

- Anyone running Linux \>= 36d8bdf75a93190e5669b9d1d95994e13e15ba1d, \< aaa9cf7707d1c5c0d2ca9d40c8b71652ac1c3c3f; \>= 36d8bdf75a93190e5669b9d1d95994e13e15ba1d, \< 0bdd6121c8dd5f1764efe701ce26bb8e15acb172; \>= 36d8bdf75a93190e5669b9d1d95994e13e15ba1d, \< ad4ebae5dbc2d47b544aa54f03c12490065be08a; \>= 36d8bdf75a93190e5669b9d1d95994e13e15ba1d, \< 048029ba1c793f8cabc4ad5eea765da01903f8f1
- Anyone running Linux 6.7

## Description

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

bpf: Require MEM\_PERCPU for percpu kptr stores

map\_kptr\_match\_type() treats perm\_flags as the set of register type flags
that a kptr field permits. Adding MEM\_PERCPU to that set for
BPF\_KPTR\_PERCPU does not require the source register to carry it, however.
The subset test consequently accepts both a plain bpf\_obj\_new() allocation
and a referenced kernel pointer into a \_\_percpu\_kptr map field.

Loads from the field are always marked MEM\_PERCPU. Consumers then treat the
stored value as the cookie returned by bpf\_percpu\_obj\_new(): per-CPU pointer
helpers relocate it, and map teardown selects the per-CPU free path. A plain
allocation can therefore provide an arbitrary kernel read/write, while a
kernel pointer can be relocated into an invalid address or sent through a
missing destructor.

Require the source MEM\_PERCPU flag to match the destination field kind.
This preserves valid bpf\_percpu\_obj\_new() stores and rejects both the
program-BTF and kernel-BTF variants.

## Affected and fixed versions

- Linux: \>= 36d8bdf75a93190e5669b9d1d95994e13e15ba1d, \< aaa9cf7707d1c5c0d2ca9d40c8b71652ac1c3c3f; \>= 36d8bdf75a93190e5669b9d1d95994e13e15ba1d, \< 0bdd6121c8dd5f1764efe701ce26bb8e15acb172; \>= 36d8bdf75a93190e5669b9d1d95994e13e15ba1d, \< ad4ebae5dbc2d47b544aa54f03c12490065be08a; \>= 36d8bdf75a93190e5669b9d1d95994e13e15ba1d, \< 048029ba1c793f8cabc4ad5eea765da01903f8f1 (cvelist)
- Linux: 6.7 (cvelist)

## Mitigation

- Upgrade Linux to 048029ba1c793f8cabc4ad5eea765da01903f8f1 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-98039. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-98039.md
Affected: Linux >= 36d8bdf75a93190e5669b9d1d95994e13e15ba1d, < aaa9cf7707d1c5c0d2ca9d40c8b71652ac1c3c3f; >= 36d8bdf75a93190e5669b9d1d95994e13e15ba1d, < 0bdd6121c8dd5f1764efe701ce26bb8e15acb172; >= 36d8bdf75a93190e5669b9d1d95994e13e15ba1d, < ad4ebae5dbc2d47b544aa54f03c12490065be08a; >= 36d8bdf75a93190e5669b9d…
Fixed in: Linux 0bdd6121c8dd5f1764efe701ce26bb8e15acb172, Linux 048029ba1c793f8cabc4ad5eea765da01903f8f1

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

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= 36d8bdf75a93190e5669b9d1d95994e13e15ba1d, \< aaa9cf7707d1c5c0d2ca9d40c8b71652ac1c3c3f; \>= 36d8bdf75a93190e5669b9d1d95994e13e15ba1d, \< 0bdd6121c8dd5f1764efe701ce26bb8e15acb172; \>= 36d8bdf75a93190e5669b9d1d95994e13e15ba1d, \< ad4ebae5dbc2d47b544aa54f03c12490065be08a; \>= 36d8bdf75a93190e5669b9d1d95994e13e15ba1d, \< 048029ba1c793f8cabc4ad5eea765da01903f8f1; Linux 6.7.

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

Yes. Fixed in Linux 0bdd6121c8dd5f1764efe701ce26bb8e15acb172, Linux 048029ba1c793f8cabc4ad5eea765da01903f8f1. Upgrade Linux to 048029ba1c793f8cabc4ad5eea765da01903f8f1 or later.

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

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/aaa9cf7707d1c5c0d2ca9d40c8b71652ac1c3c3f>
- other: <https://git.kernel.org/stable/c/0bdd6121c8dd5f1764efe701ce26bb8e15acb172>
- other: <https://git.kernel.org/stable/c/ad4ebae5dbc2d47b544aa54f03c12490065be08a>
- other: <https://git.kernel.org/stable/c/048029ba1c793f8cabc4ad5eea765da01903f8f1>

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

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