Re: fix crashes when mounting legacy file system with sector size > PAGE_SIZE

Christian Brauner <[email protected]> Mon, 11 May 2026 15:41:58 +0200
Newsgroups dev.linux.lists.ntfs3,org.kernel.vger.linux-fsdevel
Message-ID <20260511-sporadisch-kopfhaar-12f7d430885d@brauner>
On Mon, 11 May 2026 09:16:45 +0200, Christoph Hellwig wrote:
> due to an almost comical failure on my part, my work in progress test
> case failed to create any file system on a 64k block size loop device,
> and then tried to mount it, leading to a probe of file system built
> into my kernel.  Roughly the first half of the series are file systems
> that actually crashed, but I fixed up all the pattern of missing
> error handling that I saw.
> 
> [...]

Applied to the vfs-7.2.misc branch of the vfs/vfs.git tree.
Patches in the vfs-7.2.misc branch should appear in linux-next soon.

Please report any outstanding bugs that were missed during review in a
new review to the original patch series allowing us to drop it.

It's encouraged to provide Acked-bys and Reviewed-bys even though the
patch has now been applied. If possible patch trailers will be updated.

Note that commit hashes shown below are subject to change due to rebase,
trailer updates or similar. If in doubt, please check the listed branch.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git
branch: vfs-7.2.misc

[01/10] bfs: handle set_blocksize failures
        https://git.kernel.org/vfs/vfs/c/bab288bb548d
[02/10] hpfs: handle set_blocksize failures
        https://git.kernel.org/vfs/vfs/c/765969ab437b
[03/10] qnx4: handle set_blocksize failures
        https://git.kernel.org/vfs/vfs/c/58afc2e824c3
[04/10] jfs: handle set_blocksize failures
        https://git.kernel.org/vfs/vfs/c/aa9d3b31b70b
[05/10] befs: handle set_blocksize failures
        https://git.kernel.org/vfs/vfs/c/d42cc4dfa0aa
[06/10] affs: handle set_blocksize failures
        https://git.kernel.org/vfs/vfs/c/47239d1711ff
[07/10] isofs: handle set_blocksize failures
        https://git.kernel.org/vfs/vfs/c/03f5399f6bcb
[08/10] minix: handle set_blocksize failures
        https://git.kernel.org/vfs/vfs/c/d893fc670546
[09/10] ntfs3: handle set_blocksize failures
        https://git.kernel.org/vfs/vfs/c/d5c1a645a715
[10/10] omfs: handle set_blocksize failures
        https://git.kernel.org/vfs/vfs/c/efc0b642ba34