Skip to contentSkip to conversation

CVE-2026-72169: kho: make sure scratch size is always aligned by CMA_MIN_ALIGNMENT_BYTES

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Aug 15

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

kho: make sure scratch size is always aligned by CMA_MIN_ALIGNMENT_BYTES

When using scratch_scale, the scratch sizes are rounded up to CMA_MIN_ALIGNMENT_BYTES since they will be released as MIGRATE_CMA. This is not done when using fixed scratch sizes via command line. This can result in user specifying a size which is not aligned, and thus kernel releasing a pageblock that is only partially scratch.

Do the rounding up for both cases in scratch_size_update().

The Linux kernel CVE team has assigned CVE-2026-72169 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 6.16 with commit 3dc92c311498c4d307cfdd0c6c3ac9355b50f683 and fixed in 6.18.42 with commit b8271be34bce151597da5b5179e0648c281322a4
	Issue introduced in 6.16 with commit 3dc92c311498c4d307cfdd0c6c3ac9355b50f683 and fixed in 7.1.5 with commit 9fefab759f59bf891bef7be15aee4bc7caec7ec3
	Issue introduced in 6.16 with commit 3dc92c311498c4d307cfdd0c6c3ac9355b50f683 and fixed in 7.2-rc1 with commit 0e39380a7316122e1b00012b3f3cd3e318b3e7d3

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2026-72169

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:
kernel/liveupdate/kexec_handover.c

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	https://git.kernel.org/stable/c/b8271be34bce151597da5b5179e0648c281322a4
	https://git.kernel.org/stable/c/9fefab759f59bf891bef7be15aee4bc7caec7ec3
	https://git.kernel.org/stable/c/0e39380a7316122e1b00012b3f3cd3e318b3e7d3