CVE-2026-64416
publishedmm: swap_cgroup: fix NULL deref in lookup_swap_cgroup_id on swapless host
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxbea67dcc5eea0f6a213897a59b9e644977cd07e6 to < 818416fef38759f23210de449663cd9d7e293d39 · bea67dcc5eea0f6a213897a59b9e644977cd07e6 to < b415c00bf23df577a4a95673d00ae76687bcc1d4 · bea67dcc5eea0f6a213897a59b9e644977cd07e6 to < 6a4196d19f477524d2f92adca90fc1fbe9a0420a · bea67dcc5eea0f6a213897a59b9e644977cd07e6 to < 63b02a9409cb5180398491b093e48bcb5315f5fb · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.12 (affected) · 0 to < 6.12 (unaffected · semver) · 6.12.97 through 6.12.* (unaffected · semver) · 6.18.39 through 6.18.* (unaffected · semver) · 7.1.4 through 7.1.* (unaffected · semver) · 7.2 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-2045 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-2057 | Fixed | Not stated | Amazon Linux assessment |
| Debian | bookworm | linux-6.12 | Advisory build | 6.12.100-1~deb12u1 | DLA-4724-1 |
| Oracle Linux | 10 | kernel-uekaarch64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
Show 98 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Debian | trixie | linux | Advisory build | 6.12.100-1 | DSA-6405-1 |
| Oracle Linux | 10 | kernel-uekx86_64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek-coreaarch64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek-corex86_64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek-debugaarch64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek-debugx86_64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek-debug-coreaarch64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek-debug-corex86_64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek-debug-develaarch64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek-debug-develx86_64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek-debug-modules-coreaarch64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek-debug-modules-corex86_64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek-debug-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek-debug-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek-debug-modules-desktopaarch64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek-debug-modules-desktopx86_64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek-debug-modules-usbaarch64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek-debug-modules-usbx86_64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek-debug-modules-wirelessaarch64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek-debug-modules-wirelessx86_64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek-develaarch64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek-develx86_64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek-docaarch64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek-docx86_64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek-modulesaarch64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek-modulesx86_64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek-modules-coreaarch64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek-modules-corex86_64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek-modules-desktopaarch64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek-modules-desktopx86_64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek-modules-extraaarch64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek-modules-extrax86_64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek-modules-usbaarch64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek-modules-usbx86_64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek-modules-wirelessaarch64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek-modules-wirelessx86_64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek-toolsaarch64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek-toolsx86_64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek64kaarch64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek64k-coreaarch64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek64k-develaarch64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek64k-modulesaarch64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek64k-modules-coreaarch64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek64k-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek64k-modules-desktopaarch64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek64k-modules-extraaarch64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek64k-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek64k-modules-usbaarch64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek64k-modules-wirelessaarch64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 9 | kernel-uekaarch64 | Advisory build | 0:6.12.0-206.104.3.3.el9uek | ELSA-2026-500248 |
| Oracle Linux | 9 | kernel-uekx86_64 | Advisory build | 0:6.12.0-206.104.3.3.el9uek | ELSA-2026-500248 |
| Oracle Linux | 9 | kernel-uek-coreaarch64 | Advisory build | 0:6.12.0-206.104.3.3.el9uek | ELSA-2026-500248 |
| Oracle Linux | 9 | kernel-uek-corex86_64 | Advisory build | 0:6.12.0-206.104.3.3.el9uek | ELSA-2026-500248 |
| Oracle Linux | 9 | kernel-uek-debugaarch64 | Advisory build | 0:6.12.0-206.104.3.3.el9uek | ELSA-2026-500248 |
| Oracle Linux | 9 | kernel-uek-debugx86_64 | Advisory build | 0:6.12.0-206.104.3.3.el9uek | ELSA-2026-500248 |
| Oracle Linux | 9 | kernel-uek-debug-coreaarch64 | Advisory build | 0:6.12.0-206.104.3.3.el9uek | ELSA-2026-500248 |
| Oracle Linux | 9 | kernel-uek-debug-corex86_64 | Advisory build | 0:6.12.0-206.104.3.3.el9uek | ELSA-2026-500248 |
| Oracle Linux | 9 | kernel-uek-debug-develaarch64 | Advisory build | 0:6.12.0-206.104.3.3.el9uek | ELSA-2026-500248 |
| Oracle Linux | 9 | kernel-uek-debug-develx86_64 | Advisory build | 0:6.12.0-206.104.3.3.el9uek | ELSA-2026-500248 |
| Oracle Linux | 9 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:6.12.0-206.104.3.3.el9uek | ELSA-2026-500248 |
| Oracle Linux | 9 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:6.12.0-206.104.3.3.el9uek | ELSA-2026-500248 |
| Oracle Linux | 9 | kernel-uek-debug-modules-coreaarch64 | Advisory build | 0:6.12.0-206.104.3.3.el9uek | ELSA-2026-500248 |
| Oracle Linux | 9 | kernel-uek-debug-modules-corex86_64 | Advisory build | 0:6.12.0-206.104.3.3.el9uek | ELSA-2026-500248 |
| Oracle Linux | 9 | kernel-uek-debug-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-206.104.3.3.el9uek | ELSA-2026-500248 |
| Oracle Linux | 9 | kernel-uek-debug-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-206.104.3.3.el9uek | ELSA-2026-500248 |
| Oracle Linux | 9 | kernel-uek-debug-modules-desktopaarch64 | Advisory build | 0:6.12.0-206.104.3.3.el9uek | ELSA-2026-500248 |
| Oracle Linux | 9 | kernel-uek-debug-modules-desktopx86_64 | Advisory build | 0:6.12.0-206.104.3.3.el9uek | ELSA-2026-500248 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:6.12.0-206.104.3.3.el9uek | ELSA-2026-500248 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:6.12.0-206.104.3.3.el9uek | ELSA-2026-500248 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-206.104.3.3.el9uek | ELSA-2026-500248 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-206.104.3.3.el9uek | ELSA-2026-500248 |
| Oracle Linux | 9 | kernel-uek-debug-modules-usbaarch64 | Advisory build | 0:6.12.0-206.104.3.3.el9uek | ELSA-2026-500248 |
| Oracle Linux | 9 | kernel-uek-debug-modules-usbx86_64 | Advisory build | 0:6.12.0-206.104.3.3.el9uek | ELSA-2026-500248 |
| Oracle Linux | 9 | kernel-uek-debug-modules-wirelessaarch64 | Advisory build | 0:6.12.0-206.104.3.3.el9uek | ELSA-2026-500248 |
| Oracle Linux | 9 | kernel-uek-debug-modules-wirelessx86_64 | Advisory build | 0:6.12.0-206.104.3.3.el9uek | ELSA-2026-500248 |
| Oracle Linux | 9 | kernel-uek-develaarch64 | Advisory build | 0:6.12.0-206.104.3.3.el9uek | ELSA-2026-500248 |
| Oracle Linux | 9 | kernel-uek-develx86_64 | Advisory build | 0:6.12.0-206.104.3.3.el9uek | ELSA-2026-500248 |
| Oracle Linux | 9 | kernel-uek-docaarch64 | Advisory build | 0:6.12.0-206.104.3.3.el9uek | ELSA-2026-500248 |
| Oracle Linux | 9 | kernel-uek-docx86_64 | Advisory build | 0:6.12.0-206.104.3.3.el9uek | ELSA-2026-500248 |
| Oracle Linux | 9 | kernel-uek-modulesaarch64 | Advisory build | 0:6.12.0-206.104.3.3.el9uek | ELSA-2026-500248 |
| Oracle Linux | 9 | kernel-uek-modulesx86_64 | Advisory build | 0:6.12.0-206.104.3.3.el9uek | ELSA-2026-500248 |
| Oracle Linux | 9 | kernel-uek-modules-coreaarch64 | Advisory build | 0:6.12.0-206.104.3.3.el9uek | ELSA-2026-500248 |
| Oracle Linux | 9 | kernel-uek-modules-corex86_64 | Advisory build | 0:6.12.0-206.104.3.3.el9uek | ELSA-2026-500248 |
| Oracle Linux | 9 | kernel-uek-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-206.104.3.3.el9uek | ELSA-2026-500248 |
| Oracle Linux | 9 | kernel-uek-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-206.104.3.3.el9uek | ELSA-2026-500248 |
| Oracle Linux | 9 | kernel-uek-modules-desktopaarch64 | Advisory build | 0:6.12.0-206.104.3.3.el9uek | ELSA-2026-500248 |
| Oracle Linux | 9 | kernel-uek-modules-desktopx86_64 | Advisory build | 0:6.12.0-206.104.3.3.el9uek | ELSA-2026-500248 |
| Oracle Linux | 9 | kernel-uek-modules-extraaarch64 | Advisory build | 0:6.12.0-206.104.3.3.el9uek | ELSA-2026-500248 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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 page fault for address: 000003f800204220 RIP: 0010:lookup_swap_cgroup_id+0x2b/0x60 Call Trace: swap_pte_batch+0xbf/0x230 zap_pte_range+0x4c8/0x780 unmap_page_range+0x190/0x3e0 exit_mmap+0xd9/0x3c0 do_exit+0x20c/0x4b0 syzbot has reported the identical stack. The source of the PTE corruption is a separate bug; this change makes the teardown path as robust as the fault path already is. Every other caller of lookup_swap_cgroup_id() is downstream of a get_swap_device() that has already validated the entry, so the new branch is cold.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | bea67dcc5eea0f6a213897a59b9e644977cd07e6 to < 818416fef38759f23210de449663cd9d7e293d39 (affected · git)bea67dcc5eea0f6a213897a59b9e644977cd07e6 to < b415c00bf23df577a4a95673d00ae76687bcc1d4 (affected · git)bea67dcc5eea0f6a213897a59b9e644977cd07e6 to < 6a4196d19f477524d2f92adca90fc1fbe9a0420a (affected · git)bea67dcc5eea0f6a213897a59b9e644977cd07e6 to < 63b02a9409cb5180398491b093e48bcb5315f5fb (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.12 (affected)0 to < 6.12 (unaffected · semver)6.12.97 through 6.12.* (unaffected · semver)6.18.39 through 6.18.* (unaffected · semver)7.1.4 through 7.1.* (unaffected · semver)7.2 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
4Provider assertions
1Linux · cna
mm: swap_cgroup: fix NULL deref in lookup_swap_cgroup_id on swapless host
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 3a783a60ec95ef741c71055dfdce90f02cdc2775740c20d3f30688e6a1efb527
- Ingested
- 23 Sep 2026, 09:25:47 UTC
- Source record
- Official CVE record