From: Steven Rostedt <rostedt@goodmis.org>
To: "Linux regression tracking (Thorsten Leemhuis)"
<regressions@leemhuis.info>
Cc: "Linux regressions mailing list" <regressions@lists.linux.dev>,
"Ilkka Naulapää" <digirigawa@gmail.com>,
stable@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-trace-kernel@vger.kernel.org
Subject: Re: Bug in Kernel 6.8.x, 6.9.x Causing Trace/Panic During Shutdown/Reboot
Date: Fri, 24 May 2024 13:14:11 -0400 [thread overview]
Message-ID: <20240524131411.4bfe89d2@gandalf.local.home> (raw)
In-Reply-To: <5b79732b-087c-411f-a477-9b837566673e@leemhuis.info>
On Fri, 24 May 2024 12:50:08 +0200
"Linux regression tracking (Thorsten Leemhuis)" <regressions@leemhuis.info> wrote:
> [CCing a few people]
>
Thanks for the Cc.
> On 24.05.24 12:31, Ilkka Naulapää wrote:
> >
> > I have encountered a critical bug in the Linux vanilla kernel that
> > leads to a kernel panic during the shutdown or reboot process. The
> > issue arises after all services, including `journald`, have been
> > stopped. As a result, the machine fails to complete the shutdown or
> > reboot procedure, effectively causing the system to hang and not shut
> > down or reboot.
To understand this, did you do anything with tracing? Before shutting down,
is there anything in /sys/kernel/tracing/instances directory?
Were any of the files/directories permissions in /sys/kernel/tracing changed?
>
> Thx for the report. Not my area of expertise, so take this with a gain
> of salt. But given the versions your mention in your report and the
> screenshot that mentioned tracefs_free_inode I suspect this is caused by
> baa23a8d4360d ("tracefs: Reset permissions on remount if permissions are
> options"). A few fixes for it will soon hit mainline and are meant to be
> backported to affected stable trees:
>
> https://lore.kernel.org/all/20240523212406.254317554@goodmis.org/
> https://lore.kernel.org/all/20240523174419.1e5885a5@gandalf.local.home/
>
> You might want to try them – or recheck once they hit the stable trees
> you are about. If they don't work, please report back.
There's been quite a bit of updates in this code, but this looks new to me.
I have more fixes that were just pulled by Linus today.
https://git.kernel.org/torvalds/c/0eb03c7e8e2a4cc3653eb5eeb2d2001182071215
I'm not sure how relevant that is for this. But if you can reproduce it
with that commit, then this is a new bug.
-- Steve
next prev parent reply other threads:[~2024-05-24 17:13 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CAE4VaREzY+a2PvQJYJbfh8DwB4OP7kucZG-e28H22xyWob1w_A@mail.gmail.com>
2024-05-24 10:50 ` Bug in Kernel 6.8.x, 6.9.x Causing Trace/Panic During Shutdown/Reboot Linux regression tracking (Thorsten Leemhuis)
2024-05-24 17:14 ` Steven Rostedt [this message]
2024-05-24 17:20 ` Steven Rostedt
2024-05-26 17:42 ` Ilkka Naulapää
2024-05-27 16:40 ` Ilkka Naulapää
2024-05-27 18:14 ` Greg KH
2024-05-27 21:44 ` Steven Rostedt
2024-05-28 4:08 ` Ilkka Naulapää
2024-05-27 22:31 ` Steven Rostedt
2024-05-28 4:51 ` Ilkka Naulapää
2024-05-28 18:47 ` Steven Rostedt
2024-05-29 18:36 ` Ilkka Naulapää
2024-05-29 18:47 ` Steven Rostedt
2024-05-29 19:48 ` Steven Rostedt
2024-05-30 13:02 ` Ilkka Naulapää
2024-05-30 13:59 ` Steven Rostedt
2024-06-02 7:32 ` Ilkka Naulapää
2024-06-12 13:36 ` Linux regression tracking (Thorsten Leemhuis)
2024-06-12 15:56 ` Steven Rostedt
2024-06-13 7:32 ` Ilkka Naulapää
2024-06-13 7:48 ` Linux regression tracking (Thorsten Leemhuis)
2024-06-18 14:52 ` Steven Rostedt
2024-06-19 10:41 ` Ilkka Naulapää
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=20240524131411.4bfe89d2@gandalf.local.home \
--to=rostedt@goodmis.org \
--cc=digirigawa@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-trace-kernel@vger.kernel.org \
--cc=regressions@leemhuis.info \
--cc=regressions@lists.linux.dev \
--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;
as well as URLs for NNTP newsgroup(s).