CVE-2026-89757
Last modified
CVE-2026-89757 is a vulnerability of currently unknown severity. 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.
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.
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= ac35a490237446b71e3b4b782b1596967edd0aa8, < 54a58d6656dd403b686b247f0bad8507cbfb45df; >= ac35a490237446b71e3b4b782b1596967edd0aa8, < 15d3a2a71c8bf7333d019d249ee33669e69e4275; >= ac35a490237446b71e3b4b782b1596967edd0aa8, < f7e698e326b239a91ea15844817551921209e826 |
| Linux | Linux | 6.1 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-89757?
How severe is CVE-2026-89757?
How do I fix CVE-2026-89757?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-89751In the Linux kernel, the following vulnerability has been re…
- CVE-2026-89752In the Linux kernel, the following vulnerability has been re…
- CVE-2026-89753In the Linux kernel, the following vulnerability has been re…
- CVE-2026-89754In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-89755In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-89756In the Linux kernel, the following vulnerability has been re…
- CVE-2026-89758In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-89759In the Linux kernel, the following vulnerability has been re…
- CVE-2026-8976The RSS Aggregator by Feedzy – Feed to Post, Autoblogging, N…4.3
- CVE-2026-89760In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-89761In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-89762In the Linux kernel, the following vulnerability has been re…7.8
Are you affected by CVE-2026-89757?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
