CVE-2026-43070

bpf: Reset register ID for BPF_END value tracking

HIGH
7.8
CVSS Score
Published: May 5, 2026 at 03:23 PM UTC
Updated: June 17, 2026 at 10:48 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.1%

Description

In the Linux kernel, the following vulnerability has been resolved: bpf: Reset register ID for BPF_END value tracking When a register undergoes a BPF_END (byte swap) operation, its scalar value is mutated in-place. If this register previously shared a scalar ID with another register (e.g., after an `r1 = r0` assignment), this tie must be broken. Currently, the verifier misses resetting `dst_reg->id` to 0 for BPF_END. Consequently, if a conditional jump checks the swapped register, the verifier incorrectly propagates the learned bounds to the linked register, leading to false confidence in the linked register's value and potentially allowing out-of-bounds memory accesses. Fix this by explicitly resetting `dst_reg->id` to 0 in the BPF_END case to break the scalar tie, similar to how BPF_NEG handles it via `__mark_reg_known`.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

6.18.17 ≤ v < 6.18.216.19.7 ≤ v < 6.19.114c03342e5ac532fb34d13a7b51dd7261dfc489636.18.176.19.77.0 rc17.0 rc27.0 rc37.0 rc49d21199842247ab05c675fb9b6c6ca393a5c0024d00ce96623a69a100ad79675d0e85fda3c50d89b
Vendor states this is fixed in 0d15c3611a2cc5d08993545d4032055ae10ae2c1 (fixed)
Vendor states this is fixed in a17443af874229408ce6b78e2c8a2b5adeb4b7d8 (fixed)
Vendor states this is fixed in a3125bc01884431d30d731461634c8295b6f0529 (fixed)
Affected range stops below 6.18.21, so it looks safe — our inference, not a vendor statement
Affected range stops below 6.19.11, so it looks safe — our inference, not a vendor statement

CVSS

7.8HIGHLinux
Vector?

Quick Info

StatusANALYZED
CWE
CWE-125

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card