5.5
MEDIUM CVSS 3.1
CVE-2026-45838
bpf: fix end-of-list detection in cgroup_storage_get_next_key()
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.

INFO

Published Date :

May 27, 2026, 11:16 a.m.

Last Modified :

June 26, 2026, 7:09 p.m.

Remotely Exploit :

No

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products

The following products are affected by CVE-2026-45838 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 MEDIUM [email protected]
Solution
Apply the Linux kernel patch to fix memory corruption in cgroup_storage_get_next_key().
  • Apply the provided Linux kernel patch.
  • Verify the patch resolves the issue.
  • Update the system to the patched kernel version.
Public PoC/Exploit Available at Github

CVE-2026-45838 has a 1 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-45838 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-45838 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

Python

Updated: 1 month ago
0 stars 0 fork 0 watcher
Born at : July 8, 2025, 4:34 a.m. This repo has been linked 79 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-45838 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-45838 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Jun. 26, 2026

    Action Type Old Value New Value
    Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
    Added CWE CWE-476
    Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.6.141 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.12.91 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.13 up to (excluding) 6.18.33 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.19 up to (excluding) 7.0.10 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 6.1.175 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.15.209 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.19 up to (excluding) 5.10.258
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/0f3d9dd5e1fd52b39e25328307c6a694e994ffe3 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/26d3339e465e54107bd85884341d1609c5300d6a Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/2c88b2d96e1d4d0c7c4589a4593d4cdee6d332d6 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/32ce55d424395904986f5066f8755f6cb9993377 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/5828b9e5b272ecff7cf5d345128d3de7324117f7 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/85a2f30e40f7468db732f55659bc6318874f49af Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/b4b5a20bed82130da2f2818f04d52378952fbd0b Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/fc39753b7f92e09177777e9c648afe5aa3abb81f Types: Patch
  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Jun. 17, 2026

    Action Type Old Value New Value
    Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': 'de9cbbaadba5adf88a19e46df61f7054000838f6', 'lessThan': '0f3d9dd5e1fd52b39e25328307c6a694e994ffe3', 'versionType': 'git'}, {'status': 'affected', 'version': 'de9cbbaadba5adf88a19e46df61f7054000838f6', 'lessThan': '26d3339e465e54107bd85884341d1609c5300d6a', 'versionType': 'git'}, {'status': 'affected', 'version': 'de9cbbaadba5adf88a19e46df61f7054000838f6', 'lessThan': '2c88b2d96e1d4d0c7c4589a4593d4cdee6d332d6', 'versionType': 'git'}, {'status': 'affected', 'version': 'de9cbbaadba5adf88a19e46df61f7054000838f6', 'lessThan': 'b4b5a20bed82130da2f2818f04d52378952fbd0b', 'versionType': 'git'}, {'status': 'affected', 'version': 'de9cbbaadba5adf88a19e46df61f7054000838f6', 'lessThan': '85a2f30e40f7468db732f55659bc6318874f49af', 'versionType': 'git'}, {'status': 'affected', 'version': 'de9cbbaadba5adf88a19e46df61f7054000838f6', 'lessThan': '32ce55d424395904986f5066f8755f6cb9993377', 'versionType': 'git'}, {'status': 'affected', 'version': 'de9cbbaadba5adf88a19e46df61f7054000838f6', 'lessThan': 'fc39753b7f92e09177777e9c648afe5aa3abb81f', 'versionType': 'git'}, {'status': 'affected', 'version': 'de9cbbaadba5adf88a19e46df61f7054000838f6', 'lessThan': '5828b9e5b272ecff7cf5d345128d3de7324117f7', 'versionType': 'git'}], 'programFiles': ['kernel/bpf/local_storage.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '4.19'}, {'status': 'unaffected', 'version': '0', 'lessThan': '4.19', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '5.10.258', 'versionType': 'semver', 'lessThanOrEqual': '5.10.*'}, {'status': 'unaffected', 'version': '5.15.209', 'versionType': 'semver', 'lessThanOrEqual': '5.15.*'}, {'status': 'unaffected', 'version': '6.1.175', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.141', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.91', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.33', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.0.10', 'versionType': 'semver', 'lessThanOrEqual': '7.0.*'}, {'status': 'unaffected', 'version': '7.1', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['kernel/bpf/local_storage.c'], 'defaultStatus': 'affected'}]
  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Jun. 01, 2026

    Action Type Old Value New Value
    Added Reference https://git.kernel.org/stable/c/0f3d9dd5e1fd52b39e25328307c6a694e994ffe3
    Added Reference https://git.kernel.org/stable/c/26d3339e465e54107bd85884341d1609c5300d6a
    Added Reference https://git.kernel.org/stable/c/2c88b2d96e1d4d0c7c4589a4593d4cdee6d332d6
  • New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    May. 27, 2026

    Action Type Old Value New Value
    Added 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.
    Added Reference https://git.kernel.org/stable/c/32ce55d424395904986f5066f8755f6cb9993377
    Added Reference https://git.kernel.org/stable/c/5828b9e5b272ecff7cf5d345128d3de7324117f7
    Added Reference https://git.kernel.org/stable/c/85a2f30e40f7468db732f55659bc6318874f49af
    Added Reference https://git.kernel.org/stable/c/b4b5a20bed82130da2f2818f04d52378952fbd0b
    Added Reference https://git.kernel.org/stable/c/fc39753b7f92e09177777e9c648afe5aa3abb81f
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.