Skip to contentSkip to conversation

CVE-2025-39753: gfs2: Set .migrate_folio in gfs2_{rgrp,meta}_aops

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Sep 11, 2025

lore
Share & tools
lore
#0 lore raw

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

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

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

gfs2: Set .migrate_folio in gfs2_{rgrp,meta}_aops

Clears up the warning added in 7ee3647243e5 ("migrate: Remove call to ->writepage") that occurs in various xfstests, causing "something found in dmesg" failures.

[  341.136573] gfs2_meta_aops does not implement migrate_folio
[  341.136953] WARNING: CPU: 1 PID: 36 at mm/migrate.c:944 move_to_new_folio+0x2f8/0x300

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

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

	Fixed in 6.6.103 with commit 3d2c05cbc6a3725d832b912b637971f37301c7e5
	Fixed in 6.12.43 with commit 9d9b053f7f9c5a35049abe56af9e6ac70b6b0e4b
	Fixed in 6.15.11 with commit 9f745095c382b76e68407fd6f15ef27baf2a013f
	Fixed in 6.16.2 with commit e89cab180eb22950b6eb7b3462623c2aa81e5835
	Fixed in 6.17-rc1 with commit 5c8f12cf1e64e0e8e6cb80b0c935389973e8be8d

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-39753

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:

	fs/gfs2/meta_io.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/3d2c05cbc6a3725d832b912b637971f37301c7e5
	https://git.kernel.org/stable/c/9d9b053f7f9c5a35049abe56af9e6ac70b6b0e4b
	https://git.kernel.org/stable/c/9f745095c382b76e68407fd6f15ef27baf2a013f
	https://git.kernel.org/stable/c/e89cab180eb22950b6eb7b3462623c2aa81e5835
	https://git.kernel.org/stable/c/5c8f12cf1e64e0e8e6cb80b0c935389973e8be8d