# bpf: Clear buf on error in \_\_bpf_get_task_stack

CVE record · `CVE-2026-90300`

- **Identifiers:** `CVE-2026-90300`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 17 Sept 2026
- **Updated:** 30 Oct 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 17 Sept 2026, 16:08 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `06ab134ce8ecfa5a69e850f88f81c8a4c3fa91df to before 5c4c57a277a87ed235183d03b671d346f5101f62` (git)
  - affected: `06ab134ce8ecfa5a69e850f88f81c8a4c3fa91df to before 4acc761b4e3feca1eb648d21fc4d665b23c5372d` (git)
  - affected: `06ab134ce8ecfa5a69e850f88f81c8a4c3fa91df to before 6f5a7bcc049709af12e403111d5e73e80910dafc` (git)
  - affected: `06ab134ce8ecfa5a69e850f88f81c8a4c3fa91df to before 1f0f61573ba4cb899105b5cef65be3ca02205f93` (git)
  - affected: `06ab134ce8ecfa5a69e850f88f81c8a4c3fa91df to before f523359c4789bb0396d2d642464a6e2fd4f2299d` (git)
  - affected: `06ab134ce8ecfa5a69e850f88f81c8a4c3fa91df to before f5d242825ca417bb6afe35fde6e8880f97ca43fb` (git)
  - affected: `d921baabd96445ef9c9c9410ca06164359c8a1a5` (git)
  - affected: `9c020a533eaae1c2d41a7e3835c4c818a9b4b656` (git)
  - affected: `ff6bdc205fd0a83bd365405d4e31fb5905826996` (git)
  - affected: `5.10.30 to before 5.11` (semver)
  - affected: `5.11.14 to before 5.12` (semver)
  - affected: `5.10.96 to before 5.11` (semver)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `5.12`
  - unaffected: `before 5.12` (semver)
  - unaffected: `6.1.191 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.160 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.114 to 6.12.*, inclusive` (semver)
  - unaffected: `6.18.57 to 6.18.*, inclusive` (semver)
  - unaffected: `7.2.6 to 7.2.*, inclusive` (semver)
  - unaffected: `7.3 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> The Linux kernel BPF helper \`\_\_bpf_get_task_stack\`, used by \`bpf_get_task_stack\` and \`bpf_get_task_stack_sleepable\`, can leave its output buffer uninitialized on error paths. Versions from 5.12 up to the fixed releases are affected. The source gives few details on what an attacker could do with this. Upgrade to 6.1.191, 6.6.160, 6.12.114, or 6.18.57 (or later in those branches), or to a kernel release that includes the fix.

Written 12 Nov 2026.

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

No source has published a CVSS score for this record yet.

- **CISA KEV:** Not listed.
- **EPSS:** 0.0021, the 10th percentile, on 13 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the CVE Program, published 17 Sept 2026. New records show when each source confirmed them.

## Sources

- [CVE List: CVE-2026-90300](https://www.cve.org/CVERecord?id=CVE-2026-90300)
- [NVD: CVE-2026-90300](https://nvd.nist.gov/vuln/detail/CVE-2026-90300)

### References from the CNA

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

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2026-90300>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2026-90300/>. Everything for agents: <https://agentprime.io/llms.txt>.
