mm/madvise: atomically clear the young bit on THP MADV_COLD
Severity and exploitation
KEV coverage does not rule out exploitation.
Severity
unknownCVSS measures technical severity, not the likelihood of an attack.
Known exploitation
Not listed in the checked CISA KEV catalog
Absence from CISA KEV does not rule out attacks.
Public exploit
Not established by this record
Missing evidence does not mean no public exploit exists.
Remediation
Fix status not established
No structured fix or guidance is available here. Check the latest publisher advisory.
What this means
In the Linux kernel, the following vulnerability has been resolved:
Source excerpt · LinuxAttack conditions
No attack-condition excerpt has been identified here. Review the full source description and references for authentication, network access, and configuration requirements.
Review supporting sources →Affected versions
Check the exact model, release, and any platform requirements against your installation.
Linux · Linux
Linux
8 ranges
Linux · Linux
Linux
Compare with this publisher’s ranges. This does not inspect your installation.
affected
9c276cc65a58faf98be8e56962745ec99ab87636 → before 9eeed293486a5389bc07232613ed57e875c5bdd8
git versions
9c276cc65a58faf98be8e56962745ec99ab87636 → before 17ee2edd085250973eb00cbd98c8b2e0f1a64eda
git versions
9c276cc65a58faf98be8e56962745ec99ab87636 → before fe34430e1f0c5788160508da2265d904c6afab83
git versions
9c276cc65a58faf98be8e56962745ec99ab87636 → before be48a2b1253655b4f4fdde4c950ff5c87f2ec51a
git versions
9c276cc65a58faf98be8e56962745ec99ab87636 → before 866940b1ccbf8061528986484eac73e44f8a1c52
git versions
9c276cc65a58faf98be8e56962745ec99ab87636 → before be6be6707c2953dc4ee979e7e4605fe436d87429
git versions
9c276cc65a58faf98be8e56962745ec99ab87636 → before 5a4d557c02049f75c260dd5492c6e1961e49e77e
git versions
9c276cc65a58faf98be8e56962745ec99ab87636 → before 246c8cc33438a71c28f9b86baa492d9a0a130316
git versions
Other versions: unaffected
Linux · Linux
Linux
10 ranges
Linux · Linux
Linux
Compare with this publisher’s ranges. This does not inspect your installation.
affected
5.4
unaffected
0 → before 5.4
semver versions
5.10.275 → through 5.10.*
semver versions
5.15.226 → through 5.15.*
semver versions
6.1.193 → through 6.1.*
semver versions
6.6.163 → through 6.6.*
semver versions
6.12.117 → through 6.12.*
semver versions
6.18.63 → through 6.18.*
semver versions
7.3.4 → through 7.3.*
semver versions
7.4-rc1 → through *
original_commit_for_fix versions
Other versions: affected
What to do
Compare your installed product and version with the affected versions above. A matching product name alone does not confirm exposure.
No structured fix or remediation guidance is available here. Check the full source description and vendor’s latest advisory for a patch or workaround; do not assume another version is safe.
cve.new guidance unless attributed to a publisher. This page does not inspect your installation.
Public exploit evidence
No public exploit reference is identified in the imported evidence. This is not a claim that no exploit exists.
Original source description
Read the full publisher description
In the Linux kernel, the following vulnerability has been resolved:
mm/madvise: atomically clear the young bit on THP MADV_COLD
As-is, madvise_cold_or_pageout_pte_range() discards the hardware young bit by invalidating the PMD, doing pmd_mkold() and subsequently writing to the pmd again. However, it does so in a racy manner, looking at a possibly-stale snapshot. It's entirely possible that a write elsewhere set the hardware D bit, which this logic now loses.
Fix it by using pmdp_test_and_clear_young(). This is an atomic modification of the PMD entry, and thus safe against any possible racing writes. As a (nice) side-effect, this elides one non-required TLB flush in pmdp_invalidate().
This bug can interact with the swapping system in complicated ways, leading to data loss. For instance, if a folio is marked lazyfree, but was later read from, and then MADV_COLD'd while racing a write to that same THP, dropping the dirty bit may lead to data loss as reclaim/MADV_PAGEOUT drops the "clean" anon folio:
T0 T1
MADV_FREE(thp) | folio marked lazyfree | read(thp) | PMD marked young by hardware | | MADV_COLD(thp) write(thp) | if (pmd_young(pmd)) { PMD marked dirty by hardware | set(pmdp, pmd_mkold(pmd)); MADV_PAGEOUT/reclaim | dirty bit may or may not be | set | reclaim/pageout may drop | the folio |
References
8 sourcesInside the record
Evidence available
Describes the evidence in this view, not whether the product is safe.
Original records
CVE-2026-99918View the latest unmodified CVE JSON from the official source. It may be newer than this imported page.
cve.new JSON →Environment requirements
These conditions apply together as specified by the publisher. A matching product name alone does not establish exposure.
Linux · platform conditions
Any condition may hold
Vulnerable product
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*From (inclusive): 5.4
Before: 5.10.275
Vulnerable product
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*From (inclusive): 5.4
Before: 5.15.226
Vulnerable product
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*From (inclusive): 5.4
Before: 6.1.193
Vulnerable product
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*From (inclusive): 5.4
Before: 6.6.163
Vulnerable product
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*From (inclusive): 5.4
Before: 6.12.117
Vulnerable product
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*From (inclusive): 5.4
Before: 6.18.63
Vulnerable product
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*From (inclusive): 5.4
Before: 7.3.4
Vulnerable product
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*From (inclusive): 5.4
Before: 7.4-rc1
Applicability preview
[
{
"nodes": [
{
"operator": "OR",
"negate": false,
"cpeMatch": [
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "5.4",
"versionEndExcluding": "5.10.275"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "5.4",
"versionEndExcluding": "5.15.226"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "5.4",
"versionEndExcluding": "6.1.193"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "5.4",
"versionEndExcluding": "6.6.163"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "5.4",
"versionEndExcluding": "6.12.117"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "5.4",
"versionEndExcluding": "6.18.63"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "5.4",
"versionEndExcluding": "7.3.4"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "5.4",
"versionEndExcluding": "7.4-rc1"
}
]
}
]
}
]Contributing organizations · 1
Assigning organization
Timeline
All times UTCAdvisory published
Publication date supplied by the source.
Last imported by cve.new
Latest catalog import, not the date we first saw this advisory.
What changed
Follow changesLarge field values are marked as truncated previews. Original source snapshots remain retained.
Related advisories
Recent advisories affecting the same package or the same recorded vendor and product. These are separate vulnerabilities, not additional evidence for this advisory.
KVM: nSVM: Check validity of vmcs01 save area copied from SMRAM on RSM
In the Linux kernel, the following vulnerability has been resolved:
No structured fix or guidance is available here. Check the latest publisher advisory.
Exploitation not established
9p/xen: drain response work after unbinding IRQ
In the Linux kernel, the following vulnerability has been resolved:
No structured fix or guidance is available here. Check the latest publisher advisory.
Exploitation not established
mm/shmem: hold off eviction in shmem_writeout()
In the Linux kernel, the following vulnerability has been resolved:
No structured fix or guidance is available here. Check the latest publisher advisory.
Exploitation not established
mm: do not unintentionally overwrite atomic VMA flags
In the Linux kernel, the following vulnerability has been resolved:
No structured fix or guidance is available here. Check the latest publisher advisory.
Exploitation not established
ocfs2/cluster: hold a reference on the heartbeat thread
In the Linux kernel, the following vulnerability has been resolved:
No structured fix or guidance is available here. Check the latest publisher advisory.
Exploitation not established
ocfs2/heartbeat: serialize concurrent writes to a region's dev attribute
In the Linux kernel, the following vulnerability has been resolved:
No structured fix or guidance is available here. Check the latest publisher advisory.
Exploitation not established