CVE-2026-138864

In the Linux kernel, the following vulnerability has been resolved: mm/page_counter: avoid integer overflow in effective_protection() Patch series "mm/mglru: fix ineffective memory protection for non-kswapd reclaim", v4. For MGLRU, memory.min/low is not honored during non-kswapd global reclaim (global direct reclaim and root-level memory.reclaim), because these paths shrink memcgs using stale protection (emin/elow). Patch 2 is the actual fix. Patch 1 is a prerequisite: an integer overflow in effective_protection(), spotted by the sashiko review tool, which patch 2's new caller would also be exposed to. This patch (of 2): effective_protection() scales a parent's protection by a ratio of page counts, e.g. for recursive protection: (parent_effective - siblings_protected) * (usage - protected) / (parent_usage - siblings_protected) The multiply is done at unsigned long width before dividing. On systems with >= 16TB RAM the product can exceed 2^64 and wrap, giving a bogus protection value and silently breaking memory.min/low enforcement. Use mul_u64_u64_div_u64() to multiply in a 128-bit intermediate. Because usage and parent_usage are not read atomically (a child is charged before its parent), usage - protected can briefly exceed the divisor, making the quotient overflow 64 bits and trap (#DE on x86). Cap it so the ratio stays <= 1. Reported by the sashiko review tool [1].

Package Linux Kernel
Published 2026-11-30
Last modified 2026-12-06
Patch available
Yes

Affected versions

Linux kernel versions 5.7 and later are affected. Fixed in 6.12.118, 6.18.64, 7.3.4, 7.4-rc1 and their respective stable series.

Affected from
≥ 5.7
Fixed in
✓ 6.12.118 6.12.x ✓ 6.18.64 6.18.x ✓ 7.3.4 7.3.x ✓ 7.4-rc1

Frequently asked questions

  • What is CVE-2026-138864?

    CVE-2026-138864 is a unscored severity Linux kernel vulnerability . It affects Linux kernel versions from 5.7 onward and has been patched in 6.12.118, 6.18.64, 7.3.4 and others. CVE-2026-138864 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.

  • Is there a patch available for CVE-2026-138864?

    Yes. CVE-2026-138864 has been patched. Fixed versions include 6.12.118, 6.18.64, 7.3.4 and others. If you are running Linux kernel 5.7 or later up to the fix versions, apply the relevant patch for your kernel branch.

  • Is CVE-2026-138864 actively exploited?

    No. CVE-2026-138864 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.