CVE-2026-43262: gfs2: fiemap page fault fix
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
gfs2: fiemap page fault fix
In gfs2_fiemap(), we are calling iomap_fiemap() while holding the inode glock. This can lead to recursive glock taking if the fiemap buffer is memory mapped to the same inode and accessing it triggers a page fault.
Fix by disabling page faults for iomap_fiemap() and faulting in the buffer by hand if necessary.
Fixes xfstest generic/742.
The Linux kernel CVE team has assigned CVE-2026-43262 to this issue.
Affected and fixed versions
===========================
Fixed in 5.15.202 with commit 5d5d9ec957bfa1eb2b05861c19f5d701dd006db7 Fixed in 6.1.165 with commit cead3bebf3e318578b8a86a5472015d713d2a8a8 Fixed in 6.6.128 with commit e428670cfb2993d8c224effd076242ca6b0950de Fixed in 6.12.75 with commit 5d2c4f182ea8516de8682e2b60411c03df00e3ea Fixed in 6.18.16 with commit 2e121c53b581e40397ae08090a7af4ed10781fbc Fixed in 6.19.6 with commit 9d15fee888f0e8938c9aeed71ec9c2cbba0c88ab Fixed in 7.0 with commit e411d74cc5ba290f85d0dd5e4d1df8f1d6d975d2
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-43262
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/inode.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/5d5d9ec957bfa1eb2b05861c19f5d701dd006db7 https://git.kernel.org/stable/c/cead3bebf3e318578b8a86a5472015d713d2a8a8 https://git.kernel.org/stable/c/e428670cfb2993d8c224effd076242ca6b0950de https://git.kernel.org/stable/c/5d2c4f182ea8516de8682e2b60411c03df00e3ea https://git.kernel.org/stable/c/2e121c53b581e40397ae08090a7af4ed10781fbc https://git.kernel.org/stable/c/9d15fee888f0e8938c9aeed71ec9c2cbba0c88ab https://git.kernel.org/stable/c/e411d74cc5ba290f85d0dd5e4d1df8f1d6d975d2