CVE-2026-46329: erofs: handle end of filesystem properly for file-backed mounts
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
erofs: handle end of filesystem properly for file-backed mounts
I/O requests beyond the end of the filesystem should be zeroed out, similar to loopback devices and that is what we expect.
The Linux kernel CVE team has assigned CVE-2026-46329 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.12 with commit ce63cb62d794c98c7631c2296fa845f2a8d0a4a1 and fixed in 6.12.75 with commit 8d582d65d20bb4796db01b19e86909ad68cb337b Issue introduced in 6.12 with commit ce63cb62d794c98c7631c2296fa845f2a8d0a4a1 and fixed in 6.18.14 with commit e49abde0ffc382a967b24f326d1614ac3bb06a94 Issue introduced in 6.12 with commit ce63cb62d794c98c7631c2296fa845f2a8d0a4a1 and fixed in 6.19.4 with commit fe4039034dcdf584afbf763787909e28e92a4927 Issue introduced in 6.12 with commit ce63cb62d794c98c7631c2296fa845f2a8d0a4a1 and fixed in 7.0 with commit bc804a8d7e865ef47fb7edcaf5e77d18bf444ebc
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-46329
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/erofs/fileio.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/8d582d65d20bb4796db01b19e86909ad68cb337b https://git.kernel.org/stable/c/e49abde0ffc382a967b24f326d1614ac3bb06a94 https://git.kernel.org/stable/c/fe4039034dcdf584afbf763787909e28e92a4927 https://git.kernel.org/stable/c/bc804a8d7e865ef47fb7edcaf5e77d18bf444ebc