Skip to content
Heist/ feed
High

bpf: Fix vmlinux BTF prep race in bpf_get_btf_vmlinux

Type: advisorySource: Official CVE List1 source record

In the Linux kernel, the following vulnerability has been resolved: bpf: Fix vmlinux BTF prep race in bpf_get_btf_vmlinux bpf_get_btf_vmlinux() lazily parses the vmlinux BTF under the bpf_verifier_lock, but publishes the result through a plain store and re-checks it through a plain lockless load. Nothing orders the stores initializing the struct btf inside btf_parse_vmlinux() against the store publishing the pointer: On a weakly ordered arch, a concurrent first-time caller taking the lockless fast path could in principle observe the pointer before the parsed contents are visible. The mutex_unlock() does not help such a reader given it only synchronizes with a later acquisition of the same lock. Thus, publish the pointer with smp_store_release() and read it on the fast path with smp_load_acquire(). Acquire semantics are needed rather than a dependency-ordered READ_ONCE(): btf_parse_vmlinux() also populates globals outside the returned object (e.g. bpf_ctx_convert.t). An address dependency would only order accesses performed through the pointer and not cover other globals.

Announced Source revision 1
Original source ↗

CVE-2026-93138

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-93138

Linux

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Linux

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "8580ac9404f6240668a026785d7d8856f0530409",
        "lessThan": "f32a4a40bc635be25d6816da4bd91e9e58c31bf3",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "8580ac9404f6240668a026785d7d8856f0530409",
        "lessThan": "a7fe72d780122eb934536f1719abad445f6afdf7",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "8580ac9404f6240668a026785d7d8856f0530409",
        "lessThan": "e18a10b39c994f04e1ebd7f8fc042bb1ca8ad053",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "8580ac9404f6240668a026785d7d8856f0530409",
        "lessThan": "978524ecfc1c539282df5858de1eec20748c6f74",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "8580ac9404f6240668a026785d7d8856f0530409",
        "lessThan": "eaf302628a78806f66d8224d6ba03fb4d5025de4",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "8580ac9404f6240668a026785d7d8856f0530409",
        "lessThan": "2892f3f44bf865c8fb6b6c0960edec4cc91806ee",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "8580ac9404f6240668a026785d7d8856f0530409",
        "lessThan": "86d11c594d60b255b526fa5260f669463fb1a063",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "8580ac9404f6240668a026785d7d8856f0530409",
        "lessThan": "92863e678070f57c17c868e4bfa2441a5c61ad2b",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "kernel/bpf/verifier.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "5.5"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "5.5",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "5.10.270",
        "versionType": "semver",
        "lessThanOrEqual": "5.10.*"
      },
      {
        "status": "unaffected",
        "version": "5.15.221",
        "versionType": "semver",
        "lessThanOrEqual": "5.15.*"
      },
      {
        "status": "unaffected",
        "version": "6.1.188",
        "versionType": "semver",
        "lessThanOrEqual": "6.1.*"
      },
      {
        "status": "unaffected",
        "version": "6.6.157",
        "versionType": "semver",
        "lessThanOrEqual": "6.6.*"
      },
      {
        "status": "unaffected",
        "version": "6.12.110",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.18.52",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "7.2.6",
        "versionType": "semver",
        "lessThanOrEqual": "7.2.*"
      },
      {
        "status": "unaffected",
        "version": "7.3",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "kernel/bpf/verifier.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-93138

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

Event
#37859 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement