Skip to contentSkip to conversation

CVE-2025-71155: KVM: s390: Fix gmap_helper_zap_one_page() again

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Jan 23

lore
Share & tools
lore
#0 lore raw

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

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

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

KVM: s390: Fix gmap_helper_zap_one_page() again

A few checks were missing in gmap_helper_zap_one_page(), which can lead to memory corruption in the guest under specific circumstances.

Add the missing checks.

The Linux kernel CVE team has assigned CVE-2025-71155 to this issue.

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

	Issue introduced in 6.18 with commit 5deafa27d9ae040b75d392f60b12e300b42b4792 and fixed in 6.18.4 with commit 2af2abbcbf8573100288e8f8aea2dab8a2a0ceb7
	Issue introduced in 6.18 with commit 5deafa27d9ae040b75d392f60b12e300b42b4792 and fixed in 6.19-rc1 with commit 2f393c228cc519ddf19b8c6c05bf15723241aa96
	Issue introduced in 6.17.4 with commit 919efcadb63fc3d3a82c3de7194140e0b28903dc

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-2025-71155

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:

	arch/s390/mm/gmap_helpers.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/2af2abbcbf8573100288e8f8aea2dab8a2a0ceb7
	https://git.kernel.org/stable/c/2f393c228cc519ddf19b8c6c05bf15723241aa96