CVE-2026-53081

Source
https://cve.org/CVERecord?id=CVE-2026-53081
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-53081.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-53081
Downstream
Published
2026-06-24T16:30:21.959Z
Modified
2026-07-15T01:48:54.350997784Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
bpf: Enforce regsafe base id consistency for BPF_ADD_CONST scalars
Details

In the Linux kernel, the following vulnerability has been resolved:

bpf: Enforce regsafe base id consistency for BPFADDCONST scalars

When regsafe() compares two scalar registers that both carry BPFADDCONST, checkscalarids() maps their full compound id (aka base | BPFADDCONST 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 BPFADDCONST is set: after mapping the compound ids, also invoke checkids() on the base IDs (flag bits stripped). This ensures that if A was already mapped to B from comparing the source register, any ADDCONST derivative must also derive from B, not an unrelated C.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53081.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
98d7ca374ba4b39e7535613d40e159f09ca14da2
Fixed
13c02881e49aac4c82b261faa26db9edf2567231
Fixed
691adf738817275368ed56311b7d798d617823a3
Fixed
7d73c72cccac651acc891377a5e623e4021c6380
Fixed
2f2ec8e7730e21fc9bd49e0de9cdd58213ea24d0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-53081.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.11.0
Fixed
6.12.91
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.33
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.0.10

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-53081.json"