CVE-2026-45838

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

No CVSS score yet EPSS 0.17%

Published 27 May 2026 Updated 6 Nov 2026 CNA: Linux

Check your servers for CVE-2026-45838

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-45838 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.17%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 3.29% of all scored CVEs. Scores of 30 Nov 2026.

The assessment of CISA (SSVC, 6 Nov 2026):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from de9cbbaadba5adf88a19e46df61f7054000838f6, before 0f3d9dd5e1fd52b39e25328307c6a694e994ffe3
affected from de9cbbaadba5adf88a19e46df61f7054000838f6, before 26d3339e465e54107bd85884341d1609c5300d6a
affected from de9cbbaadba5adf88a19e46df61f7054000838f6, before 2c88b2d96e1d4d0c7c4589a4593d4cdee6d332d6
affected from de9cbbaadba5adf88a19e46df61f7054000838f6, before b4b5a20bed82130da2f2818f04d52378952fbd0b
affected from de9cbbaadba5adf88a19e46df61f7054000838f6, before 85a2f30e40f7468db732f55659bc6318874f49af
affected from de9cbbaadba5adf88a19e46df61f7054000838f6, before 32ce55d424395904986f5066f8755f6cb9993377
affected from de9cbbaadba5adf88a19e46df61f7054000838f6, before fc39753b7f92e09177777e9c648afe5aa3abb81f
affected from de9cbbaadba5adf88a19e46df61f7054000838f6, before 5828b9e5b272ecff7cf5d345128d3de7324117f7
Other versions: unaffected
Linux
affected 4.19
unaffected before 4.19
unaffected from 5.10.258 up to and including 5.10.*
unaffected from 5.15.209 up to and including 5.15.*
unaffected from 6.1.175 up to and including 6.1.*
unaffected from 6.6.141 up to and including 6.6.*
unaffected from 6.12.91 up to and including 6.12.*
unaffected from 6.18.33 up to and including 6.18.*
unaffected from 7.0.10 up to and including 7.0.*
unaffected 7.1 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-45838 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-45838

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-45838
trivy image --scanners vuln IMAGE | grep CVE-2026-45838

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-45838 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.