CVE-2026-99739: Linux kernel · mm/shmem: fix truncate hang in large swap entry
Affects Linux kernelSource CVE Database V5
Not known to be exploited · fixed in fa213b08f37f9dff78ce240a87579dc264fc7a5d : patch Linux kernel soon.
Data as of 20 Nov 2026, 06:33 UTC
Rated High by Threat Radar's AI analysis · CVSS not yet scored by NVD
Thin evidence
One scorer or none- Patch
- Available – fixed in fa213b08f37f9dff78ce240a87579dc264fc7a5d, ef6daf302dc569a67fe50968f9b6085f111b8560, 577374a2171cdb68e492725feb564364f93161b6 +3
Exploitation evidence
Disclosed: evidence found.
CVE published 20 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 19 Nov 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in– |
AI-suggested
A fix is available in Linux kernel versions 6.12.118, 6.18.64, and later. Users and administrators should upgrade affected Linux kernel versions to these or later releases to resolve the hang issue. No other mitigation or workaround is described. Handling of swap-in allocation failures remains problematic but does not affect the main hang fix.
Description
A vulnerability in the Linux kernel's memory management subsystem (mm/shmem) causes an indefinite loop (hang) when truncating tmpfs or memfd files to a page-aligned size inside a large swap entry. This occurs because the truncation logic can repeatedly encounter the same swap entry without progressing, while holding the inode lock and preventing task termination. The issue is fixed by changing how partial folios are handled during swap-in, allowing proper splitting and freeing of swap entries.
References
- git.kernel.org/stable/c/9fbca74e8efbb8fed180639af349449f04a2a3c3 (opens in a new tab)
- git.kernel.org/stable/c/577374a2171cdb68e492725feb564364f93161b6 (opens in a new tab)
- git.kernel.org/stable/c/ef6daf302dc569a67fe50968f9b6085f111b8560 (opens in a new tab)
- git.kernel.org/stable/c/fa213b08f37f9dff78ce240a87579dc264fc7a5d (opens in a new tab)