On Mon, May 19, 2025 at 12:15:10PM +0200, Roland Clobus wrote:
> It appears that the loopback device cannot be used any more with the mount
> /run/live/medium (which is on /dev/sr0).

/run/live/medium is isofs?

I would expect this commit:

commit 184b147b9f7f07577567a80fcc9314f2bd0b0b00
Author: Lizhi Xu <lizhi...@windriver.com>
Date:   Mon Apr 28 22:36:26 2025 +0800

    loop: Add sanity check for read/write_iter
    
    [ 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+6af973a3b8dfd2fae...@syzkaller.appspotmail.com
    Closes: https://syzkaller.appspot.com/bug?extid=6af973a3b8dfd2faefdc
    Signed-off-by: Lizhi Xu <lizhi...@windriver.com>
    Reviewed-by: Christoph Hellwig <h...@lst.de>
    Link: 
https://lore.kernel.org/r/20250428143626.3318717-1-lizhi...@windriver.com
    Signed-off-by: Jens Axboe <ax...@kernel.dk>
    Signed-off-by: Sasha Levin <sas...@kernel.org>

Bastian

-- 
Earth -- mother of the most beautiful women in the universe.
                -- Apollo, "Who Mourns for Adonais?" stardate 3468.1

Reply via email to