CVE-2026-43333 (GCVE-0-2026-43333)

Vulnerability from cvelistv5 – Published: 2026-05-08 13:31 – Updated: 2026-05-08 13:31
VLAI?
Title
bpf: reject direct access to nullable PTR_TO_BUF pointers
Summary
In the Linux kernel, the following vulnerability has been resolved: bpf: reject direct access to nullable PTR_TO_BUF pointers check_mem_access() matches PTR_TO_BUF via base_type() which strips PTR_MAYBE_NULL, allowing direct dereference without a null check. Map iterator ctx->key and ctx->value are PTR_TO_BUF | PTR_MAYBE_NULL. On stop callbacks these are NULL, causing a kernel NULL dereference. Add a type_may_be_null() guard to the PTR_TO_BUF branch, matching the existing PTR_TO_BTF_ID pattern.
Severity ?
No CVSS data available.
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: b453361384c2db1c703dacb806d5fd36aec4ceca , < 10bc4a4dcded509c5d5c67d497900c3922c604cd (git)
Affected: 20b2aff4bc15bda809f994761d5719827d66c0b4 , < 21a10c06ffae24cb01fd174a7ab7736001d2ea56 (git)
Affected: 20b2aff4bc15bda809f994761d5719827d66c0b4 , < 8755066f7bd0f4ac46a29d1708c7b20894539252 (git)
Affected: 20b2aff4bc15bda809f994761d5719827d66c0b4 , < 70abd9d118da2f56beb4ec22e3a29becae373535 (git)
Affected: 20b2aff4bc15bda809f994761d5719827d66c0b4 , < 63276547debc4d8a73eefb2c5273b2a905c961b0 (git)
Affected: 20b2aff4bc15bda809f994761d5719827d66c0b4 , < 4f6c99dc0420f1a3d671c1b8ab8a7ac84d9cba09 (git)
Affected: 20b2aff4bc15bda809f994761d5719827d66c0b4 , < b0db1accbc7395657c2b79db59fa9fae0d6656f3 (git)
Affected: e982070f8970bb62e69ed7c9cafff886ed200349 (git)
Create a notification for this product.
    Linux Linux Affected: 5.17
Unaffected: 0 , < 5.17 (semver)
Unaffected: 5.15.203 , ≤ 5.15.* (semver)
Unaffected: 6.1.168 , ≤ 6.1.* (semver)
Unaffected: 6.6.134 , ≤ 6.6.* (semver)
Unaffected: 6.12.81 , ≤ 6.12.* (semver)
Unaffected: 6.18.22 , ≤ 6.18.* (semver)
Unaffected: 6.19.12 , ≤ 6.19.* (semver)
Unaffected: 7.0 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "kernel/bpf/verifier.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "10bc4a4dcded509c5d5c67d497900c3922c604cd",
              "status": "affected",
              "version": "b453361384c2db1c703dacb806d5fd36aec4ceca",
              "versionType": "git"
            },
            {
              "lessThan": "21a10c06ffae24cb01fd174a7ab7736001d2ea56",
              "status": "affected",
              "version": "20b2aff4bc15bda809f994761d5719827d66c0b4",
              "versionType": "git"
            },
            {
              "lessThan": "8755066f7bd0f4ac46a29d1708c7b20894539252",
              "status": "affected",
              "version": "20b2aff4bc15bda809f994761d5719827d66c0b4",
              "versionType": "git"
            },
            {
              "lessThan": "70abd9d118da2f56beb4ec22e3a29becae373535",
              "status": "affected",
              "version": "20b2aff4bc15bda809f994761d5719827d66c0b4",
              "versionType": "git"
            },
            {
              "lessThan": "63276547debc4d8a73eefb2c5273b2a905c961b0",
              "status": "affected",
              "version": "20b2aff4bc15bda809f994761d5719827d66c0b4",
              "versionType": "git"
            },
            {
              "lessThan": "4f6c99dc0420f1a3d671c1b8ab8a7ac84d9cba09",
              "status": "affected",
              "version": "20b2aff4bc15bda809f994761d5719827d66c0b4",
              "versionType": "git"
            },
            {
              "lessThan": "b0db1accbc7395657c2b79db59fa9fae0d6656f3",
              "status": "affected",
              "version": "20b2aff4bc15bda809f994761d5719827d66c0b4",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "e982070f8970bb62e69ed7c9cafff886ed200349",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "kernel/bpf/verifier.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.17"
            },
            {
              "lessThan": "5.17",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.203",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.168",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.134",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.81",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.22",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.19.*",
              "status": "unaffected",
              "version": "6.19.12",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.0",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.203",
                  "versionStartIncluding": "5.15.37",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.168",
                  "versionStartIncluding": "5.17",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.134",
                  "versionStartIncluding": "5.17",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.81",
                  "versionStartIncluding": "5.17",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.22",
                  "versionStartIncluding": "5.17",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.19.12",
                  "versionStartIncluding": "5.17",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.0",
                  "versionStartIncluding": "5.17",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "5.16.11",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "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."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-05-08T13:31:20.107Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/10bc4a4dcded509c5d5c67d497900c3922c604cd"
        },
        {
          "url": "https://git.kernel.org/stable/c/21a10c06ffae24cb01fd174a7ab7736001d2ea56"
        },
        {
          "url": "https://git.kernel.org/stable/c/8755066f7bd0f4ac46a29d1708c7b20894539252"
        },
        {
          "url": "https://git.kernel.org/stable/c/70abd9d118da2f56beb4ec22e3a29becae373535"
        },
        {
          "url": "https://git.kernel.org/stable/c/63276547debc4d8a73eefb2c5273b2a905c961b0"
        },
        {
          "url": "https://git.kernel.org/stable/c/4f6c99dc0420f1a3d671c1b8ab8a7ac84d9cba09"
        },
        {
          "url": "https://git.kernel.org/stable/c/b0db1accbc7395657c2b79db59fa9fae0d6656f3"
        }
      ],
      "title": "bpf: reject direct access to nullable PTR_TO_BUF pointers",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-43333",
    "datePublished": "2026-05-08T13:31:20.107Z",
    "dateReserved": "2026-05-01T14:12:56.002Z",
    "dateUpdated": "2026-05-08T13:31:20.107Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-43333",
      "date": "2026-05-09",
      "epss": "0.00024",
      "percentile": "0.07036"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-43333\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-05-08T14:16:43.003\",\"lastModified\":\"2026-05-08T14:16:43.003\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"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.\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/10bc4a4dcded509c5d5c67d497900c3922c604cd\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/21a10c06ffae24cb01fd174a7ab7736001d2ea56\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/4f6c99dc0420f1a3d671c1b8ab8a7ac84d9cba09\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/63276547debc4d8a73eefb2c5273b2a905c961b0\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/70abd9d118da2f56beb4ec22e3a29becae373535\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/8755066f7bd0f4ac46a29d1708c7b20894539252\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/b0db1accbc7395657c2b79db59fa9fae0d6656f3\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}"
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…