Description
In the Linux kernel, the following vulnerability has been resolved:

bpf: Clear buf on error in __bpf_get_task_stack

Both bpf_get_task_stack and bpf_get_task_stack_sleepable helpers that
use __bpf_get_task_stack have buf defined as ARG_PTR_TO_UNINIT_MEM
argument and we should initialize the buf on every return path.

Adding missing buf memset for __bpf_get_task_stack fail paths. This
provides deterministic buffer contents, which is useful when the buffer
is used directly as a map key.
Published: 2026-09-17
Score: n/a
EPSS: < 1% Very Low
KEV: No
Impact: Information Disclosure
Action: Apply Patch
AI Analysis

Impact

During execution of the kernel BPF helper __bpf_get_task_stack, the buffer passed as an argument is cleared only on successful returns. On failure paths the buffer remains uninitialized, which can be reused as a map key. This fault allows a local attacker to read deterministic garbage values from memory that may contain sensitive information or to inject faulty map entries, potentially leading to information leakage or a denial‑of‑service disposition for kernel‑level map handling.

Affected Systems

The vulnerability affects Linux kernel builds that expose the bpf_get_task_stack and bpf_get_task_stack_sleepable helpers without the recent fix that adds a memset on error. Systems running a kernel released before the commit that introduced the clearing logic are susceptible. No product version list is provided in the advisory, so any kernel without the patch may be impacted.

Risk and Exploitability

The EPSS rating is very low (< 1%) and the flaw is not on CISA’s KEV list, suggesting limited exploitation activity. Attack likely requires local action to load a crafted BPF program that triggers the helper on an error condition to read the garbage buffer. The absence of a publicly documented exploit and the inferred necessity of local BPF privileges keep the overall risk classed as low for most environments.

Generated by OpenCVE AI on September 19, 2026 at 15:43 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply a kernel update that contains the __bpf_get_task_stack buffer clearance fix.
  • Restrict or disable untrusted BPF program loading by limiting CAP_BPF or employing seccomp policies to reduce local BPF execution rights.
  • If a sysctl interface exists to disable the vulnerable helper, configure it to prevent usage of the helper entirely.

Generated by OpenCVE AI on September 19, 2026 at 15:43 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 19 Sep 2026 16:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-758

Thu, 17 Sep 2026 16:30:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: bpf: Clear buf on error in __bpf_get_task_stack Both bpf_get_task_stack and bpf_get_task_stack_sleepable helpers that use __bpf_get_task_stack have buf defined as ARG_PTR_TO_UNINIT_MEM argument and we should initialize the buf on every return path. Adding missing buf memset for __bpf_get_task_stack fail paths. This provides deterministic buffer contents, which is useful when the buffer is used directly as a map key.
Title bpf: Clear buf on error in __bpf_get_task_stack
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-09-17T16:08:24.515Z

Reserved: 2026-09-11T19:38:34.799Z

Link: CVE-2026-90300

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-17T17:17:27.503

Modified: 2026-09-17T17:17:27.503

Link: CVE-2026-90300

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-19T15:45:16Z

Weaknesses
  • CWE-758

    Reliance on Undefined, Unspecified, or Implementation-Defined Behavior