{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "ab6c637ad0276e42f8acabcbc64932a6d346dab3"
            },
            {
              "fixed": "520454e839710c327808c2fcc98e28cee77355fc"
            },
            {
              "fixed": "0a36c1f72888bca0237295a4da19cd91821a90be"
            },
            {
              "fixed": "6982653ce5f119982aa58f1af58e7bfbebf39252"
            },
            {
              "fixed": "da1d615ce49a47986a8864e2371a26e97861085c"
            },
            {
              "fixed": "4d0a375887ab4d49e4da1ff10f9606cab8f7c3ad"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "af3d2e0f3a54e67806959d161e613457772babc5"
            },
            {
              "last_affected": "4782968e0d631b0d8944dcfd4bf8fb49be087101"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "6.4.16"
            },
            {
              "fixed": "6.5"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "6.5.3"
            },
            {
              "fixed": "6.6"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.6.0"
            },
            {
              "fixed": "6.6.141"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.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"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53032.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Fix NULL deref in map_kptr_match_type for scalar regs\n\nCommit ab6c637ad027 (\"bpf: Fix a bpf_kptr_xchg() issue with local\nkptr\") refactored map_kptr_match_type() to branch on btf_is_kernel()\nbefore checking base_type(). A scalar register stored into a kptr\nslot has no btf, so the btf_is_kernel(reg-\u003ebtf) call dereferences\nNULL.\n\nMove the base_type() != PTR_TO_BTF_ID guard before any reg-\u003ebtf\naccess.",
  "id": "CVE-2026-53032",
  "modified": "2026-07-16T03:31:14.922495410Z",
  "published": "2026-06-24T16:29:39.916Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/0a36c1f72888bca0237295a4da19cd91821a90be"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/4d0a375887ab4d49e4da1ff10f9606cab8f7c3ad"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/520454e839710c327808c2fcc98e28cee77355fc"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/6982653ce5f119982aa58f1af58e7bfbebf39252"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/da1d615ce49a47986a8864e2371a26e97861085c"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53032.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-53032"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.8.0",
  "summary": "bpf: Fix NULL deref in map_kptr_match_type for scalar regs"
}