# CVE-2026-90300: bpf: Clear buf on error in __bpf_get_task_stack

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 12% of CVEs (2026-12-01)
- Published: 2026-09-17T16:08:24.515Z
- Modified: 2026-10-30T13:20:48.903Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 06ab134ce8ecfa5a69e850f88f81c8a4c3fa91df before 5c4c57a277a87ed235183d03b671d346f5101f62; from 06ab134ce8ecfa5a69e850f88f81c8a4c3fa91df before 4acc761b4e3feca1eb648d21fc4d665b23c5372d; from 06ab134ce8ecfa5a69e850f88f81c8a4c3fa91df before 6f5a7bcc049709af12e403111d5e73e80910dafc; from 06ab134ce8ecfa5a69e850f88f81c8a4c3fa91df before 1f0f61573ba4cb899105b5cef65be3ca02205f93; from 06ab134ce8ecfa5a69e850f88f81c8a4c3fa91df before f523359c4789bb0396d2d642464a6e2fd4f2299d; from 06ab134ce8ecfa5a69e850f88f81c8a4c3fa91df before f5d242825ca417bb6afe35fde6e8880f97ca43fb; d921baabd96445ef9c9c9410ca06164359c8a1a5; 9c020a533eaae1c2d41a7e3835c4c818a9b4b656; ff6bdc205fd0a83bd365405d4e31fb5905826996; from 5.10.30 before 5.11; from 5.11.14 before 5.12; from 5.10.96 before 5.11; and 1 more (not affected: before 5.12; from 6.1.191 up to 6.1.*; from 6.6.160 up to 6.6.*; from 6.12.114 up to 6.12.*; from 6.18.57 up to 6.18.*; from 7.2.6 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/5c4c57a277a87ed235183d03b671d346f5101f62>
- <https://git.kernel.org/stable/c/4acc761b4e3feca1eb648d21fc4d665b23c5372d>
- <https://git.kernel.org/stable/c/6f5a7bcc049709af12e403111d5e73e80910dafc>
- <https://git.kernel.org/stable/c/1f0f61573ba4cb899105b5cef65be3ca02205f93>
- <https://git.kernel.org/stable/c/f523359c4789bb0396d2d642464a6e2fd4f2299d>
- <https://git.kernel.org/stable/c/f5d242825ca417bb6afe35fde6e8880f97ca43fb>

## Sources

- CVE List: [CVE-2026-90300](https://www.cve.org/CVERecord?id=CVE-2026-90300), CVE Terms of Use, modified 2026-10-30
- NVD: [CVE-2026-90300](https://nvd.nist.gov/vuln/detail/CVE-2026-90300), Public domain, modified 2026-10-30

---

Page: https://cve.day/CVE-2026-90300 · Whole record: https://cve.day/CVE-2026-90300.json · Rebuilt by cve.day 2026-11-25T22:59:39.375Z
