Bug 2536306 (CVE-2026-90300) - CVE-2026-90300 kernel: bpf: Clear buf on error in __bpf_get_task_stack
Summary: CVE-2026-90300 kernel: bpf: Clear buf on error in __bpf_get_task_stack
Keywords:
Status: NEW
Alias: CVE-2026-90300
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-09-17 17:18 UTC by OSIDB Bzimport
Modified: 2026-10-13 13:57 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-09-17 17:18:10 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.