Linux kernel: bpf: Don't infer non-NULL from a pointer with an unbounded offset
Overview
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().
- Published
- 9/25/2026
- Last modified
- 10/21/2026
- CVE assigner
- Not available
- NVD analysis
- Not available
Exploitation
No CISA KEV flag in the saved record
An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.
EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare
Affected products
Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.
| Vendor / product | Affected versions | Platform / conditions | Evidence |
|---|---|---|---|
Linux Linux | ≥ cac616db39c207dc63465a4e05c6ce0e60b2cce4, < 8b414dbe97fcefd116e5a620c3bd9993014aa4ce | Verify advisory | Source |
Linux Linux | ≥ cac616db39c207dc63465a4e05c6ce0e60b2cce4, < 019d845a08b8ccfe8eefaaf4bca6870f2b8c58ae | Verify advisory | Source |
Linux Linux | ≥ cac616db39c207dc63465a4e05c6ce0e60b2cce4, < 65bea674f43c09c0eda033a140dfac6a2842a19f | Verify advisory | Source |
Linux Linux | ≥ cac616db39c207dc63465a4e05c6ce0e60b2cce4, < cb6642048739bf4ee5aa09fe465511f1e87caa63 | Verify advisory | Source |
Linux Linux | ≥ cac616db39c207dc63465a4e05c6ce0e60b2cce4, < 67b529f521a6676cdfc78b91b0217d7eaa84216b | Verify advisory | Source |
Linux Linux | 5.8 | Verify advisory | Source |
Recommended actions
Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.
Vendor advisory links
Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.
Severity
CVSS describes technical impact. It is separate from exploitation evidence.
No CVSS score is published for this record yet. Additional score details appear when the source record is next refreshed.
Sources & references
Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.