# CVE-2026-72027: mm/compaction: handle free_pages_prepare() properly in compaction_free()

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 7% of CVEs (2026-12-01)
- Published: 2026-08-15T05:51:51.219Z
- Modified: 2026-08-17T06:18:00.417Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 733aea0b3a7bba0451dfc19322665de13a5b7af4 before de8577db09039d4950239b01446ab5ead9028ab4; from 733aea0b3a7bba0451dfc19322665de13a5b7af4 before 018d7ad26cb8bdfe9842f2ca68a42b0bfdcc82fe; from 733aea0b3a7bba0451dfc19322665de13a5b7af4 before 23afc3786acf359c135093893fb43a436768c832; from 733aea0b3a7bba0451dfc19322665de13a5b7af4 before 7da7d599b8a83271c464adfd5ef160202b470570; 6.9 (not affected: before 6.9; from 6.12.97 up to 6.12.*; from 6.18.40 up to 6.18.*; from 7.1.5 up to 7.1.*; from 7.2 up to *)

## References

- <https://git.kernel.org/stable/c/de8577db09039d4950239b01446ab5ead9028ab4>
- <https://git.kernel.org/stable/c/018d7ad26cb8bdfe9842f2ca68a42b0bfdcc82fe>
- <https://git.kernel.org/stable/c/23afc3786acf359c135093893fb43a436768c832>
- <https://git.kernel.org/stable/c/7da7d599b8a83271c464adfd5ef160202b470570>

## Sources

- CVE List: [CVE-2026-72027](https://www.cve.org/CVERecord?id=CVE-2026-72027), CVE Terms of Use, modified 2026-08-17
- NVD: [CVE-2026-72027](https://nvd.nist.gov/vuln/detail/CVE-2026-72027), Public domain, modified 2026-08-17

---

Page: https://cve.day/CVE-2026-72027 · Whole record: https://cve.day/CVE-2026-72027.json · Rebuilt by cve.day 2026-11-25T22:59:32.978Z
