CVE-2026-53081

published 24 Jun 2026 · updated 19 Oct 2026

bpf: Enforce regsafe base id consistency for BPF_ADD_CONST scalars

7.8HighCVSS 7.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 13c02881e49aac4c82b261faa26db9edf2567231, Kernel 2f2ec8e7730e21fc9bd49e0de9cdd58213ea24d0, Kernel 691adf738817275368ed56311b7d798d617823a3 and 1 more.

In the Linux kernel, the following vulnerability has been resolved: bpf: Enforce regsafe base id consistency for BPF_ADD_CONST scalars When regsafe() compares two scalar registers that both carry BPF_ADD_CONST, check_scalar_ids() maps their full compound id (aka base | BPF_ADD_CONST flag) as one idmap entry. However, it never verifies that the underlying base ids, that is, with the flag stripped are consistent with existing idmap mappings. This allows construction of two verifier states where the old state has R3 = R2 + 10 (both sharing base id A) while the current state has R3 = R4 + 10 (base id C, unrelated to R2). The idmap creates two independent entries: A->B (for R2) and A|flag->C|flag (for R3), without catching that A->C conflicts with A->B. State pruning then incorrectly succeeds. Fix this by additionally verifying base ID mapping consistency whenever BPF_ADD_CONST is set: after mapping the compound ids, also invoke check_ids() on the base IDs (flag bits stripped). This ensures that if A was already mapped to B from comparing the source register, any ADD_CONST derivative must also derive from B, not an unrelated C.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=6.11, >=98d7ca374ba4b39e7535613d40e159f09ca14da2 <13c02881e49aac4c82b261faa26db9edf2567231, >=98d7ca374ba4b39e7535613d40e159f09ca14da2 <2f2ec8e7730e21fc9bd49e0de9cdd58213ea24d0, >=98d7ca374ba4b39e7535613d40e159f09ca14da2 <691adf738817275368ed56311b7d798d617823a3, >=98d7ca374ba4b39e7535613d40e159f09ca14da2 <7d73c72cccac651acc891377a5e623e4021c638013c02881e49aac4c82b261faa26db9edf2567231, 2f2ec8e7730e21fc9bd49e0de9cdd58213ea24d0, 691adf738817275368ed56311b7d798d617823a3, 7d73c72cccac651acc891377a5e623e4021c6380

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-53081 severity on Zeptric[![CVE-2026-53081](https://zeptric.io/badge/cve/CVE-2026-53081.svg)](https://zeptric.io/cve/CVE-2026-53081)