Re: "BUG at kernel/entry/common.c:407!" on 5.10.133+

From: Thorsten Leemhuis
Date: Tue Sep 27 2022 - 03:44:15 EST


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