CVE-2026-43070

bpf: Reset register ID for BPF_END value tracking

State
Published
Severity
7.8 High
Published
May 5, 2026
Updated
Aug 5, 2026
Reserved
May 1, 2026

Read the record on cve.org

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

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 4c03342e5ac532fb34d13a7b51dd7261dfc48963 to before a17443af874229408ce6b78e2c8a2b5adeb4b7d8Affected
  • d00ce96623a69a100ad79675d0e85fda3c50d89b to before 0d15c3611a2cc5d08993545d4032055ae10ae2c1Affected
  • 9d21199842247ab05c675fb9b6c6ca393a5c0024 to before a3125bc01884431d30d731461634c8295b6f0529Affected
LinuxLinux
  • 6.18.17 to before 6.18.21Affected
  • 6.19.7 to before 6.19.11Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.