Skip to content
Medium 4.7

mm: page_alloc: make defrag_mode retries follow the promoted order

CVE-2026-99921 First seen on SecPulse

Affected packages

PackageAffected → Fixed
LinuxLinux —
LinuxKernel
≥ 6.18.50, < 6.18.64→ 6.18.64
≥ 7.2.4, < 7.3→ 7.3
≥ 7.3.0, < 7.3.4→ 7.3.4

Fix status by distribution

Records published by each distribution for this CVE. Fixed versions differ by release; check each link.

Original description The description as published by the source.

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

mm: page_alloc: make defrag_mode retries follow the promoted order

Since commit 7e8756d7ad22 ("mm: page_alloc: fix non-movable reclaim storm
in defrag_mode"), direct reclaim and compaction for non-movable requests
under defrag_mode run at pageblock_order, to produce the whole blocks that
ALLOC_NOFRAGMENT needs. The retry decisions that follow still use the
request order. An order-0 request can therefore retry indefinitely
without ever reaching the ALLOC_NOFRAGMENT fallback:

  • Reclaim at pageblock_order gives up after one pass as soon as a zone
    looks compaction_ready(), and do_try_to_free_pages() then returns 1
    even though nothing was reclaimed. It returns before the retry that
    would reclaim memory.low-protected cgroups, so when most memory is
    protected, the pass that did run finds next to nothing.

  • Compaction at pageblock_order fails or is deferred.

  • should_reclaim_retry() takes the reported progress as progress for
    the order-0 request and resets no_progress_loops. The request
    retries.

Order 1-3 requests loop the same way, and should_compact_retry() also
checks their pageblock_order compaction result against the request order.

On a production host (64G, defrag_mode, memory.low covering most of the
workload), 95% of direct reclaim runs were order-9 runs that returned 1
with nothing reclaimed, at up to 60k runs per second. Across ~200M
should_reclaim_retry() calls in a day, no_progress_l…

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details