CVE Catalog

CVE-2026-53081

HighCVSS 7.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.18%

7th percentile - higher than 7% of all known CVEs

Summary

In the Linux kernel's BPF subsystem, a vulnerability was found due to inconsistent ID mapping for scalar registers with the BPF_ADD_CONST flag. The regsafe() function fails to verify that underlying base IDs are consistent with existing mappings, potentially leading to incorrect verifier state pruning.

Risk Assessment

An attacker could exploit this flaw to bypass BPF security mechanisms, potentially gaining unauthorized access to kernel memory or escalating privileges.

Recommendation

It is recommended to immediately update the Linux kernel to a version containing the fix for this vulnerability.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS