# CVE-2026-45838: bpf: fix end-of-list detection in cgroup_storage_get_next_key()

Status: published. Published: 2026-05-27. Updated: 2026-11-06.

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

bpf: fix end-of-list detection in cgroup_storage_get_next_key()

list_next_entry() never returns NULL -- when the current element is the
last entry it wraps to the list head via container_of(). The subsequent
NULL check is therefore dead code and get_next_key() never returns
-ENOENT for the last element, instead reading storage->key from a bogus
pointer that aliases internal map fields and copying the result to
userspace.

Replace it with list_entry_is_head() so the function correctly returns
-ENOENT when there are no more entries.

## Remediation

No remediation reported in collected sources

## Affected products and versions

- Linux / Linux: ≥ de9cbbaadba5adf88a19e46df61f7054000838f6; < 0f3d9dd5e1fd52b39e25328307c6a694e994ffe3 (affected, git); ≥ de9cbbaadba5adf88a19e46df61f7054000838f6; < 26d3339e465e54107bd85884341d1609c5300d6a (affected, git); ≥ de9cbbaadba5adf88a19e46df61f7054000838f6; < 2c88b2d96e1d4d0c7c4589a4593d4cdee6d332d6 (affected, git); ≥ de9cbbaadba5adf88a19e46df61f7054000838f6; < b4b5a20bed82130da2f2818f04d52378952fbd0b (affected, git); ≥ de9cbbaadba5adf88a19e46df61f7054000838f6; < 85a2f30e40f7468db732f55659bc6318874f49af (affected, git); ≥ de9cbbaadba5adf88a19e46df61f7054000838f6; < 32ce55d424395904986f5066f8755f6cb9993377 (affected, git); ≥ de9cbbaadba5adf88a19e46df61f7054000838f6; < fc39753b7f92e09177777e9c648afe5aa3abb81f (affected, git); ≥ de9cbbaadba5adf88a19e46df61f7054000838f6; < 5828b9e5b272ecff7cf5d345128d3de7324117f7 (affected, git). Source: CNA: Linux
- Linux / Linux: 4.19 (affected); ≥ 0; < 4.19 (unaffected, semver); ≥ 5.10.258; ≤ 5.10.* (unaffected, semver); ≥ 5.15.209; ≤ 5.15.* (unaffected, semver); ≥ 6.1.175; ≤ 6.1.* (unaffected, semver); ≥ 6.6.141; ≤ 6.6.* (unaffected, semver); ≥ 6.12.91; ≤ 6.12.* (unaffected, semver); ≥ 6.18.33; ≤ 6.18.* (unaffected, semver); ≥ 7.0.10; ≤ 7.0.* (unaffected, semver); ≥ 7.1; ≤ * (unaffected, original_commit_for_fix). Source: CNA: Linux
- Siemens / SIMATIC S7-1500 TM MFP - GNU/Linux subsystem: ≥ 0; < * (affected, custom). Source: ADP: siemens-SADP

## Severity and prioritization

- CISA KEV: No listing in collected sources

- EPSS: 0.13% as of 2026-11-06; percentile 2.61%

- SSVC: exploitation none; automatable no; technical impact partial; source ADP: CISA-ADP

- Weaknesses: Not reported

## Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

## References

- https://git.kernel.org/stable/c/0f3d9dd5e1fd52b39e25328307c6a694e994ffe3 (CNA: Linux)

- https://git.kernel.org/stable/c/26d3339e465e54107bd85884341d1609c5300d6a (CNA: Linux)

- https://git.kernel.org/stable/c/2c88b2d96e1d4d0c7c4589a4593d4cdee6d332d6 (CNA: Linux)

- https://git.kernel.org/stable/c/b4b5a20bed82130da2f2818f04d52378952fbd0b (CNA: Linux)

- https://git.kernel.org/stable/c/85a2f30e40f7468db732f55659bc6318874f49af (CNA: Linux)

- https://git.kernel.org/stable/c/32ce55d424395904986f5066f8755f6cb9993377 (CNA: Linux)

- https://git.kernel.org/stable/c/fc39753b7f92e09177777e9c648afe5aa3abb81f (CNA: Linux)

- https://git.kernel.org/stable/c/5828b9e5b272ecff7cf5d345128d3de7324117f7 (CNA: Linux)

- https://cert-portal.siemens.com/productcert/html/ssa-784472.html (ADP: siemens-SADP)

## Provenance

- CNA: Linux: https://www.cve.org/CVERecord?id=CVE-2026-45838; retrieved 2026-11-06; source updated 2026-11-06

- FIRST EPSS: https://api.first.org/data/v1/epss?cve=CVE-2026-45838; retrieved 2026-11-06; source updated Not reported

Revision: 5cdc3be6691ec65a52c2cd3eb343eabf1d0cfca62709e08891d8304ba68a7607

Canonical: https://y2.dev/cve/CVE-2026-45838

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.