From: Greg KH <gregkh@linuxfoundation.org>
To: Jan Kara <jack@suse.cz>
Cc: Eric Hagberg <ehagberg@janestreet.com>, stable@vger.kernel.org
Subject: Re: "loop: Avoid updating block size under exclusive owner" breaks on 6.6.103
Date: Sun, 21 Sep 2025 19:17:17 +0200 [thread overview]
Message-ID: <2025092102-passing-saxophone-d397@gregkh> (raw)
In-Reply-To: <oqe6w7pmfwzzxaqyaebdzrfi63atoudeaayvebmnemngum4vmi@dwd6d4cs3blx>
On Wed, Sep 17, 2025 at 05:47:16PM +0200, Jan Kara wrote:
> On Wed 17-09-25 11:18:50, Eric Hagberg wrote:
> > I stumbled across a problem where the 6.6.103 kernel will fail when
> > running the ioctl_loop06 test from the LTP test suite... and worse
> > than failing the test, it leaves the system in a state where you can't
> > run "losetup -a" again because the /dev/loopN device that the test
> > created and failed the test on... hangs in a LOOP_GET_STATUS64 ioctl.
> >
> > It also leaves the system in a state where you can't re-kexec into a
> > copy of the kernel as it gets completely hung at the point where it
> > says "starting Reboot via kexec"...
>
> Thanks for the report! Please report issues with stable kernels to
> stable@vger.kernel.org (CCed now) because they can act on them.
>
> > If I revert just that patch from 6.6.103 (or newer) kernels, then the
> > test succeeds and doesn't leave the host in a bad state. The patch
> > applied to 6.12 doesn't cause this problem, but I also see that there
> > are quite a few other changes to the loop subsystem in 6.12 that never
> > made it to 6.6.
> >
> > For now, I'll probably just revert your patch in my 6.6 kernel builds,
> > but I wouldn't be surprised if others stumble across this issue as
> > well, so maybe it should be reverted or fixed some other way.
>
> Yes, I think revert from 6.6 stable kernel is warranted (unless somebody
> has time to figure out what else is missing to make the patch work with
> that stable branch).
Great, can someone send me the revert?
thanks,
greg k-h
next prev parent reply other threads:[~2025-09-21 17:17 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CAAH4uRA=wJ1W65PUYpv=bdGFdfvXp7BFEg+=F1g3w-JFRrbpBw@mail.gmail.com>
2025-09-17 15:47 ` "loop: Avoid updating block size under exclusive owner" breaks on 6.6.103 Jan Kara
2025-09-21 17:17 ` Greg KH [this message]
2025-09-22 14:07 ` Eric Hagberg
2025-09-22 14:12 ` Greg KH
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2025092102-passing-saxophone-d397@gregkh \
--to=gregkh@linuxfoundation.org \
--cc=ehagberg@janestreet.com \
--cc=jack@suse.cz \
--cc=stable@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox