# CVE-2026-98037: bpf: Reject untrusted allocated-object pointers

> 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-25T10:23:51.126Z
- **Modified:** 2026-10-19T10:17:57.647Z

## Who should check

- Anyone running Linux \>= 1b12171533a9bb23cf6fba7262b479028b65e1e8, \< 092c2874dc1b2060fa77a465a971acd4fdf87683; \>= 1b12171533a9bb23cf6fba7262b479028b65e1e8, \< 135d542b97fa93e32c457d49d6e7b33ca7d05bae; \>= 1b12171533a9bb23cf6fba7262b479028b65e1e8, \< 6b1f786ad85a0b63393b76f5e634deab1a73198c; \>= 1b12171533a9bb23cf6fba7262b479028b65e1e8, \< 7441ee8276641bddaf1cba7bb75ef9c1458ceb3b
- Anyone running Linux 6.8

## Description

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

bpf: Reject untrusted allocated-object pointers

When the final RCU read-side critical section ends, a local kptr is demoted
to PTR\_UNTRUSTED but retains MEM\_ALLOC. The pointer may be NULL or may refer
to an object whose lifetime is no longer protected.

type\_is\_ptr\_alloc\_obj() nevertheless recognizes any PTR\_TO\_BTF\_ID with
MEM\_ALLOC as a live allocated object. In particular, a refcount-only local
kptr never carries NON\_OWN\_REF, so it still passes the
bpf\_refcount\_acquire() argument check after RCU protection ends. The kfunc
can then dereference NULL or stale memory.

Make type\_is\_ptr\_alloc\_obj() reject PTR\_UNTRUSTED pointers. Since
type\_is\_non\_owning\_ref() is based on the same predicate, graph kfunc
arguments obey the same live-object requirement. Fault-protected reads of
the demoted pointer remain valid: writes are already rejected, and read
fixups use bpf\_may\_fault\_on\_deref() rather than this predicate.

\[ kkd: Rewrote commit log \]

## Affected and fixed versions

- Linux: \>= 1b12171533a9bb23cf6fba7262b479028b65e1e8, \< 092c2874dc1b2060fa77a465a971acd4fdf87683; \>= 1b12171533a9bb23cf6fba7262b479028b65e1e8, \< 135d542b97fa93e32c457d49d6e7b33ca7d05bae; \>= 1b12171533a9bb23cf6fba7262b479028b65e1e8, \< 6b1f786ad85a0b63393b76f5e634deab1a73198c; \>= 1b12171533a9bb23cf6fba7262b479028b65e1e8, \< 7441ee8276641bddaf1cba7bb75ef9c1458ceb3b (cvelist)
- Linux: 6.8 (cvelist)

## Mitigation

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

Details: https://flawdb.com/CVE-2026-98037.md
Affected: Linux >= 1b12171533a9bb23cf6fba7262b479028b65e1e8, < 092c2874dc1b2060fa77a465a971acd4fdf87683; >= 1b12171533a9bb23cf6fba7262b479028b65e1e8, < 135d542b97fa93e32c457d49d6e7b33ca7d05bae; >= 1b12171533a9bb23cf6fba7262b479028b65e1e8, < 6b1f786ad85a0b63393b76f5e634deab1a73198c; >= 1b12171533a9bb23cf6fba7…
Fixed in: Linux 092c2874dc1b2060fa77a465a971acd4fdf87683, Linux 135d542b97fa93e32c457d49d6e7b33ca7d05bae, Linux 6b1f786ad85a0b63393b76f5e634deab1a73198c, Linux 7441ee8276641bddaf1cba7bb75ef9c1458ceb3b

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= 1b12171533a9bb23cf6fba7262b479028b65e1e8, \< 092c2874dc1b2060fa77a465a971acd4fdf87683; \>= 1b12171533a9bb23cf6fba7262b479028b65e1e8, \< 135d542b97fa93e32c457d49d6e7b33ca7d05bae; \>= 1b12171533a9bb23cf6fba7262b479028b65e1e8, \< 6b1f786ad85a0b63393b76f5e634deab1a73198c; \>= 1b12171533a9bb23cf6fba7262b479028b65e1e8, \< 7441ee8276641bddaf1cba7bb75ef9c1458ceb3b; Linux 6.8.

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

Yes. Fixed in Linux 092c2874dc1b2060fa77a465a971acd4fdf87683, Linux 135d542b97fa93e32c457d49d6e7b33ca7d05bae, Linux 6b1f786ad85a0b63393b76f5e634deab1a73198c, Linux 7441ee8276641bddaf1cba7bb75ef9c1458ceb3b. Upgrade Linux to 7441ee8276641bddaf1cba7bb75ef9c1458ceb3b or later.

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

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/092c2874dc1b2060fa77a465a971acd4fdf87683>
- other: <https://git.kernel.org/stable/c/135d542b97fa93e32c457d49d6e7b33ca7d05bae>
- other: <https://git.kernel.org/stable/c/6b1f786ad85a0b63393b76f5e634deab1a73198c>
- other: <https://git.kernel.org/stable/c/7441ee8276641bddaf1cba7bb75ef9c1458ceb3b>

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

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