CVE-2026-43070

bpf: Reset register ID for BPF_END value tracking

High · published May 5, 2026

CVSS v3.1
7.8
EPSS
0%
Percentile
6.4
In the wild
Unconfirmed
What it is

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`.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00173 · 6.4th percentile
Published
2026-05-05T15:23Z
EPSS history
Timeline
  • 05 MAY 15:23Z
    bpf: Reset register ID for BPF_END value tracking
    cvelistv5