CVE-2026-98151
publishedbpf: Fix REG INVARIANTS VIOLATION on speculative pointer arithmetic
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux5f99f312bd3bedb3b266b0d26376a8c500cdc97f to < 21a681526c715aebb4f918b8c131583442d1b3d8 · 5f99f312bd3bedb3b266b0d26376a8c500cdc97f to < d623a4a58bb238443505d5c2949d1182dcfc26b6 · 5f99f312bd3bedb3b266b0d26376a8c500cdc97f to < 9f9477ae73de9c5a28e8ab7000d8097b078faee4 · 5f99f312bd3bedb3b266b0d26376a8c500cdc97f to < 150aeba624e8b7cac51c39440d7e8e1fd11de9a0 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.8 (affected) · 0 to < 6.8 (unaffected · semver) · 6.12.111 through 6.12.* (unaffected · semver) · 6.18.53 through 6.18.* (unaffected · semver) · 7.2.7 through 7.2.* (unaffected · semver) · 7.3 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-3192 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-3193 | Fixed | Not stated | Amazon Linux assessment |
| Debian | bookworm | linux-6.12 | Advisory build | 6.12.111-1~deb12u1 | DLA-4817-1 |
| Oracle Linux | 10 | kernel-uekaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
Show 98 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Debian | trixie | linux | Advisory build | 6.12.111-1 | DSA-6528-1 |
| Oracle Linux | 10 | kernel-uekx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-coreaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-corex86_64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-debugaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-debugx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-debug-coreaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-debug-corex86_64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-debug-develaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-debug-develx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-debug-modules-coreaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-debug-modules-corex86_64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-debug-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-debug-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-debug-modules-desktopaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-debug-modules-desktopx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-debug-modules-usbaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-debug-modules-usbx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-debug-modules-wirelessaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-debug-modules-wirelessx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-develaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-develx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-docaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-docx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-modulesaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-modulesx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-modules-coreaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-modules-corex86_64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-modules-desktopaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-modules-desktopx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-modules-extraaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-modules-extrax86_64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-modules-usbaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-modules-usbx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-modules-wirelessaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-modules-wirelessx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-toolsaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-toolsx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek64kaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek64k-coreaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek64k-develaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek64k-modulesaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek64k-modules-coreaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek64k-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek64k-modules-desktopaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek64k-modules-extraaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek64k-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek64k-modules-usbaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek64k-modules-wirelessaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uekaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uekx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-coreaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-corex86_64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-debugaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-debugx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-debug-coreaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-debug-corex86_64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-debug-develaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-debug-develx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-debug-modules-coreaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-debug-modules-corex86_64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-debug-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-debug-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-debug-modules-desktopaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-debug-modules-desktopx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-debug-modules-usbaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-debug-modules-usbx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-debug-modules-wirelessaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-debug-modules-wirelessx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-develaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-develx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-docaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-docx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-modulesaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-modulesx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-modules-coreaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-modules-corex86_64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-modules-desktopaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-modules-desktopx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-modules-extraaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: bpf: Fix REG INVARIANTS VIOLATION on speculative pointer arithmetic Take the following unprivileged program as an example: r0 = bpf_map_lookup_elem(...) /* PTR_TO_MAP_VALUE, offset 0 */ ... 14: r0 += r1 /* r1 is a bounded scalar */ 15: r9 = r0 Loading it triggers a verifier warning from reg_bounds_sanity_check(): verifier bug: REG INVARIANTS VIOLATION (alu): const subreg tnum out of sync with range bounds r64={.base=0x0, .size=0x0} r32={.base=0x0, .size=0xffffffff} var_off=(0x0, 0x0) What happens: 1. Processing insn 14 (r0 += r1) in adjust_ptr_min_max_vals(), the new offset is computed into dst_reg's var_off and 32/64-bit ranges. 2. Because pointer registers do not track 32-bit subregister bounds, __mark_reg32_unbounded() first sets r32 to the full range; r32 is re-derived from the offset at the end of the function by reg_bounds_sync(). 3. On the unprivileged path, sanitize_ptr_alu() is called and, via sanitize_speculative_path() -> push_stack(), snapshots the current register state and schedules the next instruction (insn 15) to be verified directly as a speculative path. 4. That snapshot is taken between step 2 and the final reg_bounds_sync(): at this point dst_reg's var_off still holds the (const) original offset while r32 has just been blanked to the full range, i.e. the two are out of sync. When the speculative path later verifies insn 15 (r9 = r0), the inconsistent state reaches reg_bounds_sanity_check() and trips the warning. var_off and the 32-bit range must always be consistent. There are two ways to keep the snapshot consistent: 1. sync var_off and r32 before the snapshot so they match, or 2. leave r32 at its original (already consistent) value and blank it only after the snapshot. The whole point of sanitize_ptr_alu() is to insert a harmless masking sequence that keeps the access in bounds under speculation, so the state it snapshots should faithfully represent that. Take approach 2: move __mark_reg32_unbounded() to after sanitize_ptr_alu(), so the speculative snapshot keeps the pointer's original, consistent r32. The non-speculative path is unchanged: r32 is still blanked before the offset is applied and re-derived by reg_bounds_sync().
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 5f99f312bd3bedb3b266b0d26376a8c500cdc97f to < 21a681526c715aebb4f918b8c131583442d1b3d8 (affected · git)5f99f312bd3bedb3b266b0d26376a8c500cdc97f to < d623a4a58bb238443505d5c2949d1182dcfc26b6 (affected · git)5f99f312bd3bedb3b266b0d26376a8c500cdc97f to < 9f9477ae73de9c5a28e8ab7000d8097b078faee4 (affected · git)5f99f312bd3bedb3b266b0d26376a8c500cdc97f to < 150aeba624e8b7cac51c39440d7e8e1fd11de9a0 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.8 (affected)0 to < 6.8 (unaffected · semver)6.12.111 through 6.12.* (unaffected · semver)6.18.53 through 6.18.* (unaffected · semver)7.2.7 through 7.2.* (unaffected · semver)7.3 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
4Provider assertions
1Linux · cna
bpf: Fix REG INVARIANTS VIOLATION on speculative pointer arithmetic
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- ab58b5679e779fa3aa04904930a541343056eb25ac851936cb6b2f65541e7394
- Ingested
- 19 Oct 2026, 09:35:31 UTC
- Source record
- Official CVE record