CVE-2026-53081
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
24/06/2026
Last modified:
23/07/2026
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
bpf: Enforce regsafe base id consistency for BPF_ADD_CONST scalars<br />
<br />
When regsafe() compares two scalar registers that both carry<br />
BPF_ADD_CONST, check_scalar_ids() maps their full compound id<br />
(aka base | BPF_ADD_CONST flag) as one idmap entry. However,<br />
it never verifies that the underlying base ids, that is, with<br />
the flag stripped are consistent with existing idmap mappings.<br />
<br />
This allows construction of two verifier states where the old<br />
state has R3 = R2 + 10 (both sharing base id A) while the current<br />
state has R3 = R4 + 10 (base id C, unrelated to R2). The idmap<br />
creates two independent entries: A->B (for R2) and A|flag->C|flag<br />
(for R3), without catching that A->C conflicts with A->B. State<br />
pruning then incorrectly succeeds.<br />
<br />
Fix this by additionally verifying base ID mapping consistency<br />
whenever BPF_ADD_CONST is set: after mapping the compound ids,<br />
also invoke check_ids() on the base IDs (flag bits stripped).<br />
This ensures that if A was already mapped to B from comparing<br />
the source register, any ADD_CONST derivative must also derive<br />
from B, not an unrelated C.
Impact
Base Score 3.x
7.80
Severity 3.x
HIGH
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.11 (including) | 6.12.91 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.13 (including) | 6.18.33 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.19 (including) | 7.0.10 (excluding) |
To consult the complete list of CPE names with products and versions, see this page
References to Advisories, Solutions, and Tools
- https://git.kernel.org/stable/c/13c02881e49aac4c82b261faa26db9edf2567231
- https://git.kernel.org/stable/c/2f2ec8e7730e21fc9bd49e0de9cdd58213ea24d0
- https://git.kernel.org/stable/c/691adf738817275368ed56311b7d798d617823a3
- https://git.kernel.org/stable/c/7d73c72cccac651acc891377a5e623e4021c6380
- https://access.redhat.com/security/cve/CVE-2026-53081
- https://bugzilla.redhat.com/show_bug.cgi?id=2492322
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-53081.json



