Skip to main content
VulnerabilityPublished Updated

CVE-2026-89757: Linux kernel · mm/mglru: fix and remove redundant unevictable folio handling

Affects Linux kernelSource CVE Database V5

0

Not known to be exploited · fixed in f7e698e326b239a91ea15844817551921209e826 : update Linux kernel when convenient.

Data as of 26 Oct 2026, 13:47 UTC

Severity
Unrated

Rated by Threat Radar · CVSS not yet scored by NVD

EPSS
0.2% chance of exploitation in 30 days – higher than 10% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in f7e698e326b239a91ea15844817551921209e826, b1d7c69e6c7d3ec47513b911ce7529e56d183dad, 49193dac48d30eee2a21da88a7262d52a7feefae +2

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 11 Sep 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
LinuxLinuxAffected
  • ≥ ac35a490237446b71e3b4b782b1596967edd0aa8, < f7e698e326b239a91ea15844817551921209e826
Fixed in
  • f7e698e326b239a91ea15844817551921209e826
LinuxLinuxAffected
  • ≥ ac35a490237446b71e3b4b782b1596967edd0aa8, < b1d7c69e6c7d3ec47513b911ce7529e56d183dad
Fixed in
  • b1d7c69e6c7d3ec47513b911ce7529e56d183dad
LinuxLinuxAffected
  • ≥ ac35a490237446b71e3b4b782b1596967edd0aa8, < 49193dac48d30eee2a21da88a7262d52a7feefae
Fixed in
  • 49193dac48d30eee2a21da88a7262d52a7feefae
LinuxLinuxAffected
  • ≥ ac35a490237446b71e3b4b782b1596967edd0aa8, < 54a58d6656dd403b686b247f0bad8507cbfb45df
Fixed in
  • 54a58d6656dd403b686b247f0bad8507cbfb45df
LinuxLinuxAffected
  • ≥ ac35a490237446b71e3b4b782b1596967edd0aa8, < 15d3a2a71c8bf7333d019d249ee33669e69e4275
Fixed in
  • 15d3a2a71c8bf7333d019d249ee33669e69e4275
LinuxLinuxAffected
  • =6.1
Fixed in–

Description

In the Linux kernel, the following vulnerability has been resolved: mm/mglru: fix and remove redundant unevictable folio handling sort_folio() has a shortcut for moving folios that are no longer evictable but are still sitting on a generation list. However, this shortcut is buggy. It does not follow the PG_lru usage convention, and it has a more serious issue. Unevictable folios are not threaded on lists[LRU_UNEVICTABLE], so that folio->lru can be reused to hold folio->mlock_count (see the comment in lruvec_init()). Hence lruvec_add_folio() skips the list_add() for them, and every other place that turns a folio unevictable initialises mlock_count explicitly: lru_add() sets it to 0, __mlock_folio() and __mlock_new_folio() set it to !!folio_test_mlocked(folio). sort_folio() sets nothing, and the lru_gen_del_folio() right above it may have already poisoned folio->lru via list_del(), so mlock_count ends up aliasing LIST_POISON2, which reads as 0x122, i.e. 290. The result is user visible. On munlock, __munlock_folio() decrements that bogus count, finds it still non-zero and bails out before clearing PG_mlocked, so the folio remains unevictable and the Mlocked accounting stays inflated until the folio is freed. The shortcut also touches the LRU flags in the wrong order. It calls lru_gen_del_folio() while PG_lru is still set, so a concurrent folio_test_clear_lru() (e.g. compaction, folio_isolate_lru()) can succeed on a folio that has already been taken off the generation list, which may lead to unexpected behavior. So fix it by isolating them as common folios and letting the generic shrink path cull them. This matches the classical LRU behavior, and there should be no visible effect on the generic eviction or isolation behavior. There is no performance concern either, such a folio goes through this once, and then it is off the generation lists for good.

References

Community reviews

Loading reviews…