← Back to CVE Explorer

CVE-2026-92515

Full vulnerability record from the local CVENow database.

Description

In the Linux kernel, the following vulnerability has been resolved: bpf: Preserve unique-field state across nested structs btf_find_struct_field() initializes a fresh seen mask for every recursive descent. Unique special fields in different levels of the same aggregate therefore do not see one another. The duplicate fields can reach btf_parse_fields(), where they trigger an invariant WARN_ON_ONCE(). A crafted user BTF can consequently trigger the warning before map creation checks capabilities. Initialize the seen mask once in btf_find_field() and pass the same pointer through struct, datasec, and nested-struct walks. This gives the entire field traversal one shared uniqueness state.

Severity
Not scored
CVSS score
Not available
Vulnerability status
Received
Source identifier
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Published
2026-09-17 17:17:54.360000
Last modified
2026-10-19 10:16:51.973000
View original CVE JSON
{
  "id": "CVE-2026-92515",
  "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
  "published": "2026-09-17T17:17:54.360",
  "lastModified": "2026-10-19T10:16:51.973",
  "vulnStatus": "Received",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Preserve unique-field state across nested structs\n\nbtf_find_struct_field() initializes a fresh seen mask for every recursive\ndescent. Unique special fields in different levels of the same aggregate\ntherefore do not see one another. The duplicate fields can reach\nbtf_parse_fields(), where they trigger an invariant WARN_ON_ONCE(). A\ncrafted user BTF can consequently trigger the warning before map creation\nchecks capabilities.\n\nInitialize the seen mask once in btf_find_field() and pass the same pointer\nthrough struct, datasec, and nested-struct walks. This gives the entire field\ntraversal one shared uniqueness state."
    }
  ],
  "affected": [
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "affectedData": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "programFiles": [
            "kernel/bpf/btf.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "64e8ee814819f21beeeda00d4119221443d77992",
              "lessThan": "cec97102d4147e18568c93946014c4c8ebf86fcf",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "64e8ee814819f21beeeda00d4119221443d77992",
              "lessThan": "28d5f20ed022ade0fb0bfbf50b78fec782083175",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "64e8ee814819f21beeeda00d4119221443d77992",
              "lessThan": "373a1e9366e711b89bc5e45bd6edf33ef62402cd",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "64e8ee814819f21beeeda00d4119221443d77992",
              "lessThan": "f08619f060468076e4acbdc10e0713af20d60e65",
              "versionType": "git",
              "status": "affected"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "programFiles": [
            "kernel/bpf/btf.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "6.11",
              "status": "affected"
            },
            {
              "version": "0",
              "lessThan": "6.11",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.12.110",
              "lessThanOrEqual": "6.12.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.18.52",
              "lessThanOrEqual": "6.18.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "7.2.6",
              "lessThanOrEqual": "7.2.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "7.3",
              "lessThanOrEqual": "*",
              "versionType": "original_commit_for_fix",
              "status": "unaffected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {},
  "references": [
    {
      "url": "https://git.kernel.org/stable/c/28d5f20ed022ade0fb0bfbf50b78fec782083175",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/373a1e9366e711b89bc5e45bd6edf33ef62402cd",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/cec97102d4147e18568c93946014c4c8ebf86fcf",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/f08619f060468076e4acbdc10e0713af20d60e65",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    }
  ]
}