CVE-2026-99728
published high CVSS 3.1 · 7.8mm/huge_memory: fix list corruption when deferred_split_scan() races with deferred_split_folio()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxfafaeceb89a5e2e856ff04c2cacb6cae4a2ecb67 to < 877a9fbabf760714f510f36b310a986c4be2c2d8 · fafaeceb89a5e2e856ff04c2cacb6cae4a2ecb67 to < f09171b67ea06a7fe425db33e8b74a92de1426b9 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux7.2 (affected) · 0 to < 7.2 (unaffected · semver) · 7.3.5 through 7.3.* (unaffected · semver) · 7.4-rc2 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 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develaarch64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develppc64le | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-devels390x | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develx86_64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
Show 12 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosaarch64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosppc64le | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macross390x | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosx86_64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourceaarch64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourceppc64le | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sources390x | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourcex86_64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillaaarch64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillappc64le | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillas390x | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillax86_64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
Description
In the Linux kernel, the following vulnerability has been resolved: mm/huge_memory: fix list corruption when deferred_split_scan() races with deferred_split_folio() Since the deferred split queue became a list_lru, the isolate callback moves the folios it took a reference on to an on-stack list, linked through folio->_deferred_list, and deferred_split_scan() takes them off that list with list_del_init() without holding the list_lru lock. deferred_split_folio() does not know about the on-stack list. It only holds the list_lru lock when it looks at the same list_head, and it can run for such a folio: a THP is queued when it is mapped, as a candidate for the underused check, and is queued "again" when a part of it gets unmapped: CPU0 deferred_split_scan() CPU1 deferred_split_folio() list_del_init(&folio->_deferred_list) next->prev = prev prev->next = next entry->next = entry list_lru_lock_irqsave() folio_set_partially_mapped() __list_lru_add() list_empty(item) -> true list_add_tail(item, &l->list) item->next = &l->list item->prev = tail entry->prev = entry The folio now sits on the list_lru with ->prev pointing to itself. The next removal leaves the neighbours pointing to it, and they still do so after the folio has been freed. With CONFIG_DEBUG_LIST: list_del corruption. prev->next should be ffd4000000270090, but was ffd4000000278090. (prev=ffd4000000270090) Fix it by grabbing the lock around list_del_init() so deferred_split_folio() cannot race with 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 - deferred_split_scan() runs from __alloc_pages_direct_reclaim() via try_to_free_pages() and shrink_slab(); the racing deferred_split_folio(true) is reached from madvise(MADV_DONTNEED) through zap_vma_range_batched(), zap_pmd_range(), and folio_remove_rmap_ptes(). Both sides act on the caller's own anonymous THP, and no remote protocol message carries the triggering state. AC:L - The caller faults an anonymous THP so map_anon_folio_pmd_nopf() queues it with deferred_split_folio(folio, false) (split_underused_thp defaults to true), allocates until __alloc_pages_direct_reclaim() runs list_del_init() in deferred_split_scan(), and concurrently issues MADV_DONTNEED on a sub-PMD range so __folio_remove_rmap() calls deferred_split_folio(folio, true). The same threads produce both sides. PR:L - do_huge_pmd_anonymous_page(), madvise(MADV_DONTNEED), and the allocation that enters __alloc_pages_direct_reclaim() are available to an unprivileged process. No capability is checked; MADV_HUGEPAGE covers sysfs "madvise" mode, and TRANSPARENT_HUGEPAGE_ALWAYS is the Kconfig default. UI:N - The attacker triggers the race with their own mmap, anonymous page fault, madvise(MADV_DONTNEED), and allocations. S:U - The dangling pointer is folio->_deferred_list on deferred_split_lru, kernel metadata of the same kernel the local process is running in. C:H - The raced list_del_init() leaves the deferred_split_lru predecessor pointing at folio->_deferred_list after __folio_put() calls free_frozen_pages(). The next deferred_split_isolate() container_of()s that dangling list_head and folio_try_get()s it, reading the recycled struct page (the _deferred_list slot overlaps lru.prev and mapping). I:H - Once deferred_split_isolate() walks that freed _deferred_list, __list_del() writes next->prev = prev and prev->next = next using pointers loaded from the recycled struct page, corrupting the kernel objects those lru and mapping words address. A:H - The predecessor link left by the raced list_del_init() still names the folio after it is freed, so the next deferred_split_scan() dereferences it. CONFIG_DEBUG_LIST reports this as list_del corruption and BUGs; otherwise the wild pointer in deferred_split_isolate() oopses the kernel.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | fafaeceb89a5e2e856ff04c2cacb6cae4a2ecb67 to < 877a9fbabf760714f510f36b310a986c4be2c2d8 (affected · git)fafaeceb89a5e2e856ff04c2cacb6cae4a2ecb67 to < f09171b67ea06a7fe425db33e8b74a92de1426b9 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 7.2 (affected)0 to < 7.2 (unaffected · semver)7.3.5 through 7.3.* (unaffected · semver)7.4-rc2 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
2Provider assertions
1Linux · cna
mm/huge_memory: fix list corruption when deferred_split_scan() races with deferred_split_folio()
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- ea10e294dda7a2f61ea30933dc482ac1a07b2a4bef24f1a41b37b5454bf1fe07
- Ingested
- 23 Nov 2026, 14:37:13 UTC
- Source record
- Official CVE record