Skip to content
Heist/ feed
Unrated

bpf: Mark faultable stack helpers as sleepable

Type: advisorySource: Official CVE List1 source record

In the Linux kernel, the following vulnerability has been resolved: bpf: Mark faultable stack helpers as sleepable The faultable variants of bpf_get_stack() and bpf_get_task_stack() pass may_fault=true into the common stack collection code. Resolving user-space build IDs may then call build_id_parse_file() and block on filesystem reads. Neither helper prototype sets might_sleep. Since prototype selection uses the sleepability of the whole program, the verifier can still allow these helpers from a non-sleepable region within that program, such as an explicit RCU or preemption-disabled region. The task-stack helper can also be called from a non-sleepable timer callback of a sleepable program. Mark both faultable prototypes as sleepable. The existing helper context check then rejects these calls while continuing to allow them in genuinely sleepable contexts.

Announced Source revision 1
Original source ↗

CVE-2026-98045

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-98045

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": "d4dd9775ec242425576af93daadb80a34083a53c",
        "lessThan": "44b8d370f2725bad215da3e67668e98ba96671bd",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "d4dd9775ec242425576af93daadb80a34083a53c",
        "lessThan": "3014e8a8bdad55075d89836ad9c10710a9a69837",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "d4dd9775ec242425576af93daadb80a34083a53c",
        "lessThan": "19e8d5a98afd071d8c1c5adeccf92b3c42eddc70",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "d4dd9775ec242425576af93daadb80a34083a53c",
        "lessThan": "9d02927fdf4e930893c92e35fed01a2704496900",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "kernel/bpf/stackmap.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "6.12"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "6.12",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "6.12.111",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.18.53",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "7.2.7",
        "versionType": "semver",
        "lessThanOrEqual": "7.2.*"
      },
      {
        "status": "unaffected",
        "version": "7.3",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "kernel/bpf/stackmap.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-98045

Source reference: /cveMetadata/cveId

Publisher severity

No explicit severity was provided.

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