ZeroDay Brief
CVE-2026-99669

In the Linux kernel, the following vulnerability has been resolved: mm/huge_memory: fix truncate racing with PMD zapping zap_huge_pmd_folio() removes the rmap before calling folio_mark_dirty().

CVSS
7.8High
Chance of exploitation (EPSS)
0.17%
Published
Nov 20, 2026
In the news
Not yet
More from this vendor

What to do

A serious security flaw in Linux that needs access to the machine itself. No attacks are reported yet; it can go in your normal patch cycle.

Action: Check the vendor's advisory in the references and apply updates as soon as they are available.

Fixed in: 5.11, 5.16, 6.2, 6.7, 6.13, 6.19, 7.3

Affected versions
Linux
5.10.273 to before 5.11; 5.15.224 to before 5.16; 6.1.191 to before 6.2; 6.12.114 to before 6.13; 6.18.52 to before 6.19; 6.6.160 to before 6.7; 7.2.5 to before 7.3; 7.3

Description

In the Linux kernel, the following vulnerability has been resolved:

mm/huge_memory: fix truncate racing with PMD zapping

zap_huge_pmd_folio() removes the rmap before calling folio_mark_dirty().
If this was the last mapping, truncation can skip unmapping the folio
and proceed without waiting for the PMD lock, racing with dirtying.

ifs_set_range_dirty() can oops if MADV_DONTNEED races with
ftruncate() on XFS, when we get the folio set dirty after it was found
to not be mapped anymore.

Move folio_mark_dirty() and folio_mark_accessed() before rmap removal,
matching the PTE zap path. This keeps the folio mapped while updating
its state, so truncation must wait for the page table lock.

Fix generated by an LLM and sent by Chris Mason in private.

[ david: simplify comment and description ]

Affected products

Get alerts for these →

Timeline 4

Latest change: Tenable Cloud Security plugin 485970: Chainguard: multiple linux-desktop-6.18 packages: security update to 6.18.66-r0 (Nov 29, 2026)

News, advisories, exploit code, scanner detection and exploitation, newest first.

References 2

You are leaving ZeroDay Brief

This link goes to exploit code on a third-party site. We find these links automatically and do not test, review or vouch for them. They may contain malware or fake exploits.

We are not responsible for anything that happens if you open the page or run its code. Never run exploit code on systems you care about.

↑ ↓ moveEnter openEsc closeTry “CVE-2026”, “fortinet” or “ivanti”