In the Linux kernel, the following vulnerability has been resolved:
bpf: fix end-of-list detection in cgroupstoragegetnextkey()
listnextentry() never returns NULL -- when the current element is the last entry it wraps to the list head via containerof(). The subsequent NULL check is therefore dead code and getnext_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 listentryis_head() so the function correctly returns -ENOENT when there are no more entries.
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45838.json",
"cna_assigner": "Linux"
}