High severity · published Jun 24, 2026
CVE-2026-53081
bpf: Enforce regsafe base id consistency for BPF_ADD_CONST scalars
7.8
CVSS
0.2%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
Local
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.2% · higher than 8% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
KE
Kernel · Linux
6.11 before 6.12.91; 6.13 before 6.18.33; 6.19 before 7.0.10 · source: NVD
LI
Linux · Linux
98d7ca374ba4b39e7535613d40e159f09ca14da2 before 13c02881e49aac4c82b261faa26db9edf2567231; 98d7ca374ba4b39e7535613d40e159f09ca14da2 before 691adf738817275368ed56311b7d798d617823a3; 98d7ca374ba4b39e7535613d40e159f09ca14da2 before 7d73c72cccac651acc891377a5e623e4021c6380; 98d7ca374ba4b39e7535613d40e159f09ca14da2 before 2f2ec8e7730e21fc9bd49e0de9cdd58213ea24d0; 6.11 · source: vendor
RH
Red Hat Enterprise Linux 10 · Red Hat
All versions, or not specified · source: CISA
RH
Red Hat Enterprise Linux 9 · Red Hat
All versions, or not specified · source: CISA
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-53081
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-53081
Patch
https://git.kernel.org/stable/c/13c02881e49aac4c82b261faa26db9edf2567231
Patch
https://git.kernel.org/stable/c/2f2ec8e7730e21fc9bd49e0de9cdd58213ea24d0
Patch
https://git.kernel.org/stable/c/691adf738817275368ed56311b7d798d617823a3
Patch
https://git.kernel.org/stable/c/7d73c72cccac651acc891377a5e623e4021c6380
Third Party Advisory
https://access.redhat.com/security/cve/CVE-2026-53081
Third Party Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=2492322
More from Kernel
9.8
CVE-2025-39682
tls: fix handling of zero-length records on the rx_list
8.8
CVE-2026-53266
netfilter: bridge: make ebt_snat ARP rewrite writable
8.8
CVE-2013-6282
Linux Kernel Improper Input Validation Vulnerability
8.4
CVE-2022-0185
Linux Kernel Heap-Based Buffer Overflow Vulnerability
8.4
CVE-2013-2094
Linux Kernel Privilege Escalation Vulnerability
