CVE-2026-72027 (GCVE-0-2026-72027)
Vulnerability from cvelistv5
Published
2026-08-15 05:51
Modified
2026-08-17 05:39
Severity ?
VLAI Severity ?
EPSS score ?
Summary
In the Linux kernel, the following vulnerability has been resolved:
mm/compaction: handle free_pages_prepare() properly in compaction_free()
free_pages_prepare() can fail but compaction_free() does not handle the
failure case. Failed pages should not be added back to cc->freepages for
future use, since they can be either PageHWPoison or free_page_is_bad()
and might cause data corruption.
References
| URL | Tags | |
|---|---|---|
Impacted products
{
"containers": {
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"mm/compaction.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "de8577db09039d4950239b01446ab5ead9028ab4",
"status": "affected",
"version": "733aea0b3a7bba0451dfc19322665de13a5b7af4",
"versionType": "git"
},
{
"lessThan": "018d7ad26cb8bdfe9842f2ca68a42b0bfdcc82fe",
"status": "affected",
"version": "733aea0b3a7bba0451dfc19322665de13a5b7af4",
"versionType": "git"
},
{
"lessThan": "23afc3786acf359c135093893fb43a436768c832",
"status": "affected",
"version": "733aea0b3a7bba0451dfc19322665de13a5b7af4",
"versionType": "git"
},
{
"lessThan": "7da7d599b8a83271c464adfd5ef160202b470570",
"status": "affected",
"version": "733aea0b3a7bba0451dfc19322665de13a5b7af4",
"versionType": "git"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"mm/compaction.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "6.9"
},
{
"lessThan": "6.9",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.12.*",
"status": "unaffected",
"version": "6.12.97",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.18.*",
"status": "unaffected",
"version": "6.18.40",
"versionType": "semver"
},
{
"lessThanOrEqual": "7.1.*",
"status": "unaffected",
"version": "7.1.5",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "7.2",
"versionType": "original_commit_for_fix"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.12.97",
"versionStartIncluding": "6.9",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.18.40",
"versionStartIncluding": "6.9",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.1.5",
"versionStartIncluding": "6.9",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.2",
"versionStartIncluding": "6.9",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nmm/compaction: handle free_pages_prepare() properly in compaction_free()\n\nfree_pages_prepare() can fail but compaction_free() does not handle the\nfailure case. Failed pages should not be added back to cc-\u003efreepages for\nfuture use, since they can be either PageHWPoison or free_page_is_bad()\nand might cause data corruption."
}
],
"metrics": [
{
"cvssV3_1": {
"baseScore": 7.8,
"baseSeverity": "HIGH",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"version": "3.1"
},
"scenarios": [
{
"lang": "en",
"value": "AV:L - The flaw is in mm/compaction.c compaction_free(), reached only via local kernel memory-management paths (__alloc_pages_slowpath/try_to_compact_pages, kcompactd, or root sysctl), not from network packet handlers or physical device insertion.\nAC:L - An unprivileged attacker can reliably drive compaction (THP/high-order mmap, memory pressure) and concurrently force migrate_pages failures and races so compaction_free() runs on pages where free_pages_prepare() rejects them; both sides are attacker-influenceable.\nPR:L - No special capability is required: ordinary local processes trigger direct compaction through normal allocators and transparent hugepage mappings, and user namespaces do not block these memory syscalls or kcompactd-driven compaction on the host.\nUI:N - Exploitation requires only the attacker\u0027s own memory-allocation and churn activity; no separate victim must mount filesystems, open files, or perform other interactive steps beyond routine process execution.\nS:U - Recycling PageHWPoison or free_page_is_bad() pages corrupts host kernel page-allocator/compaction state and process memory within the same OS security authority, not a VM-guest-to-host or IOMMU boundary crossing.\nC:H - Reusing pages that failed free_pages_prepare() can expose stale kernel or cross-process contents and enables allocator/page aliasing primitives; under the overestimate rule, this memory-corruption class supports high confidentiality impact.\nI:H - The fix explicitly warns these pages may cause data corruption when returned to cc-\u003efreepages; compaction_alloc() later hands them to migrate_pages as destinations, allowing corrupted/compound state to be written into live mappings.\nA:H - Reallocating HWPoison or allocator-marked bad pages during compaction can trigger kernel faults, bad-page detection, oopses, or panics when the poisoned folio is touched, satisfying high availability impact under the kernel crash guidance."
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-08-17T05:39:33.783Z",
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux"
},
"references": [
{
"url": "https://git.kernel.org/stable/c/de8577db09039d4950239b01446ab5ead9028ab4"
},
{
"url": "https://git.kernel.org/stable/c/018d7ad26cb8bdfe9842f2ca68a42b0bfdcc82fe"
},
{
"url": "https://git.kernel.org/stable/c/23afc3786acf359c135093893fb43a436768c832"
},
{
"url": "https://git.kernel.org/stable/c/7da7d599b8a83271c464adfd5ef160202b470570"
}
],
"title": "mm/compaction: handle free_pages_prepare() properly in compaction_free()",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"assignerShortName": "Linux",
"cveId": "CVE-2026-72027",
"datePublished": "2026-08-15T05:51:51.219Z",
"dateReserved": "2026-08-09T03:40:39.901Z",
"dateUpdated": "2026-08-17T05:39:33.783Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…
Loading…