Linux KernelOperating system · Linux

CVE-2026-53081

HIGH · 7.8 CVSS v3.1 Published 2026-06-24
Fix available
A fix is available. Upgrade to 6.12.91 / 6.18.33 or later.
See remediation →
80/100
Remediation priority · High
Zero-click Patch available

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
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.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

A logic flaw in the Linux kernel's BPF verifier allows incorrect state pruning when comparing scalar registers with BPF_ADD_CONST. The check_scalar_ids() function maps compound IDs but fails to verify base ID consistency, enabling unrelated base IDs to map incorrectly and bypass verification.

MitigationApply the kernel patch that adds base ID verification when BPF_ADD_CONST is present; test BPF programs thoroughly to ensure verifier correctness.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
Linux KernelOperating system
Affected:>= 6.11, < 6.12.91>= 6.13, < 6.18.33>= 6.19, < 7.0.10

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Local
Complexity
Low
Privileges
Low
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Verify BPF subsystem is available
    Run 'ls /sys/kernel/debug/tracing' or 'ls /proc/sys/kernel/bpf_stats_enabled' to confirm BPF is present in the kernel
    Affected if BPF is not available in the kernel, the vulnerability does not apply
  2. Check kernel version against fixed releases
    Run 'uname -r' to get the running kernel version, then compare against the version that includes the base ID consistency fix in regsafe()
    Affected if The kernel version is older than the version containing the CVE fix and BPF is enabled
  3. Determine if BPF is accessible to untrusted users
    Check /proc/sys/kernel/unprivileged_bpf_disabled (value 0 means enabled, 1 means disabled) and review /etc/security/limits.conf for any BPF-related user limits
    Affected if Value is 0 (enabled) and untrusted local users can execute BPF programs, exposing the attack surface
  4. Check for BPF JIT compiler status
    Run 'cat /proc/sys/net/core/bpf_jit_enable' to see if JIT is enabled (values 1 or 2)
    Affected if JIT is enabled and BPF is accessible to users, making the exploitation path more feasible
  5. Review BPF capability assignments
    Use 'getent group bpf' and check 'capsh --print' for current user to see if CAP_BPF or CAP_SYS_ADMIN are granted to non-root users
    Affected if Non-root users have BPF capabilities without explicit restrictions, enabling the attack vector

The environment is affected if the kernel version is older than the patched version, BPF subsystem is active, and untrusted users have access to execute BPF programs.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

From vendor data
Upgrade available Upgrade to 6.12.91 / 6.18.33 / 7.0.10 or later
Fixed in 6.12.916.18.337.0.10
Vendor patch git.kernel.org →
Interim mitigation

Apply the kernel patch that adds base ID verification when BPF_ADD_CONST is present; test BPF programs thoroughly to ensure verifier correctness.

Fix this in Linux Kernel Scoped from the published advisory
  • Consultation4.0 h
  • Implementation8.0 h
  • Testing12.0 h
  • Review / QA6.0 h
30.0 hours of engineering $5,120
Get the upgrade done

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $8,192.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2026-53081 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2026-53081 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data