Re: [BUG] missing return thunk: __ret+0x5/0x7e-__ret+0x0/0x7e: e9 f6 ff ff ff

From: Greg KH
Date: Thu Aug 24 2023 - 09:54:02 EST


On Wed, Aug 16, 2023 at 08:17:20PM +0200, Borislav Petkov wrote:
> Hey Paul,
>
> On Wed, Aug 16, 2023 at 10:54:09AM -0700, Paul E. McKenney wrote:
> > I hit the splat at the end of this message in recent mainline, and has
> > appeared some time since v6.5-rc1. Should I be worried?
>
> does it go away if you try the latest tip:x86/urgent branch?

Note, this problem is showing up in the 6.1.y branch right now, due to
one objtool patch not being able to be backported there easily (i.e. I
tried and gave up.)

4ae68b26c3ab ("objtool/x86: Fix SRSO mess") being the commit that I
can't seem to get to work properly, my attempt can be seen here:
https://lore.kernel.org/r/2023082212-pregnant-lizard-80e0@gregkh

Just a heads up as this will start to affect users of the next 6.1.y
release, and probably older releases, as they are taking portions of the
"fixes for fixes" but not the above mentioned one.

thanks,

greg k-h