CVE-2026-99669

Source
https://cve.org/CVERecord?id=CVE-2026-99669
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99669.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-99669
Published
2026-11-20T05:50:18Z
Modified
2026-11-20T07:01:06Z
Summary
mm/huge_memory: fix truncate racing with PMD zapping
Details

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 ]

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99669.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
fe6cf984939d8e12cb33a99673c8d026c5135e68
Fixed
a5786ec7ba7967433207f20214ff75768497a2c9
Fixed
e6a07d29b0a60f3a4cfe77fe34eeb4b3fb38d6c4
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
79d8c89baa10612c1675972a632c65cdbe0936f6
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
13f4910d81b62a214cdb28b47237198fa96078a2
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
7a4c3f7b47ba34b021a7747081f330bfb76a4271
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
6e904f9e8cb0e39f60e1cdbea679f89346a563c2
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
fd720d3906877b3d2118cd480027e4bc6648f0c5
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
effe3cc6d4fdd407457eb30f7b0ef094393f0d64
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
9435cddf1378d149d826bd7bd1448a44bf96868d

Affected versions

v5.*
v5.10.273
v5.10.274
v5.15.224
v5.15.225
v6.*
v6.1.191
v6.1.192
v6.12.114
v6.12.115
v6.12.116
v6.12.117
v6.12.118
v6.18.52
v6.18.53
v6.18.54
v6.18.55
v6.18.56
v6.18.57
v6.18.58
v6.18.59
v6.18.60
v6.18.61
v6.18.62
v6.18.63
v6.18.64
v6.6.160
v6.6.161
v6.6.162
v7.*
v7.2.10
v7.2.11
v7.2.12
v7.2.13
v7.2.14
v7.2.15
v7.2.5
v7.2.6
v7.2.7
v7.2.8
v7.2.9

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99669.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.10.273
Fixed
5.11
Type
ECOSYSTEM
Events
Introduced
5.15.224
Fixed
5.16
Type
ECOSYSTEM
Events
Introduced
6.1.191
Fixed
6.2
Type
ECOSYSTEM
Events
Introduced
6.6.160
Fixed
6.7
Type
ECOSYSTEM
Events
Introduced
6.12.114
Fixed
6.13
Type
ECOSYSTEM
Events
Introduced
6.18.52
Fixed
6.19
Type
ECOSYSTEM
Events
Introduced
7.2.5
Fixed
7.3
Type
ECOSYSTEM
Events
Introduced
7.3.0
Fixed
7.3.5

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99669.json"