[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20260113-wetten-rachsucht-b852bf113d6b@brauner>
Date: Tue, 13 Jan 2026 09:57:17 +0100
From: Christian Brauner <brauner@...nel.org>
To: Deepanshu Kartikey <kartikey406@...il.com>
Cc: Christian Brauner <brauner@...nel.org>,
mjguzik@...il.com,
linux-kernel@...r.kernel.org,
linux-fsdevel@...r.kernel.org,
syzbot+9c4e33e12283d9437c25@...kaller.appspotmail.com,
viro@...iv.linux.org.uk
Subject: Re: [PATCH] romfs: check sb_set_blocksize() return value
On Tue, 13 Jan 2026 14:10:37 +0530, Deepanshu Kartikey wrote:
> romfs_fill_super() ignores the return value of sb_set_blocksize(), which
> can fail if the requested block size is incompatible with the block
> device's configuration.
>
> This can be triggered by setting a loop device's block size larger than
> PAGE_SIZE using ioctl(LOOP_SET_BLOCK_SIZE, 32768), then mounting a romfs
> filesystem on that device.
>
> [...]
Applied to the vfs.fixes branch of the vfs/vfs.git tree.
Patches in the vfs.fixes 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.fixes
[1/1] romfs: check sb_set_blocksize() return value
https://git.kernel.org/vfs/vfs/c/ab7ad7abb366
Powered by blists - more mailing lists