Description
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.
Published: 2026-08-15
Score: 7.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Linux kernel contains a flaw in its memory compaction code where the function free_pages_prepare() can fail, but the compaction_free() routine does not handle the error condition. When a page fails preparation, it may be either hardware poisoned (PageHWPoison) or deemed bad by free_page_is_bad(). The faulty logic still adds such pages back into the freepages list, which can later be allocated for write operations. If a bad page is reused, it can overwrite valid data or propagate corrupted data, resulting in data integrity failures. This weakness stems from improper handling of error return values in kernel internal memory management, a flaw that may cause data corruption.

Affected Systems

The vulnerability applies to the Linux kernel as a whole. All kernel releases that include the unpatched compaction_free() logic are potentially affected. The fix is included in the kernel commits referenced in the advisory and is available in recent kernel releases; older releases that have not incorporated those commits would remain vulnerable.

Risk and Exploitability

The EPSS score is reported as < 1% and the vulnerability is not listed in the CISA KEV catalog. The CVSS score of 7.8 indicates a moderate severity. The flaw involves internal memory handling, so an attacker would likely need local or kernel-level access to reliably trigger free_pages_prepare() failures and force the bad pages back into use. With no public exploit documented, the potential for data corruption makes this weakness a low to medium risk pending a formal severity rating.

Generated by OpenCVE AI on August 18, 2026 at 03:52 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the kernel patch that corrects compaction_free()’s failure handling by upgrading to a kernel version that includes the relevant commits.
  • If an immediate kernel upgrade is not possible, back‑port the specific commits that fix the error handling into the running kernel.
  • Enable kernel memory safety features, such as PAGE_POISON or kdump monitoring, to detect and isolate corruption caused by bad pages.

Generated by OpenCVE AI on August 18, 2026 at 03:52 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 18 Aug 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-252
References
Metrics threat_severity

None

threat_severity

Moderate


Mon, 17 Aug 2026 06:00:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}


Sat, 15 Aug 2026 06:00:00 +0000

Type Values Removed Values Added
Description 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.
Title mm/compaction: handle free_pages_prepare() properly in compaction_free()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-17T05:39:33.783Z

Reserved: 2026-08-09T03:40:39.901Z

Link: CVE-2026-72027

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-15T06:21:01.843

Modified: 2026-08-17T06:18:00.417

Link: CVE-2026-72027

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-08-15T00:00:00Z

Links: CVE-2026-72027 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-18T04:00:10Z

Weaknesses