CVE-2026-99733
mm/truncate: look again if a folio left the mapping
Mitigation
- Upgrade Linux to 9cf632e139737314afa889ca18122bc3fddb9120 or later.
Who should check
- Anyone running Linux >= 1b6444331bebb4e586dab30b1fa0612ef482bab4, < f17044fee422605d19e07c4c9f5dc2be7abd7086; >= 1b6444331bebb4e586dab30b1fa0612ef482bab4, < 9cf632e139737314afa889ca18122bc3fddb9120
- Anyone running Linux 7.2
Vulnerability facts
- Affected
- Linux >= 1b6444331bebb4e586dab30b1fa0612ef482bab4, < f17044fee422605d19e07c4c9f5dc2be7abd7086; >= 1b6444331bebb4e586dab30b1fa0612ef482bab4, < 9cf632e139737314afa889ca18122bc3fddb9120; Linux 7.2
- Fixed in
- Linux 9cf632e139737314afa889ca18122bc3fddb9120
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- EPSS
- 0.16% chance of exploitation in 30 days (percentile 2, 2026-11-26)
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: mm/truncate: look again if a folio left the mapping invalidate_inode_pages2_range() skips a folio which no longer belongs to the mapping by the time it has got the folio lock, on the assumption that somebody else has removed it from the page cache. But the folio may have been replaced, and then there is a new folio with the same data at that index. For most cases, like folio migration, that is impossible. However, collapse_file() only checks the refcount of the old folios, under the i_pages lock, and relies on their folio locks from there on. That works for users which repeat the lookup when they find folio->mapping changed. The following scenario is, however, possible: CPU0 pwrite(O_DIRECT) CPU1 collapse_file() kiocb_invalidate_pages() read the folio (old data), lock it refcount check the write completes copy to new_folio kiocb_invalidate_post_direct_write() find_get_entries() -> old folio xas_store(new_folio) folio->mapping = NULL folio_unlock(folio) folio_lock() folio->mapping != mapping -> continue In that scenario, the collapsed folio with the data from before the write stays in the page cache after the write has returned. This used to be impossible, as khugepaged only collapsed files that nobody had open for writing. Restart the lookup at that index, like shmem_undo_range() does. The same problem seems to exist in truncate_inode_pages_range() as well when truncate_inode_folio() fails, so handle it there as well, but slightly differently: simply check once more through find_get_entries().
Affected and fixed versions
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-99733. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-99733.md Affected: Linux >= 1b6444331bebb4e586dab30b1fa0612ef482bab4, < f17044fee422605d19e07c4c9f5dc2be7abd7086; >= 1b6444331bebb4e586dab30b1fa0612ef482bab4, < 9cf632e139737314afa889ca18122bc3fddb9120; Linux 7.2 Fixed in: Linux 9cf632e139737314afa889ca18122bc3fddb9120 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
FAQ
Is CVE-2026-99733 being exploited?
There is no confirmed exploitation: CVE-2026-99733 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.16% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-99733?
It has no CVSS score yet. Unknown.
Which versions are affected by CVE-2026-99733?
Linux >= 1b6444331bebb4e586dab30b1fa0612ef482bab4, < f17044fee422605d19e07c4c9f5dc2be7abd7086; >= 1b6444331bebb4e586dab30b1fa0612ef482bab4, < 9cf632e139737314afa889ca18122bc3fddb9120; Linux 7.2.
Is there a fix for CVE-2026-99733?
Yes. Fixed in Linux 9cf632e139737314afa889ca18122bc3fddb9120. Upgrade Linux to 9cf632e139737314afa889ca18122bc3fddb9120 or later.
How do I check if I'm affected by CVE-2026-99733?
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 |