# CVE-2026-98043: bpf: Don't infer non-NULL from a pointer with an unbounded offset

> 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:54.865Z
- **Modified:** 2026-10-21T13:21:19.943Z

## Who should check

- Anyone running Linux \>= cac616db39c207dc63465a4e05c6ce0e60b2cce4, \< 8b414dbe97fcefd116e5a620c3bd9993014aa4ce; \>= cac616db39c207dc63465a4e05c6ce0e60b2cce4, \< 019d845a08b8ccfe8eefaaf4bca6870f2b8c58ae; \>= cac616db39c207dc63465a4e05c6ce0e60b2cce4, \< 65bea674f43c09c0eda033a140dfac6a2842a19f; \>= cac616db39c207dc63465a4e05c6ce0e60b2cce4, \< cb6642048739bf4ee5aa09fe465511f1e87caa63; \>= cac616db39c207dc63465a4e05c6ce0e60b2cce4, \< 67b529f521a6676cdfc78b91b0217d7eaa84216b
- Anyone running Linux 5.8

## Description

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

bpf: Don't infer non-NULL from a pointer with an unbounded offset

reg\_not\_null() decides that a register holds a non-NULL value by
looking at its type alone. For pointer types that allow arithmetic the
type only guarantees a non-NULL base, in case of an unbound offset
the runtime offset value might still add up to NULL.
Consider the followng program:

  r6 = bpf\_map\_lookup\_elem(map, &0);  /\* present \*/
  if (r6 == 0) return 0;
  r7 = bpf\_map\_lookup\_elem(map, &1);  /\* absent, NULL at runtime \*/
  r8 = r7;
  r8 -= r6;     /\* pointer - pointer: unknown scalar, -r6 \*/
  r8 \<\<= 1;
  r8 \>\>= 1;     /\* any non-negative offset is accepted by \*/
                /\* check\_reg\_sane\_offset\_ptr() \*/
  r6 += r8;     /\* verifier: map value;    runtime: zero  \*/
  if (r7 != r6) return 0;
  \*(u8 \*)(r7 + 0);  /\* r7 is inferred non-NULL, both are zero \*/

At runtime both registers are zero, the comparison is true and the
load faults with NULL pointer dereference.

Require the offset to be within +-BPF\_MAX\_VAR\_OFF in reg\_not\_null().

## Affected and fixed versions

- Linux: \>= cac616db39c207dc63465a4e05c6ce0e60b2cce4, \< 8b414dbe97fcefd116e5a620c3bd9993014aa4ce; \>= cac616db39c207dc63465a4e05c6ce0e60b2cce4, \< 019d845a08b8ccfe8eefaaf4bca6870f2b8c58ae; \>= cac616db39c207dc63465a4e05c6ce0e60b2cce4, \< 65bea674f43c09c0eda033a140dfac6a2842a19f; \>= cac616db39c207dc63465a4e05c6ce0e60b2cce4, \< cb6642048739bf4ee5aa09fe465511f1e87caa63; \>= cac616db39c207dc63465a4e05c6ce0e60b2cce4, \< 67b529f521a6676cdfc78b91b0217d7eaa84216b (cvelist)
- Linux: 5.8 (cvelist)

## Mitigation

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

Details: https://flawdb.com/CVE-2026-98043.md
Affected: Linux >= cac616db39c207dc63465a4e05c6ce0e60b2cce4, < 8b414dbe97fcefd116e5a620c3bd9993014aa4ce; >= cac616db39c207dc63465a4e05c6ce0e60b2cce4, < 019d845a08b8ccfe8eefaaf4bca6870f2b8c58ae; >= cac616db39c207dc63465a4e05c6ce0e60b2cce4, < 65bea674f43c09c0eda033a140dfac6a2842a19f; >= cac616db39c207dc63465a4…
Fixed in: Linux 8b414dbe97fcefd116e5a620c3bd9993014aa4ce, Linux 019d845a08b8ccfe8eefaaf4bca6870f2b8c58ae, Linux 65bea674f43c09c0eda033a140dfac6a2842a19f, Linux 67b529f521a6676cdfc78b91b0217d7eaa84216b

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= cac616db39c207dc63465a4e05c6ce0e60b2cce4, \< 8b414dbe97fcefd116e5a620c3bd9993014aa4ce; \>= cac616db39c207dc63465a4e05c6ce0e60b2cce4, \< 019d845a08b8ccfe8eefaaf4bca6870f2b8c58ae; \>= cac616db39c207dc63465a4e05c6ce0e60b2cce4, \< 65bea674f43c09c0eda033a140dfac6a2842a19f; \>= cac616db39c207dc63465a4e05c6ce0e60b2cce4, \< cb6642048739bf4ee5aa09fe465511f1e87caa63; \>= cac616db39c207dc63465a4e05c6ce0e60b2cce4, \< 67b529f521a6676cdfc78b91b0217d7eaa84216b; Linux 5.8.

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

Yes. Fixed in Linux 8b414dbe97fcefd116e5a620c3bd9993014aa4ce, Linux 019d845a08b8ccfe8eefaaf4bca6870f2b8c58ae, Linux 65bea674f43c09c0eda033a140dfac6a2842a19f, Linux 67b529f521a6676cdfc78b91b0217d7eaa84216b. Upgrade Linux to 67b529f521a6676cdfc78b91b0217d7eaa84216b or later.

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

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/8b414dbe97fcefd116e5a620c3bd9993014aa4ce>
- other: <https://git.kernel.org/stable/c/019d845a08b8ccfe8eefaaf4bca6870f2b8c58ae>
- other: <https://git.kernel.org/stable/c/65bea674f43c09c0eda033a140dfac6a2842a19f>
- other: <https://git.kernel.org/stable/c/cb6642048739bf4ee5aa09fe465511f1e87caa63>
- other: <https://git.kernel.org/stable/c/67b529f521a6676cdfc78b91b0217d7eaa84216b>

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

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