CVE-2026-138864: Linux kernel · mm/page_counter: avoid integer overflow in effective_protection()
Source GCVE Database
Not known to be exploited · fixed in d8957533806e9f291e8e65ee2bb12163ce5ecebc : update Linux kernel when convenient.
Data as of 30 Nov 2026, 17:16 UTC
Rated by Threat Radar · CVSS not yet scored by NVD
Thin evidence
One scorer or none- Patch
- Available – fixed in d8957533806e9f291e8e65ee2bb12163ce5ecebc, c380274c205add299b48135ef6cd11e67aac29b2, 7809ce47b05671e1fa6d74bead892d6ad6c1403b +1
Exploitation evidence
Disclosed: evidence found.
CVE published 30 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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 30 Nov 2026.
What to do
Upgrade Linux kernel to d8957533806e9f291e8e65ee2bb12163ce5ecebc, c380274c205add299b48135ef6cd11e67aac29b2, 7809ce47b05671e1fa6d74bead892d6ad6c1403b or 2748bfeb1c12aa99670c08a34f5ff07ba6945c89.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in– |
Description
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].
References
- nvd.nist.gov/vuln/detail/CVE-2026-138864 (opens in a new tab)
- git.kernel.org/stable/c/2748bfeb1c12aa99670c08a34f5ff07ba6945c89 (opens in a new tab)
- git.kernel.org/stable/c/7809ce47b05671e1fa6d74bead892d6ad6c1403b (opens in a new tab)
- git.kernel.org/stable/c/c380274c205add299b48135ef6cd11e67aac29b2 (opens in a new tab)
- git.kernel.org/stable/c/d8957533806e9f291e8e65ee2bb12163ce5ecebc (opens in a new tab)