Menu

Star on GitHub · 3.2k

CVE-2026-64416

In the Linux kernel, the following vulnerability has been resolved: mm: swap_cgroup: fix NULL deref in lookup_swap_cgroup_id on swapless host lookup_swap_cgroup_id() passes swap_cgroup_ctrl[type]…

Published Jul 25, 2026EPSS 0.12%

Overview

CVE-2026-64416 is a known-severity vulnerability. It was published on July 25, 2026.

Technical description

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

mm: swap_cgroup: fix NULL deref in lookup_swap_cgroup_id on swapless host

lookup_swap_cgroup_id() passes swap_cgroup_ctrl[type].map to

__swap_cgroup_id_lookup() without checking that the type was ever

registered via swap_cgroup_swapon(). On a swapless host every ctrl->map

is NULL, so __swap_cgroup_id_lookup() dereferences NULL + a scaled

swp_offset().

Since commit bea67dcc5eea ("mm: attempt to batch free swap entries for

zap_pte_range()"), zap_pte_range() -> swap_pte_batch() calls

lookup_swap_cgroup_id() on any non-present, non-none PTE that decodes as a

real swap entry, without first validating it against swap_info[]. A

single PTE corrupted into a type-0 swap entry takes the host down at

process exit.

We hit this in production on a swapless 6.12.58 host: ~1s of

"get_swap_device: Bad swap file entry 3f800204222bb" (do_swap_page() being

correctly defensive about the same entry) followed by

BUG: unable to handle

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2026-64416?

CVE-2026-64416 is a known-severity vulnerability. It was published on July 25, 2026.

How severe is CVE-2026-64416?

CVSS score information is not yet available for this vulnerability. Check back as the CVE record is updated by NVD analysts.

How do I fix or remediate CVE-2026-64416?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2026-64416?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2026-64416 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.