{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "b453361384c2db1c703dacb806d5fd36aec4ceca"
            },
            {
              "fixed": "10bc4a4dcded509c5d5c67d497900c3922c604cd"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "20b2aff4bc15bda809f994761d5719827d66c0b4"
            },
            {
              "fixed": "21a10c06ffae24cb01fd174a7ab7736001d2ea56"
            },
            {
              "fixed": "8755066f7bd0f4ac46a29d1708c7b20894539252"
            },
            {
              "fixed": "70abd9d118da2f56beb4ec22e3a29becae373535"
            },
            {
              "fixed": "63276547debc4d8a73eefb2c5273b2a905c961b0"
            },
            {
              "fixed": "4f6c99dc0420f1a3d671c1b8ab8a7ac84d9cba09"
            },
            {
              "fixed": "b0db1accbc7395657c2b79db59fa9fae0d6656f3"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "e982070f8970bb62e69ed7c9cafff886ed200349"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "5.15.37"
            },
            {
              "fixed": "5.15.203"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "5.16.11"
            },
            {
              "fixed": "5.17"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "5.15.203"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.16.0"
            },
            {
              "fixed": "6.1.168"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.17.0"
            },
            {
              "fixed": "6.6.134"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.2.0"
            },
            {
              "fixed": "6.12.81"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.18.22"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.19.12"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/43xxx/CVE-2026-43333.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: reject direct access to nullable PTR_TO_BUF pointers\n\ncheck_mem_access() matches PTR_TO_BUF via base_type() which strips\nPTR_MAYBE_NULL, allowing direct dereference without a null check.\n\nMap iterator ctx-\u003ekey and ctx-\u003evalue are PTR_TO_BUF | PTR_MAYBE_NULL.\nOn stop callbacks these are NULL, causing a kernel NULL dereference.\n\nAdd a type_may_be_null() guard to the PTR_TO_BUF branch, matching the\nexisting PTR_TO_BTF_ID pattern.",
  "id": "CVE-2026-43333",
  "modified": "2026-08-12T03:51:40.528620924Z",
  "published": "2026-05-08T13:31:20.107Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/10bc4a4dcded509c5d5c67d497900c3922c604cd"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/21a10c06ffae24cb01fd174a7ab7736001d2ea56"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/4f6c99dc0420f1a3d671c1b8ab8a7ac84d9cba09"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/63276547debc4d8a73eefb2c5273b2a905c961b0"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/70abd9d118da2f56beb4ec22e3a29becae373535"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/8755066f7bd0f4ac46a29d1708c7b20894539252"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/b0db1accbc7395657c2b79db59fa9fae0d6656f3"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/43xxx/CVE-2026-43333.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-43333"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.0",
  "summary": "bpf: reject direct access to nullable PTR_TO_BUF pointers"
}