CVE-2026-99733
Last modified
CVE-2026-99733 is a vulnerability of currently unknown severity. 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.
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 Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= 1b6444331bebb4e586dab30b1fa0612ef482bab4, < f17044fee422605d19e07c4c9f5dc2be7abd7086; >= 1b6444331bebb4e586dab30b1fa0612ef482bab4, < 9cf632e139737314afa889ca18122bc3fddb9120 |
| Linux | Linux | 7.2 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-99733?
How severe is CVE-2026-99733?
How do I fix CVE-2026-99733?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-99728In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-99729In the Linux kernel, the following vulnerability has been re…
- CVE-2026-9973Out of bounds write in V8 in Google Chrome prior to 148.0.77…8.8
- CVE-2026-99730In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-99731In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99732In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99734In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99735In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-99736In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99737In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99738In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99739In the Linux kernel, the following vulnerability has been re…
Are you affected by CVE-2026-99733?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
