On 5/19/25 10:56 PM, Greg Kroah-Hartman wrote:
On Mon, May 19, 2025 at 06:19:26PM -0600, Justin Forbes wrote:
On Mon, May 12, 2025 at 11:51 AM Greg Kroah-Hartman gregkh@linuxfoundation.org wrote:
6.14-stable review patch. If anyone has any objections, please let me know.
From: Lizhi Xu lizhi.xu@windriver.com
[ Upstream commit f5c84eff634ba003326aa034c414e2a9dcb7c6a7 ]
Some file systems do not support read_iter/write_iter, such as selinuxfs in this issue. So before calling them, first confirm that the interface is supported and then call it.
It is releavant in that vfs_iter_read/write have the check, and removal of their used caused szybot to be able to hit this issue.
Fixes: f2fed441c69b ("loop: stop using vfs_iter__{read,write} for buffered I/O") Reported-by: syzbot+6af973a3b8dfd2faefdc@syzkaller.appspotmail.com Closes: https://syzkaller.appspot.com/bug?extid=6af973a3b8dfd2faefdc Signed-off-by: Lizhi Xu lizhi.xu@windriver.com Reviewed-by: Christoph Hellwig hch@lst.de Link: https://lore.kernel.org/r/20250428143626.3318717-1-lizhi.xu@windriver.com Signed-off-by: Jens Axboe axboe@kernel.dk Signed-off-by: Sasha Levin sashal@kernel.org
drivers/block/loop.c | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+)
We have had an issue failing to set up loop devices with CI and Linus' tree since rc6, and once this patch hit stable it proved to be the culprit. If I revert this patch, things work as they should. The problem we are seeing is "
More information can be found in: https://github.com/coreos/fedora-coreos-tracker/issues/1948 and https://openqa.fedoraproject.org/tests/3438220#step/_boot_to_anaconda/5
Sorry to hear that, please work with the developers to get this resolved in Linus's tree and then we will be glad to apply the needed fix from there.
Should be sorted and land before 6.15:
https://git.kernel.dk/cgit/linux/commit/?h=block-6.15&id=355341e4359b2d5...