CVE-2026-31447: ext4: reject mount if bigalloc with s_first_data_block != 0
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
ext4: reject mount if bigalloc with s_first_data_block != 0
bigalloc with s_first_data_block != 0 is not supported, reject mounting it.
The Linux kernel CVE team has assigned CVE-2026-31447 to this issue.
Affected and fixed versions
===========================
Fixed in 5.10.253 with commit 5ad6d994255e27a3254079dfb50ca861fc31f2d0 Fixed in 5.15.203 with commit 3a926957cc95899ef88529710836edadc03c71a1 Fixed in 6.1.168 with commit 7b58c110b4e1f028eb38eec9ed3555e9be81c8b0 Fixed in 6.6.131 with commit b77de3fceafbb39f30e4ff5dc986f863d5456417 Fixed in 6.12.80 with commit d787d3ae96648dc14a3b7ca8fde817177e82c1c7 Fixed in 6.18.21 with commit ad1f6d608f33f59d21a3d025615d6786a6443998 Fixed in 6.19.11 with commit 7d5b04290156c3fc316eecc86a4f9d201ab7d44a Fixed in 7.0 with commit 3822743dc20386d9897e999dbb990befa3a5b3f8
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-31447
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/ext4/super.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/5ad6d994255e27a3254079dfb50ca861fc31f2d0 https://git.kernel.org/stable/c/3a926957cc95899ef88529710836edadc03c71a1 https://git.kernel.org/stable/c/7b58c110b4e1f028eb38eec9ed3555e9be81c8b0 https://git.kernel.org/stable/c/b77de3fceafbb39f30e4ff5dc986f863d5456417 https://git.kernel.org/stable/c/d787d3ae96648dc14a3b7ca8fde817177e82c1c7 https://git.kernel.org/stable/c/ad1f6d608f33f59d21a3d025615d6786a6443998 https://git.kernel.org/stable/c/7d5b04290156c3fc316eecc86a4f9d201ab7d44a https://git.kernel.org/stable/c/3822743dc20386d9897e999dbb990befa3a5b3f8