# CVE-2026-45838: bpf: fix end-of-list detection in cgroup\_storage\_get\_next\_key()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.17% (percentile 3, 2026-11-28)
- **CWE:** CWE-476
- **Published:** 2026-05-27T09:24:36.561Z
- **Modified:** 2026-11-06T16:18:45.627Z

## Who should check

- Anyone running Linux \>= de9cbbaadba5adf88a19e46df61f7054000838f6, \< 0f3d9dd5e1fd52b39e25328307c6a694e994ffe3; \>= de9cbbaadba5adf88a19e46df61f7054000838f6, \< 26d3339e465e54107bd85884341d1609c5300d6a; \>= de9cbbaadba5adf88a19e46df61f7054000838f6, \< 2c88b2d96e1d4d0c7c4589a4593d4cdee6d332d6; \>= de9cbbaadba5adf88a19e46df61f7054000838f6, \< b4b5a20bed82130da2f2818f04d52378952fbd0b; \>= de9cbbaadba5adf88a19e46df61f7054000838f6, \< 85a2f30e40f7468db732f55659bc6318874f49af; \>= de9cbbaadba5adf88a19e46df61f7054000838f6, \< 32ce55d424395904986f5066f8755f6cb9993377; \>= de9cbbaadba5adf88a19e46df61f7054000838f6, \< fc39753b7f92e09177777e9c648afe5aa3abb81f; \>= de9cbbaadba5adf88a19e46df61f7054000838f6, \< 5828b9e5b272ecff7cf5d345128d3de7324117f7
- Anyone running Linux 4.19

## Description

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.

## Affected and fixed versions

- Linux: \>= de9cbbaadba5adf88a19e46df61f7054000838f6, \< 0f3d9dd5e1fd52b39e25328307c6a694e994ffe3; \>= de9cbbaadba5adf88a19e46df61f7054000838f6, \< 26d3339e465e54107bd85884341d1609c5300d6a; \>= de9cbbaadba5adf88a19e46df61f7054000838f6, \< 2c88b2d96e1d4d0c7c4589a4593d4cdee6d332d6; \>= de9cbbaadba5adf88a19e46df61f7054000838f6, \< b4b5a20bed82130da2f2818f04d52378952fbd0b; \>= de9cbbaadba5adf88a19e46df61f7054000838f6, \< 85a2f30e40f7468db732f55659bc6318874f49af; \>= de9cbbaadba5adf88a19e46df61f7054000838f6, \< 32ce55d424395904986f5066f8755f6cb9993377; \>= de9cbbaadba5adf88a19e46df61f7054000838f6, \< fc39753b7f92e09177777e9c648afe5aa3abb81f; \>= de9cbbaadba5adf88a19e46df61f7054000838f6, \< 5828b9e5b272ecff7cf5d345128d3de7324117f7 (cvelist)
- Linux: 4.19 (cvelist)

## Mitigation

- Upgrade Linux to 5828b9e5b272ecff7cf5d345128d3de7324117f7 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-45838. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-45838.md
Affected: Linux >= de9cbbaadba5adf88a19e46df61f7054000838f6, < 0f3d9dd5e1fd52b39e25328307c6a694e994ffe3; >= de9cbbaadba5adf88a19e46df61f7054000838f6, < 26d3339e465e54107bd85884341d1609c5300d6a; >= de9cbbaadba5adf88a19e46df61f7054000838f6, < 2c88b2d96e1d4d0c7c4589a4593d4cdee6d332d6; >= de9cbbaadba5adf88a19e46…
Fixed in: Linux 0f3d9dd5e1fd52b39e25328307c6a694e994ffe3, Linux 26d3339e465e54107bd85884341d1609c5300d6a, Linux 2c88b2d96e1d4d0c7c4589a4593d4cdee6d332d6, Linux 85a2f30e40f7468db732f55659bc6318874f49af, Linux 32ce55d424395904986f5066f8755f6cb9993377, Linux 5828b9e5b272ecff7cf5d345128d3de7324117f7

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-45838 being exploited?

There is no confirmed exploitation: CVE-2026-45838 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.17% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-45838?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-45838?

Linux \>= de9cbbaadba5adf88a19e46df61f7054000838f6, \< 0f3d9dd5e1fd52b39e25328307c6a694e994ffe3; \>= de9cbbaadba5adf88a19e46df61f7054000838f6, \< 26d3339e465e54107bd85884341d1609c5300d6a; \>= de9cbbaadba5adf88a19e46df61f7054000838f6, \< 2c88b2d96e1d4d0c7c4589a4593d4cdee6d332d6; \>= de9cbbaadba5adf88a19e46df61f7054000838f6, \< b4b5a20bed82130da2f2818f04d52378952fbd0b; \>= de9cbbaadba5adf88a19e46df61f7054000838f6, \< 85a2f30e40f7468db732f55659bc6318874f49af; \>= de9cbbaadba5adf88a19e46df61f7054000838f6, \< 32ce55d424395904986f5066f8755f6cb9993377; \>= de9cbbaadba5adf88a19e46df61f7054000838f6, \< fc39753b7f92e09177777e9c648afe5aa3abb81f; \>= de9cbbaadba5adf88a19e46df61f7054000838f6, \< 5828b9e5b272ecff7cf5d345128d3de7324117f7; Linux 4.19.

### Is there a fix for CVE-2026-45838?

Yes. Fixed in Linux 0f3d9dd5e1fd52b39e25328307c6a694e994ffe3, Linux 26d3339e465e54107bd85884341d1609c5300d6a, Linux 2c88b2d96e1d4d0c7c4589a4593d4cdee6d332d6, Linux 85a2f30e40f7468db732f55659bc6318874f49af, Linux 32ce55d424395904986f5066f8755f6cb9993377, Linux 5828b9e5b272ecff7cf5d345128d3de7324117f7. Upgrade Linux to 5828b9e5b272ecff7cf5d345128d3de7324117f7 or later.

### How do I check if I'm affected by CVE-2026-45838?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/0f3d9dd5e1fd52b39e25328307c6a694e994ffe3>
- patch: <https://git.kernel.org/stable/c/26d3339e465e54107bd85884341d1609c5300d6a>
- patch: <https://git.kernel.org/stable/c/2c88b2d96e1d4d0c7c4589a4593d4cdee6d332d6>
- patch: <https://git.kernel.org/stable/c/b4b5a20bed82130da2f2818f04d52378952fbd0b>
- patch: <https://git.kernel.org/stable/c/85a2f30e40f7468db732f55659bc6318874f49af>
- patch: <https://git.kernel.org/stable/c/32ce55d424395904986f5066f8755f6cb9993377>
- patch: <https://git.kernel.org/stable/c/fc39753b7f92e09177777e9c648afe5aa3abb81f>
- patch: <https://git.kernel.org/stable/c/5828b9e5b272ecff7cf5d345128d3de7324117f7>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-784472.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-45838>

HTML: <https://flawdb.com/CVE-2026-45838> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-45838>
