CVE-2026-53081bpf: Enforce regsafe base id consistency for BPF_ADD_CONST scalars
Updated under an hour ago ()
Does this affect you?
It affects Linux and 2 other products. Add what you run to find out whether that includes you.
No exploitation reported and no EPSS estimate yet.
Do this next
Free account, 1 product
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
- 7.8 HIGH (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Weakness (CWE)
- CWE-386
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- Not loaded for this CVE
- Assigned by
- Linux
- NVD analysis
- Analyzed
- Record last updated
- Oct 16, 2026
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
Linux Linux linux:linux (from the name) | 98d7ca374ba4b39e7535613d40e159f09ca14da2 builds before 13c02881e49aac4c82b261faa26db9edf2567231; from 98d7ca374ba4b39e7535613d40e159f09ca14da2 before 691adf738817275368ed56311b7d798d617823a3; 98d7ca374ba4b39e7535613d40e159f09ca14da2 builds before 7d73c72cccac651acc891377a5e623e4021c6380; 98d7ca374ba4b39e7535613d40e159f09ca14da2 builds before 2f2ec8e7730e21fc9bd49e0de9cdd58213ea24d0 | CNA record |
Red Hat Red Hat Enterprise Linux 10 redhat:enterprise_linux | 10 | CISA ADP |
linux linux_kernel linux:linux_kernel | from 6.11 before 6.12.91; from 6.13 before 6.18.33; from 6.19 before 7.0.10 | NVD |
References
- https://git.kernel.org/stable/c/13c02881e49aac4c82b261faa26db9edf2567231patch
- https://git.kernel.org/stable/c/691adf738817275368ed56311b7d798d617823a3patch
- https://git.kernel.org/stable/c/7d73c72cccac651acc891377a5e623e4021c6380patch
- https://git.kernel.org/stable/c/2f2ec8e7730e21fc9bd49e0de9cdd58213ea24d0patch
- https://access.redhat.com/security/cve/CVE-2026-53081third-party-advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2492322third-party-advisory
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-53081.jsonthird-party-advisory
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.