2022-09-26 19:05:39

by David Chen

[permalink] [raw]
Subject: "BUG at kernel/entry/common.c:407!" on 5.10.133+

Hi all,

On 5.10 branch starting from 5.10.133, if I do:

echo 1 > /proc/sys/kernel/stack_tracer_enabled

The system will lock up, and the console will keep spewing
"BUG at kernel/entry/common.c:407!" indefinitely.

I bisect this issue down to "c9eb5dc x86: Use return-thunk in asm code".
Though interestingly, when I tried this on 5.19.11 which also contains the
change, the issue didn't occur. Also this issue happens on both KVM guest and
Virtualbox guest. I'm not sure if this affects non-VM for not.

Any help is appreciated.

Thanks,
David


2022-09-27 08:13:10

by Thorsten Leemhuis

[permalink] [raw]
Subject: Re: "BUG at kernel/entry/common.c:407!" on 5.10.133+

Hi, this is your Linux kernel regression tracker.

On 26.09.22 19:57, David Chen wrote:
>
> On 5.10 branch starting from 5.10.133, if I do:
>
> echo 1 > /proc/sys/kernel/stack_tracer_enabled
>
> The system will lock up, and the console will keep spewing
> "BUG at kernel/entry/common.c:407!" indefinitely.
>
> I bisect this issue down to "c9eb5dc x86: Use return-thunk in asm code".
> Though interestingly, when I tried this on 5.19.11 which also contains the
> change, the issue didn't occur. Also this issue happens on both KVM guest and
> Virtualbox guest. I'm not sure if this affects non-VM for not.
>
> Any help is appreciated.

Quick question: what was the latest version you tried to reproduce this
on? There were a few ftrace fixes that went into 5.10.144 (released one
week ago).

Ciao, Thorsten

2022-09-27 19:33:11

by David Chen

[permalink] [raw]
Subject: RE: "BUG at kernel/entry/common.c:407!" on 5.10.133+



> -----Original Message-----
> From: Thorsten Leemhuis <[email protected]>
> Sent: Tuesday, September 27, 2022 12:44 AM
> To: David Chen <[email protected]>; [email protected]
> Cc: Peter Zijlstra <[email protected]>; Borislav Petkov <[email protected]>; Josh Poimboeuf <[email protected]>
> Subject: Re: "BUG at kernel/entry/common.c:407!" on 5.10.133+
>
> Hi, this is your Linux kernel regression tracker.
>
> On 26.09.22 19:57, David Chen wrote:
> >
> > On 5.10 branch starting from 5.10.133, if I do:
> >
> > echo 1 > /proc/sys/kernel/stack_tracer_enabled
> >
> > The system will lock up, and the console will keep spewing
> > "BUG at kernel/entry/common.c:407!" indefinitely.
> >
> > I bisect this issue down to "c9eb5dc x86: Use return-thunk in asm code".
> > Though interestingly, when I tried this on 5.19.11 which also contains the
> > change, the issue didn't occur. Also this issue happens on both KVM guest and
> > Virtualbox guest. I'm not sure if this affects non-VM for not.
> >
> > Any help is appreciated.
>
> Quick question: what was the latest version you tried to reproduce this
> on? There were a few ftrace fixes that went into 5.10.144 (released one
> week ago).
>
> Ciao, Thorsten

Hi, I think the last version I tried was 5.10.143. I just tried 5.10.145 and it seems
to be working fine.
Thanks a lot.

David