{
  "id": "CVE-2026-53081",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-53081",
  "published_at": "2026-06-24T16:30:21.959Z",
  "title": "bpf: Enforce regsafe base id consistency for BPF_ADD_CONST scalars",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Enforce regsafe base id consistency for BPF_ADD_CONST scalars\n\nWhen regsafe() compares two scalar registers that both carry\nBPF_ADD_CONST, check_scalar_ids() maps their full compound id\n(aka base | BPF_ADD_CONST flag) as one idmap entry. However,\nit never verifies that the underlying base ids, that is, with\nthe flag stripped are consistent with existing idmap mappings.\n\nThis allows construction of two verifier states where the old\nstate has R3 = R2 + 10 (both sharing base id A) while the current\nstate has R3 = R4 + 10 (base id C, unrelated to R2). The idmap\ncreates two independent entries: A-\u003eB (for R2) and A|flag-\u003eC|flag\n(for R3), without catching that A-\u003eC conflicts with A-\u003eB. State\npruning then incorrectly succeeds.\n\nFix this by additionally verifying base ID mapping consistency\nwhenever BPF_ADD_CONST is set: after mapping the compound ids,\nalso invoke check_ids() on the base IDs (flag bits stripped).\nThis ensures that if A was already mapped to B from comparing\nthe source register, any ADD_CONST derivative must also derive\nfrom B, not an unrelated C.",
  "cwe": "CWE-386",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 98d7ca374ba4b39e7535613d40e159f09ca14da2, \u003c 13c02881e49aac4c82b261faa26db9edf2567231",
          "\u003e= 98d7ca374ba4b39e7535613d40e159f09ca14da2, \u003c 691adf738817275368ed56311b7d798d617823a3",
          "\u003e= 98d7ca374ba4b39e7535613d40e159f09ca14da2, \u003c 7d73c72cccac651acc891377a5e623e4021c6380",
          "\u003e= 98d7ca374ba4b39e7535613d40e159f09ca14da2, \u003c 2f2ec8e7730e21fc9bd49e0de9cdd58213ea24d0"
        ],
        "fixed_in": [
          "13c02881e49aac4c82b261faa26db9edf2567231",
          "691adf738817275368ed56311b7d798d617823a3",
          "7d73c72cccac651acc891377a5e623e4021c6380",
          "2f2ec8e7730e21fc9bd49e0de9cdd58213ea24d0"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "6.11"
        ],
        "fixed_in": [
          "0",
          "6.12.91",
          "6.18.33",
          "7.0.10",
          "7.1"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 13c02881e49aac4c82b261faa26db9edf2567231 or 691adf738817275368ed56311b7d798d617823a3 or 7d73c72cccac651acc891377a5e623e4021c6380 or 2f2ec8e7730e21fc9bd49e0de9cdd58213ea24d0 or later.",
      "Upgrade Linux to 0 or 6.12.91 or 6.18.33 or 7.0.10 or 7.1 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
