CVE-2026-99740
mm/shmem: stop retrying folios that cannot be split
Mitigation
- Upgrade Linux to 6.6.163 or later.
Who should check
- Anyone running Linux >= da9b7c651c6517c2de1099136ed87c0c24f864dd, < c00f570d296157a89bf25282cfabc057a34dbc85; >= 7a4ae7acd20805940307be98b304871a43288a01, < 65c71c823b8ceb7721642fdb24a992b22fdf0944; >= 55ac8bbe358bdd2f3c044c12f249fd22d48fe015, < dfedff4a9f0abcd985dcdfbd721dcd9374d6ff12; >= 55ac8bbe358bdd2f3c044c12f249fd22d48fe015, < 1360e0f9a188cfede01d0df81119d925bbfff165; >= 55ac8bbe358bdd2f3c044c12f249fd22d48fe015, < b3239a5a37bba078d83cfb864d47a0cc122f17cd; >= 55ac8bbe358bdd2f3c044c12f249fd22d48fe015, < a842a1f947da8a7020e72f885ffbf2ce6a93685f; >= 6.1.69, < 6.1.193; >= 6.6.8, < 6.6.163
- Anyone running Linux 6.7
Vulnerability facts
- Affected
- Linux >= da9b7c651c6517c2de1099136ed87c0c24f864dd, < c00f570d296157a89bf25282cfabc057a34dbc85; >= 7a4ae7acd20805940307be98b304871a43288a01, < 65c71c823b8ceb7721642fdb24a992b22fdf0944; >= 55ac8bbe358bdd2f3c044c12f249fd22d48fe015, < dfedff4a9f0abcd985dcdfbd721dcd9374d6ff12; >= 55ac8bbe358bdd2f3c044c12f249fd22d48fe015, < 1360e0f9a188cfede01d0df81119d925bbfff165; >= 55ac8bbe358bdd2f3c044c12f249fd22d48fe015, < b3239a5a37bba078d83cfb864d47a0cc122f17cd; >= 55ac8bbe358bdd2f3c044c12f249fd22d48fe015, < a842a1f947da8a7020e72f885ffbf2ce6a93685f; >= 6.1.69, < 6.1.193; >= 6.6.8, < 6.6.163; Linux 6.7
- Fixed in
- Linux 65c71c823b8ceb7721642fdb24a992b22fdf0944, Linux 1360e0f9a188cfede01d0df81119d925bbfff165, Linux 6.1.193, Linux 6.6.163
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- EPSS
- 0.17% chance of exploitation in 30 days (percentile 4, 2026-11-26)
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: mm/shmem: stop retrying folios that cannot be split A fault or collapse can insert a large folio crossing EOF after shmem_undo_range() has handled the boundary folios. If splitting that folio fails, truncate_inode_partial_folio() retains it when it is dirty. The final scan then repeatedly finds it because it restarts from an unchanged start. Truncation keeps the inode lock and ignores fatal signals while looping. A concurrent unlink() can then block other directory operations while holding the directory lock and waiting for the file's lock. Advance start past the retained folio, whose truncated part has already been zeroed. Do not move start backwards if the failed split has shrunk the folio. Fix generated by an LLM and sent by Chris Mason in private. [ david: split fixes, simplify descriptions, adjust comments ]
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= da9b7c651c6517c2de1099136ed87c0c24f864dd, < c00f570d296157a89bf25282cfabc057a34dbc85; >= 7a4ae7acd20805940307be98b304871a43288a01, < 65c71c823b8ceb7721642fdb24a992b22fdf0944; >= 55ac8bbe358bdd2f3c044c12f249fd22d48fe015, < dfedff4a9f0abcd985dcdfbd721dcd9374d6ff12; >= 55ac8bbe358bdd2f3c044c12f249fd22d48fe015, < 1360e0f9a188cfede01d0df81119d925bbfff165; >= 55ac8bbe358bdd2f3c044c12f249fd22d48fe015, < b3239a5a37bba078d83cfb864d47a0cc122f17cd; >= 55ac8bbe358bdd2f3c044c12f249fd22d48fe015, < a842a1f947da8a7020e72f885ffbf2ce6a93685f; >= 6.1.69, < 6.1.193; >= 6.6.8, < 6.6.163 | — | cvelist |
| Linux | 6.7 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-99740. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-99740.md Affected: Linux >= da9b7c651c6517c2de1099136ed87c0c24f864dd, < c00f570d296157a89bf25282cfabc057a34dbc85; >= 7a4ae7acd20805940307be98b304871a43288a01, < 65c71c823b8ceb7721642fdb24a992b22fdf0944; >= 55ac8bbe358bdd2f3c044c12f249fd22d48fe015, < dfedff4a9f0abcd985dcdfbd721dcd9374d6ff12; >= 55ac8bbe358bdd2f3c044c1… Fixed in: Linux 65c71c823b8ceb7721642fdb24a992b22fdf0944, Linux 1360e0f9a188cfede01d0df81119d925bbfff165, Linux 6.1.193, Linux 6.6.163 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
Technologies
References
Other
- https://git.kernel.org/stable/c/c00f570d296157a89bf25282cfabc057a34dbc85
- https://git.kernel.org/stable/c/65c71c823b8ceb7721642fdb24a992b22fdf0944
- https://git.kernel.org/stable/c/dfedff4a9f0abcd985dcdfbd721dcd9374d6ff12
- https://git.kernel.org/stable/c/1360e0f9a188cfede01d0df81119d925bbfff165
- https://git.kernel.org/stable/c/b3239a5a37bba078d83cfb864d47a0cc122f17cd
- https://git.kernel.org/stable/c/a842a1f947da8a7020e72f885ffbf2ce6a93685f
FAQ
Is CVE-2026-99740 being exploited?
There is no confirmed exploitation: CVE-2026-99740 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.17% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-99740?
It has no CVSS score yet. Unknown.
Which versions are affected by CVE-2026-99740?
Linux >= da9b7c651c6517c2de1099136ed87c0c24f864dd, < c00f570d296157a89bf25282cfabc057a34dbc85; >= 7a4ae7acd20805940307be98b304871a43288a01, < 65c71c823b8ceb7721642fdb24a992b22fdf0944; >= 55ac8bbe358bdd2f3c044c12f249fd22d48fe015, < dfedff4a9f0abcd985dcdfbd721dcd9374d6ff12; >= 55ac8bbe358bdd2f3c044c12f249fd22d48fe015, < 1360e0f9a188cfede01d0df81119d925bbfff165; >= 55ac8bbe358bdd2f3c044c12f249fd22d48fe015, < b3239a5a37bba078d83cfb864d47a0cc122f17cd; >= 55ac8bbe358bdd2f3c044c12f249fd22d48fe015, < a842a1f947da8a7020e72f885ffbf2ce6a93685f; >= 6.1.69, < 6.1.193; >= 6.6.8, < 6.6.163; Linux 6.7.
Is there a fix for CVE-2026-99740?
Yes. Fixed in Linux 65c71c823b8ceb7721642fdb24a992b22fdf0944, Linux 1360e0f9a188cfede01d0df81119d925bbfff165, Linux 6.1.193, Linux 6.6.163. Upgrade Linux to 6.6.163 or later.
How do I check if I'm affected by CVE-2026-99740?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.
More Linux kernel vulnerabilities
See all| Severity | Identifier / vulnerability | Technology | Signals | Age |
|---|---|---|---|---|
| HIGH 7.0 | CVE-2026-137974 Tuned: local privilege escalation through untrusted mount table parsing in the spindown-disk profile | Linux kernel+1 | ||
| HIGH 7.8 | CVE-2026-137941 Gimp: gimp: heap out-of-bounds write via unvalidated levels channel property | Linux kernel+1 | ||
| HIGH 7.3 | CVE-2026-137898 Pam: linux-pam pam_econf local privilege escalation via relative "(null)" config directory from empty vendor directory handling | Linux kernel+1 | ||
| MEDIUM 6.5 | CVE-2026-102963 Use-after-return in getaddrinfo() when a DNS query that followed a CNAME cannot be cancelled | Linux kernel+1 | ||
| MEDIUM 5.3 | CVE-2026-115841 Sequoia-openpgp: sequoia-openpgp: degenerate dsa keys are accepted on the nettle and openssl backendsa | Linux kernel+4 |