CVE-2024-42234
published high CVSS 3.1 · 7.8mm: fix crashes from deferred split racing folio migration
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux9bcef5973e31020e5aa8571eb994d67b77318356 to < fc7facce686b64201dbf0b9614cc1d0bfad70010 · 9bcef5973e31020e5aa8571eb994d67b77318356 to < be9581ea8c058d81154251cb0695987098996cad · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.7 (affected) · 0 to < 6.7 (unaffected · semver) · 6.9.10 through 6.9.* (unaffected · semver) · 6.10 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 |
| Ubuntu | jammy | linux-aws-6.8 | Advisory build | 6.8.0-1018.19~22.04.1 | USN-7089-3 |
| Ubuntu | jammy | linux-aws-6.8-cloud-tools-6.8.0-1018 | Advisory build | 6.8.0-1018.19~22.04.1 | USN-7089-3 |
| Ubuntu | jammy | linux-aws-6.8-headers-6.8.0-1018 | Advisory build | 6.8.0-1018.19~22.04.1 | USN-7089-3 |
| Ubuntu | jammy | linux-aws-6.8-tools-6.8.0-1018 | Advisory build | 6.8.0-1018.19~22.04.1 | USN-7089-3 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | jammy | linux-azure-6.8 | Advisory build | 6.8.0-1017.20~22.04.1 | USN-7090-1 |
| Ubuntu | jammy | linux-azure-6.8-cloud-tools-6.8.0-1017 | Advisory build | 6.8.0-1017.20~22.04.1 | USN-7090-1 |
| Ubuntu | jammy | linux-azure-6.8-headers-6.8.0-1017 | Advisory build | 6.8.0-1017.20~22.04.1 | USN-7090-1 |
| Ubuntu | jammy | linux-azure-6.8-tools-6.8.0-1017 | Advisory build | 6.8.0-1017.20~22.04.1 | USN-7090-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1015-oracle | Advisory build | 6.8.0-1015.15~22.04.1 | USN-7089-3 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1015-oracle-64k | Advisory build | 6.8.0-1015.15~22.04.1 | USN-7089-3 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1017-azure | Advisory build | 6.8.0-1017.20~22.04.1 | USN-7090-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1017-gcp | Advisory build | 6.8.0-1017.19~22.04.1 | USN-7089-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1017-nvidia | Advisory build | 6.8.0-1017.19~22.04.1 | USN-7095-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1017-nvidia-64k | Advisory build | 6.8.0-1017.19~22.04.1 | USN-7095-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1018-aws | Advisory build | 6.8.0-1018.19~22.04.1 | USN-7089-3 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-48-generic | Advisory build | 6.8.0-48.48~22.04.1 | USN-7089-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-48-generic-64k | Advisory build | 6.8.0-48.48~22.04.1 | USN-7089-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-48-lowlatency | Advisory build | 6.8.0-48.48.3~22.04.1 | USN-7089-7 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-48-lowlatency-64k | Advisory build | 6.8.0-48.48.3~22.04.1 | USN-7089-7 |
| Ubuntu | jammy | linux-cloud-tools-6.8.0-1017-azure | Advisory build | 6.8.0-1017.20~22.04.1 | USN-7090-1 |
| Ubuntu | jammy | linux-cloud-tools-6.8.0-1018-aws | Advisory build | 6.8.0-1018.19~22.04.1 | USN-7089-3 |
| Ubuntu | jammy | linux-cloud-tools-6.8.0-48-generic | Advisory build | 6.8.0-48.48~22.04.1 | USN-7089-1 |
| Ubuntu | jammy | linux-cloud-tools-6.8.0-48-lowlatency | Advisory build | 6.8.0-48.48.3~22.04.1 | USN-7089-7 |
| Ubuntu | jammy | linux-gcp-6.8 | Advisory build | 6.8.0-1017.19~22.04.1 | USN-7089-1 |
| Ubuntu | jammy | linux-gcp-6.8-headers-6.8.0-1017 | Advisory build | 6.8.0-1017.19~22.04.1 | USN-7089-1 |
| Ubuntu | jammy | linux-gcp-6.8-tools-6.8.0-1017 | Advisory build | 6.8.0-1017.19~22.04.1 | USN-7089-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1015-oracle | Advisory build | 6.8.0-1015.15~22.04.1 | USN-7089-3 |
| Ubuntu | jammy | linux-headers-6.8.0-1015-oracle-64k | Advisory build | 6.8.0-1015.15~22.04.1 | USN-7089-3 |
| Ubuntu | jammy | linux-headers-6.8.0-1017-azure | Advisory build | 6.8.0-1017.20~22.04.1 | USN-7090-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1017-gcp | Advisory build | 6.8.0-1017.19~22.04.1 | USN-7089-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1017-nvidia | Advisory build | 6.8.0-1017.19~22.04.1 | USN-7095-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1017-nvidia-64k | Advisory build | 6.8.0-1017.19~22.04.1 | USN-7095-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1018-aws | Advisory build | 6.8.0-1018.19~22.04.1 | USN-7089-3 |
| Ubuntu | jammy | linux-headers-6.8.0-48-generic | Advisory build | 6.8.0-48.48~22.04.1 | USN-7089-1 |
| Ubuntu | jammy | linux-headers-6.8.0-48-generic-64k | Advisory build | 6.8.0-48.48~22.04.1 | USN-7089-1 |
| Ubuntu | jammy | linux-headers-6.8.0-48-lowlatency | Advisory build | 6.8.0-48.48.3~22.04.1 | USN-7089-7 |
| Ubuntu | jammy | linux-headers-6.8.0-48-lowlatency-64k | Advisory build | 6.8.0-48.48.3~22.04.1 | USN-7089-7 |
| Ubuntu | jammy | linux-hwe-6.8 | Advisory build | 6.8.0-48.48~22.04.1 | USN-7089-1 |
| Ubuntu | jammy | linux-hwe-6.8-cloud-tools-6.8.0-48 | Advisory build | 6.8.0-48.48~22.04.1 | USN-7089-1 |
| Ubuntu | jammy | linux-hwe-6.8-headers-6.8.0-48 | Advisory build | 6.8.0-48.48~22.04.1 | USN-7089-1 |
| Ubuntu | jammy | linux-hwe-6.8-tools-6.8.0-48 | Advisory build | 6.8.0-48.48~22.04.1 | USN-7089-1 |
| Ubuntu | jammy | linux-image-6.8.0-48-generic | Advisory build | 6.8.0-48.48~22.04.1 | USN-7089-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1015-oracle | Advisory build | 6.8.0-1015.15~22.04.1 | USN-7089-3 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1015-oracle-64k | Advisory build | 6.8.0-1015.15~22.04.1 | USN-7089-3 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1017-azure | Advisory build | 6.8.0-1017.20~22.04.1 | USN-7090-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1017-gcp | Advisory build | 6.8.0-1017.19~22.04.1 | USN-7089-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1017-nvidia | Advisory build | 6.8.0-1017.19~22.04.1 | USN-7095-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1017-nvidia-64k | Advisory build | 6.8.0-1017.19~22.04.1 | USN-7095-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1018-aws | Advisory build | 6.8.0-1018.19~22.04.1 | USN-7089-3 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-48-generic | Advisory build | 6.8.0-48.48~22.04.1 | USN-7089-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-48-generic-64k | Advisory build | 6.8.0-48.48~22.04.1 | USN-7089-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-48-lowlatency | Advisory build | 6.8.0-48.48.3~22.04.1 | USN-7089-7 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-48-lowlatency-64k | Advisory build | 6.8.0-48.48.3~22.04.1 | USN-7089-7 |
| Ubuntu | jammy | linux-lowlatency-hwe-6.8 | Advisory build | 6.8.0-48.48.3~22.04.1 | USN-7089-7 |
| Ubuntu | jammy | linux-lowlatency-hwe-6.8-cloud-tools-6.8.0-48 | Advisory build | 6.8.0-48.48.3~22.04.1 | USN-7089-7 |
| Ubuntu | jammy | linux-lowlatency-hwe-6.8-headers-6.8.0-48 | Advisory build | 6.8.0-48.48.3~22.04.1 | USN-7089-7 |
| Ubuntu | jammy | linux-lowlatency-hwe-6.8-lib-rust-6.8.0-48-lowlatency | Advisory build | 6.8.0-48.48.3~22.04.1 | USN-7089-7 |
| Ubuntu | jammy | linux-lowlatency-hwe-6.8-tools-6.8.0-48 | Advisory build | 6.8.0-48.48.3~22.04.1 | USN-7089-7 |
| Ubuntu | jammy | linux-modules-6.8.0-1015-oracle | Advisory build | 6.8.0-1015.15~22.04.1 | USN-7089-3 |
| Ubuntu | jammy | linux-modules-6.8.0-1015-oracle-64k | Advisory build | 6.8.0-1015.15~22.04.1 | USN-7089-3 |
| Ubuntu | jammy | linux-modules-6.8.0-1017-azure | Advisory build | 6.8.0-1017.20~22.04.1 | USN-7090-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1017-gcp | Advisory build | 6.8.0-1017.19~22.04.1 | USN-7089-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1017-nvidia | Advisory build | 6.8.0-1017.19~22.04.1 | USN-7095-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1017-nvidia-64k | Advisory build | 6.8.0-1017.19~22.04.1 | USN-7095-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1018-aws | Advisory build | 6.8.0-1018.19~22.04.1 | USN-7089-3 |
| Ubuntu | jammy | linux-modules-6.8.0-48-generic | Advisory build | 6.8.0-48.48~22.04.1 | USN-7089-1 |
| Ubuntu | jammy | linux-modules-6.8.0-48-generic-64k | Advisory build | 6.8.0-48.48~22.04.1 | USN-7089-1 |
| Ubuntu | jammy | linux-modules-6.8.0-48-lowlatency | Advisory build | 6.8.0-48.48.3~22.04.1 | USN-7089-7 |
| Ubuntu | jammy | linux-modules-6.8.0-48-lowlatency-64k | Advisory build | 6.8.0-48.48.3~22.04.1 | USN-7089-7 |
| Ubuntu | jammy | linux-modules-extra-6.8.0-1015-oracle | Advisory build | 6.8.0-1015.15~22.04.1 | USN-7089-3 |
| Ubuntu | jammy | linux-modules-extra-6.8.0-1015-oracle-64k | Advisory build | 6.8.0-1015.15~22.04.1 | USN-7089-3 |
| Ubuntu | jammy | linux-modules-extra-6.8.0-1017-azure | Advisory build | 6.8.0-1017.20~22.04.1 | USN-7090-1 |
| Ubuntu | jammy | linux-modules-extra-6.8.0-1017-gcp | Advisory build | 6.8.0-1017.19~22.04.1 | USN-7089-1 |
| Ubuntu | jammy | linux-modules-extra-6.8.0-1017-nvidia | Advisory build | 6.8.0-1017.19~22.04.1 | USN-7095-1 |
| Ubuntu | jammy | linux-modules-extra-6.8.0-1018-aws | Advisory build | 6.8.0-1018.19~22.04.1 | USN-7089-3 |
| Ubuntu | jammy | linux-modules-extra-6.8.0-48-generic | Advisory build | 6.8.0-48.48~22.04.1 | USN-7089-1 |
| Ubuntu | jammy | linux-modules-involflt-6.8.0-1017-azure | Advisory build | 6.8.0-1017.20~22.04.1 | USN-7090-1 |
| Ubuntu | jammy | linux-modules-ipu6-6.8.0-48-generic | Advisory build | 6.8.0-48.48~22.04.1 | USN-7089-1 |
| Ubuntu | jammy | linux-modules-iwlwifi-6.8.0-1017-azure | Advisory build | 6.8.0-1017.20~22.04.1 | USN-7090-1 |
| Ubuntu | jammy | linux-modules-iwlwifi-6.8.0-48-generic | Advisory build | 6.8.0-48.48~22.04.1 | USN-7089-1 |
| Ubuntu | jammy | linux-modules-iwlwifi-6.8.0-48-lowlatency | Advisory build | 6.8.0-48.48.3~22.04.1 | USN-7089-7 |
| Ubuntu | jammy | linux-modules-nvidia-fs-6.8.0-1017-nvidia | Advisory build | 6.8.0-1017.19~22.04.1 | USN-7095-1 |
| Ubuntu | jammy | linux-modules-nvidia-fs-6.8.0-1017-nvidia-64k | Advisory build | 6.8.0-1017.19~22.04.1 | USN-7095-1 |
| Ubuntu | jammy | linux-modules-usbio-6.8.0-48-generic | Advisory build | 6.8.0-48.48~22.04.1 | USN-7089-1 |
| Ubuntu | jammy | linux-nvidia-6.8 | Advisory build | 6.8.0-1017.19~22.04.1 | USN-7095-1 |
| Ubuntu | jammy | linux-nvidia-6.8-headers-6.8.0-1017 | Advisory build | 6.8.0-1017.19~22.04.1 | USN-7095-1 |
| Ubuntu | jammy | linux-nvidia-6.8-tools-6.8.0-1017 | Advisory build | 6.8.0-1017.19~22.04.1 | USN-7095-1 |
| Ubuntu | jammy | linux-oracle-6.8 | Advisory build | 6.8.0-1015.15~22.04.1 | USN-7089-3 |
| Ubuntu | jammy | linux-oracle-6.8-headers-6.8.0-1015 | Advisory build | 6.8.0-1015.15~22.04.1 | USN-7089-3 |
| Ubuntu | jammy | linux-oracle-6.8-tools-6.8.0-1015 | Advisory build | 6.8.0-1015.15~22.04.1 | USN-7089-3 |
| Ubuntu | jammy | linux-tools-6.8.0-1015-oracle | Advisory build | 6.8.0-1015.15~22.04.1 | USN-7089-3 |
| Ubuntu | jammy | linux-tools-6.8.0-1015-oracle-64k | Advisory build | 6.8.0-1015.15~22.04.1 | USN-7089-3 |
| Ubuntu | jammy | linux-tools-6.8.0-1017-azure | Advisory build | 6.8.0-1017.20~22.04.1 | USN-7090-1 |
| Ubuntu | jammy | linux-tools-6.8.0-1017-gcp | Advisory build | 6.8.0-1017.19~22.04.1 | USN-7089-1 |
| Ubuntu | jammy | linux-tools-6.8.0-1017-nvidia | Advisory build | 6.8.0-1017.19~22.04.1 | USN-7095-1 |
| Ubuntu | jammy | linux-tools-6.8.0-1017-nvidia-64k | Advisory build | 6.8.0-1017.19~22.04.1 | USN-7095-1 |
| Ubuntu | jammy | linux-tools-6.8.0-1018-aws | Advisory build | 6.8.0-1018.19~22.04.1 | USN-7089-3 |
| Ubuntu | jammy | linux-tools-6.8.0-48-generic | Advisory build | 6.8.0-48.48~22.04.1 | USN-7089-1 |
| Ubuntu | jammy | linux-tools-6.8.0-48-generic-64k | Advisory build | 6.8.0-48.48~22.04.1 | USN-7089-1 |
| Ubuntu | jammy | linux-tools-6.8.0-48-lowlatency | Advisory build | 6.8.0-48.48.3~22.04.1 | USN-7089-7 |
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: fix crashes from deferred split racing folio migration Even on 6.10-rc6, I've been seeing elusive "Bad page state"s (often on flags when freeing, yet the flags shown are not bad: PG_locked had been set and cleared??), and VM_BUG_ON_PAGE(page_ref_count(page) == 0)s from deferred_split_scan()'s folio_put(), and a variety of other BUG and WARN symptoms implying double free by deferred split and large folio migration. 6.7 commit 9bcef5973e31 ("mm: memcg: fix split queue list crash when large folio migration") was right to fix the memcg-dependent locking broken in 85ce2c517ade ("memcontrol: only transfer the memcg data for migration"), but missed a subtlety of deferred_split_scan(): it moves folios to its own local list to work on them without split_queue_lock, during which time folio->_deferred_list is not empty, but even the "right" lock does nothing to secure the folio and the list it is on. Fortunately, deferred_split_scan() is careful to use folio_try_get(): so folio_migrate_mapping() can avoid the race by folio_undo_large_rmappable() while the old folio's reference count is temporarily frozen to 0 - adding such a freeze in the !mapping case too (originally, folio lock and unmapping and no swap cache left an anon folio unreachable, so no freezing was needed there: but the deferred split queue offers a way to reach it).
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The vulnerability is in core mm (THP deferred split queue vs. folio migration) and is reached entirely through local syscalls — mmap/madvise(MADV_HUGEPAGE)/munmap to queue folios, memory pressure to invoke the shrinker, and move_pages/mbind or direct compaction to migrate them. No network or physical access is involved. AC:L - The attacker controls both sides of the race and can create it deliberately: one thread loops partial-unmapping large anon folios onto the deferred split queue while others generate reclaim pressure and issue move_pages()/fault THPs to drive migration of those same folios. Retrying is free and unlimited, and no attacker-independent condition is required — the race was hit even accidentally under ordinary load. PR:L - Only an ordinary unprivileged local user is needed; move_pages() on the caller's own process requires just ptrace_may_access() on self and MPOL_MF_MOVE, not CAP_SYS_NICE, and THP allocation, partial unmap, and memory pressure need no capabilities at all. UI:N - The attacking process performs all steps itself with no victim action required; the shrinker and compaction/migration paths run autonomously in kernel context. S:U - The corruption is of kernel page/folio state within the same security authority as the exploited kernel; no VM, IOMMU, or sandbox boundary is crossed. C:H - The double free / refcount underflow returns a page to the buddy allocator while it is still mapped into the attacker's address space, allowing that page to be reallocated as a kernel slab page, page table, or kernel stack and read directly from userspace, giving arbitrary kernel memory disclosure. I:H - The same cross-allocation aliasing gives an arbitrary kernel write primitive — the attacker retains a writable userspace mapping of a page the kernel has re-handed to internal structures — plus the list corruption itself writes attacker-influenced pointers into the global split queue, making control-flow hijack and privilege escalation feasible. A:H - The reported symptoms are outright kernel crashes — "Bad page state", VM_BUG_ON_PAGE(page_ref_count(page) == 0), list_del corruption BUGs and assorted WARNs from double free — any of which panics or destabilizes the system, and the condition can be triggered repeatedly.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 9bcef5973e31020e5aa8571eb994d67b77318356 to < fc7facce686b64201dbf0b9614cc1d0bfad70010 (affected · git)9bcef5973e31020e5aa8571eb994d67b77318356 to < be9581ea8c058d81154251cb0695987098996cad (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.7 (affected)0 to < 6.7 (unaffected · semver)6.9.10 through 6.9.* (unaffected · semver)6.10 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
2Provider assertions
2Linux · cna
mm: fix crashes from deferred split racing folio migration
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- f13ba0654f52fdfaac7126504b47d1606cc93969ced11e0619a17e8fa485a12b
- Ingested
- 23 Sep 2026, 08:26:31 UTC
- Source record
- Official CVE record