CVE-2026-43070
published high CVSS 3.1 · 7.8bpf: Reset register ID for BPF_END value tracking
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux4c03342e5ac532fb34d13a7b51dd7261dfc48963 to < a17443af874229408ce6b78e2c8a2b5adeb4b7d8 · d00ce96623a69a100ad79675d0e85fda3c50d89b to < 0d15c3611a2cc5d08993545d4032055ae10ae2c1 · 9d21199842247ab05c675fb9b6c6ca393a5c0024 to < a3125bc01884431d30d731461634c8295b6f0529 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.18.17 to < 6.18.21 · 6.19.7 to < 6.19.11 · Other versions: unaffected | Affected | 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 |
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`.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The vulnerable verifier logic is reached by a local attacker through the bpf() syscall when loading an eBPF program, not by remote packets directly. AC:L - The attacker controls the BPF bytecode and can construct the shared scalar-ID plus BPF_END pattern; there is no race or external timing condition required beyond program execution. PR:L - A basic local user can reach this in deployments with unprivileged BPF enabled or delegated BPF token capability; if uncertain between requiring CAP_BPF and unprivileged reachability, the higher-severity PR:L is appropriate. UI:N - No victim action is required; the attacker loads and triggers the BPF program themselves. S:U - The impact is within the kernel security authority, matching a standard local kernel privilege escalation rather than a cross-scope escape. C:H - The verifier can incorrectly validate out-of-bounds memory accesses, and such memory corruption/read primitives can expose arbitrary kernel memory. I:H - The demonstrated bad bounds propagation permits out-of-bounds writes through BPF pointer arithmetic, which is defensibly exploitable for kernel memory corruption or code execution. A:H - Out-of-bounds kernel memory access can crash or panic the kernel even if not fully exploited.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 4c03342e5ac532fb34d13a7b51dd7261dfc48963 to < a17443af874229408ce6b78e2c8a2b5adeb4b7d8 (affected · git)d00ce96623a69a100ad79675d0e85fda3c50d89b to < 0d15c3611a2cc5d08993545d4032055ae10ae2c1 (affected · git)9d21199842247ab05c675fb9b6c6ca393a5c0024 to < a3125bc01884431d30d731461634c8295b6f0529 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.18.17 to < 6.18.21 (affected · semver)6.19.7 to < 6.19.11 (affected · semver)Default: unaffected | Linux · cna |
Weaknesses
0No weakness assertions.
References
3Provider assertions
1Linux · cna
bpf: Reset register ID for BPF_END value tracking
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 03390f4eb2676f09f32a14a579e2884e61be9539e2c1f9ad20032c0c008b04e1
- Ingested
- 23 Sep 2026, 09:14:39 UTC
- Source record
- Official CVE record