CVE-2026-98043
Last modified
CVE-2026-98043 is a vulnerability of currently unknown severity. 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()..
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 Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= cac616db39c207dc63465a4e05c6ce0e60b2cce4, < cb6642048739bf4ee5aa09fe465511f1e87caa63; >= cac616db39c207dc63465a4e05c6ce0e60b2cce4, < 67b529f521a6676cdfc78b91b0217d7eaa84216b |
| Linux | Linux | 5.8 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-98043?
How severe is CVE-2026-98043?
How do I fix CVE-2026-98043?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-98038In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98039In the Linux kernel, the following vulnerability has been re…
- CVE-2026-9804A flaw was found in KubeVirt's virt-exportserver component. …7.7
- CVE-2026-98040In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98041In the Linux kernel, the following vulnerability has been re…7
- CVE-2026-98042In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98044In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98045In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98046In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98047In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98048In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98049In the Linux kernel, the following vulnerability has been re…
Are you affected by CVE-2026-98043?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
