Vulnerability · CVE-2026-89987
mm/huge_memory: transfer the pmd dirty bit to the folio on zap
Published Sep 16, 2026 · catalog updated Nov 4, 2026 · mm/huge_memory: transfer the pmd
Last checked Nov 4, 2026. A connected source was read within the last 7 days.
Check if you run it
No confirmed exploitation is on record for CVE-2026-89987. EPSS is 0.22%. Act only if a listed version of mm/huge_memory: transfer the pmd is installed.
Gaps on this record
- The stored product name is a package slug. The name on this page is taken from the title (mm/huge_memory: transfer the pmd).
- No vendor fix or required action is stored. Compare the linked advisory before you change production.
- Severity
- Unknown—
- Known exploitation
- Not in CISA/VulnCheck KEV
- EPSS
- 0.22%
- Remediation
- Not established
- Affected products
- Linux Kernel
In the Linux kernel, the following vulnerability has been resolved: mm/huge_memory: transfer the pmd dirty bit to the folio on zap zap_huge_pmd_folio() propagates the pmd young bit to the folio for the file case, but not the dirty bit. The pte path does propagate it, in zap_present_folio_ptes() and so does the pmd split path, in __split_huge_pmd_locked(). For most file mappings the omission is harmless, because writing to a shared file mapping goes through page_mkwrite(), which dirties the folio. tmpfs is different: it has no page_mkwrite(), and vma_wants_writenotify() is false for it, so a *read* fault on a MAP_SHARED tmpfs mapping installs a writable pmd via do_read_fault(). do_read_fault() does not call fault_dirty_shared_page(), so subsequent stores through that mapping set only the hardware dirty bit in the pmd and never call folio_mark_dirty(). A shmem folio allocated by a fault is marked uptodate but not dirty (see the clear: block in shmem_get_folio_gfp()), so PG_dirty is never set at all. Unmapping such a folio - munmap(), or exit_mmap() when the process dies - then loses the only record that it was written, because zap_huge_pmd() drops the pmd without transferring the dirty bit. Reclaim afterwards sees a clean shmem folio: the whole swap-out block in shrink_folio_list() is inside "if (folio_test_dirty(folio))", so pageout() is skipped and the folio falls into __remove_mapping(). There, folio_is_file_lru() is false for a swapbacked folio, so no shadow entry is created and __filemap_remove_folio(folio, NULL) simply empties the i_pages slot. The data is freed without ever being written to swap, and the next fault on that index returns a freshly zeroed folio. This is silent data loss for any process that keeps state in a MAP_SHARED tmpfs segment across an unmap - for example a cache handed from one process generation to the next through /dev/shm. It requires the folio to be PMD-mapped, so it only shows up once shmem THP is enabled (which is what we did in Meta
Are you affected?
Enter the version you run. The result uses only the ranges stored on this record.
The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.
- Linux Kernel4.8.0 → 5.10.273; 5.11.0 → 5.15.224; 5.16.0 → 6.1.191
How to fix CVE-2026-89987
Upgrade
CVE-2026-89987 lists a fix boundary at 5.10.273. Compare the installed build with that boundary before you change production.
Version check
Seen in 4.8.0 → 5.10.273; 5.11.0 → 5.15.224; 5.16.0 → 6.1.191
Advisory
Open the cve_org record and follow its fix.
Official advisories
What to do
Three questions, each answered from this record only. Confirm the vendor advisory before you patch.
Should you patch?
No confirmed exploitation is on record for CVE-2026-89987. EPSS is 0.22%. Act only if a listed version of mm/huge_memory: transfer the pmd is installed.
Which versions are affected?
Compare what you have installed with Kernel 4.8.0 → 5.10.273; 5.11.0 → 5.15.224; 5.16.0 → 6.1.191. Compare the installed version with the linked vendor advisory before you change production.
What should an analyst verify?
No weakness class is stored. EPSS 0.22%. There is no CISA KEV listing. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.
Code
The project this record applies to. Exploit listings stay in References.
Timeline
Detection, updates, and resolution for this record.
Sep 16, 2026 · OpenSSF OSV / OSV Scanner
Detected
In the Linux kernel, the following vulnerability has been resolved: mm/huge_memory: transfer the pmd dirty bit to the folio on zap zap_huge_pmd_folio() propagates the pmd young bit to the folio for the file case, but not the dirty bit. The pte path does propagate it, in zap_present_folio_ptes() and so does the pmd split path, in __split_huge_pmd_locked(). For most file mappings the omission is har
Nov 4, 2026 · OpenSSF OSV / OSV Scanner
Fix available
Kernel fixed in 5.10.273; Kernel fixed in 5.15.224; Kernel fixed in 6.1.191; Kernel fixed in 6.6.160
Nov 4, 2026 · OpenSSF OSV / OSV Scanner
Fix available
Kernel fixed in 5.10.273; 5.11.0
Nov 4, 2026 · OpenSSF OSV / OSV Scanner
Updated
In the Linux kernel, the following vulnerability has been resolved: mm/huge_memory: transfer the pmd dirty bit to the folio on zap zap_huge_pmd_folio() propagates the pmd young bit to the folio for the file case, but not the dirty bit. The pte path does propagate it, in zap_present_folio_ptes() and so does the pmd split path, in __split_huge_pmd_locked(). For most file mappings the omission is har
Sources
- CVE.orgVulnerability recordCVE-2026-89987
Official CVE identifier
cve.org - OpenSSF OSV / OSV ScannerPackage advisoryCVE-2026-89987
mm/huge_memory: transfer the pmd dirty bit to the folio on zap
osv.dev
References
Freshness
Last verified in this catalog Nov 4, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.
- CVE.orgNov 4, 2026
- OpenSSF OSV / OSV ScannerNov 4, 2026