linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 6.1.48 regression at boot : WARNING: CPU: 0 PID: 0 at arch/x86/kernel/alternative.c:572 apply_returns+0x1e4/0x210
@ 2023-08-26 13:47 Toralf Förster
  2023-08-27  0:52 ` Bagas Sanjaya
  2023-08-27 11:13 ` Bagas Sanjaya
  0 siblings, 2 replies; 7+ messages in thread
From: Toralf Förster @ 2023-08-26 13:47 UTC (permalink / raw)
  To: Linux Kernel


[-- Attachment #1.1: Type: text/plain, Size: 1899 bytes --]


I do get a

missing return thunk: 0xffffffff948a73fe-srso_untrain_ret+0x0/0x2: e9 7b 
92 35 ff
WARNING: CPU: 0 PID: 0 at arch/x86/kernel/alternative.c:572 
apply_returns+0x1e4/0x210
Modules linked in:
CPU: 0 PID: 0 Comm: swapper/0 Tainted: G                T  6.1.48 #38
Hardware name: LENOVO 21J5002FGE/21J5002FGE, BIOS R23ET60W (1.30 ) 
09/14/2022
RIP: 0010:apply_returns+0x1e4/0x210
Code: 36 01 00 0f 85 f7 fe ff ff 49 89 d8 b9 05 00 00 00 4c 89 f2 48 89 
de 48 c7 c7 e8 7e ff 93 c6 05 22 7d 36 01 01 e8 8c a9 09 00 <0f> 0b e9 
cf fe ff ff c7 84 24 81 00 00 00 cc cc cc cc 42 c7 44 38
RSP: 0000:ffffffff94203e00 EFLAGS: 00010246
RAX: 0000000000000000 RBX: ffffffff948a73fe RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffffff9488601c R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffffffff948866e8
R13: cccccccccccccccc R14: ffffffff93c0067e R15: ffffffff94219118
FS:  0000000000000000(0000) GS:ffff97dcdee00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffff97d6f4c01000 CR3: 0000000234210000 CR4: 0000000000750ef0
PKRU: 55555554
Call Trace:
  <TASK>
  ? __warn+0x6f/0xc0
  ? apply_returns+0x1e4/0x210
  ? report_bug+0xdb/0x140
  ? handle_bug+0x3c/0x70
  ? exc_invalid_op+0x17/0x80
  ? asm_exc_invalid_op+0x1a/0x20
  ? retbleed_return_thunk+0x7e/0x7e
  ? apply_returns+0x1e4/0x210
  ? _raw_spin_unlock_irqrestore+0xd/0x30
  alternative_instructions+0x68/0x1e1
  arch_cpu_finalize_init+0x48/0x9a
  start_kernel+0x789/0x877
  secondary_startup_64_no_verify+0xd3/0xdb
  </TASK>
---[ end trace 0000000000000000 ]---

here at a

Linux p14s 6.1.48 #38 SMP Sat Aug 26 15:41:04 CEST 2023 x86_64 AMD Ryzen 
7 PRO 6850U with Radeon Graphics AuthenticAMD GNU/Linux

Otherwise the kernel seems to work fine.
-- 
Toralf

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 236 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: 6.1.48 regression at boot : WARNING: CPU: 0 PID: 0 at arch/x86/kernel/alternative.c:572 apply_returns+0x1e4/0x210
  2023-08-26 13:47 6.1.48 regression at boot : WARNING: CPU: 0 PID: 0 at arch/x86/kernel/alternative.c:572 apply_returns+0x1e4/0x210 Toralf Förster
@ 2023-08-27  0:52 ` Bagas Sanjaya
  2023-08-27 10:52   ` Toralf Förster
  2023-08-27 11:13 ` Bagas Sanjaya
  1 sibling, 1 reply; 7+ messages in thread
From: Bagas Sanjaya @ 2023-08-27  0:52 UTC (permalink / raw)
  To: Toralf Förster, Linux Kernel Mailing List
  Cc: Peter Zijlstra, Josh Poimboeuf, Alexei Starovoitov, Borislav Petkov

[-- Attachment #1: Type: text/plain, Size: 2248 bytes --]

On Sat, Aug 26, 2023 at 03:47:13PM +0200, Toralf Förster wrote:
> 
> I do get a
> 
> missing return thunk: 0xffffffff948a73fe-srso_untrain_ret+0x0/0x2: e9 7b 92
> 35 ff
> WARNING: CPU: 0 PID: 0 at arch/x86/kernel/alternative.c:572
> apply_returns+0x1e4/0x210
> Modules linked in:
> CPU: 0 PID: 0 Comm: swapper/0 Tainted: G                T  6.1.48 #38

Do you have any external modules?

> Hardware name: LENOVO 21J5002FGE/21J5002FGE, BIOS R23ET60W (1.30 )
> 09/14/2022
> RIP: 0010:apply_returns+0x1e4/0x210
> Code: 36 01 00 0f 85 f7 fe ff ff 49 89 d8 b9 05 00 00 00 4c 89 f2 48 89 de
> 48 c7 c7 e8 7e ff 93 c6 05 22 7d 36 01 01 e8 8c a9 09 00 <0f> 0b e9 cf fe ff
> ff c7 84 24 81 00 00 00 cc cc cc cc 42 c7 44 38
> RSP: 0000:ffffffff94203e00 EFLAGS: 00010246
> RAX: 0000000000000000 RBX: ffffffff948a73fe RCX: 0000000000000000
> RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
> RBP: ffffffff9488601c R08: 0000000000000000 R09: 0000000000000000
> R10: 0000000000000000 R11: 0000000000000000 R12: ffffffff948866e8
> R13: cccccccccccccccc R14: ffffffff93c0067e R15: ffffffff94219118
> FS:  0000000000000000(0000) GS:ffff97dcdee00000(0000) knlGS:0000000000000000
> CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
> CR2: ffff97d6f4c01000 CR3: 0000000234210000 CR4: 0000000000750ef0
> PKRU: 55555554
> Call Trace:
>  <TASK>
>  ? __warn+0x6f/0xc0
>  ? apply_returns+0x1e4/0x210
>  ? report_bug+0xdb/0x140
>  ? handle_bug+0x3c/0x70
>  ? exc_invalid_op+0x17/0x80
>  ? asm_exc_invalid_op+0x1a/0x20
>  ? retbleed_return_thunk+0x7e/0x7e
>  ? apply_returns+0x1e4/0x210
>  ? _raw_spin_unlock_irqrestore+0xd/0x30
>  alternative_instructions+0x68/0x1e1
>  arch_cpu_finalize_init+0x48/0x9a
>  start_kernel+0x789/0x877
>  secondary_startup_64_no_verify+0xd3/0xdb
>  </TASK>
> ---[ end trace 0000000000000000 ]---
> 
> here at a
> 
> Linux p14s 6.1.48 #38 SMP Sat Aug 26 15:41:04 CEST 2023 x86_64 AMD Ryzen 7
> PRO 6850U with Radeon Graphics AuthenticAMD GNU/Linux
> 
> Otherwise the kernel seems to work fine.

Can you confirm that v6.1.47 doesn't have this regression? Is it also
reproducible on latest mainline?

Thanks.

-- 
An old man doll... just what I always wanted! - Clara

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: 6.1.48 regression at boot : WARNING: CPU: 0 PID: 0 at arch/x86/kernel/alternative.c:572 apply_returns+0x1e4/0x210
  2023-08-27  0:52 ` Bagas Sanjaya
@ 2023-08-27 10:52   ` Toralf Förster
  2023-08-27 11:15     ` Bagas Sanjaya
  0 siblings, 1 reply; 7+ messages in thread
From: Toralf Förster @ 2023-08-27 10:52 UTC (permalink / raw)
  To: Bagas Sanjaya, Linux Kernel Mailing List
  Cc: Peter Zijlstra, Josh Poimboeuf, Alexei Starovoitov, Borislav Petkov

On 8/27/23 02:52, Bagas Sanjaya wrote:
> Do you have any external modules?

No.
And I can confirm, it is a regression.
Latest mainline I'd like to avoid at this system.

--
Toralf


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: 6.1.48 regression at boot : WARNING: CPU: 0 PID: 0 at arch/x86/kernel/alternative.c:572 apply_returns+0x1e4/0x210
  2023-08-26 13:47 6.1.48 regression at boot : WARNING: CPU: 0 PID: 0 at arch/x86/kernel/alternative.c:572 apply_returns+0x1e4/0x210 Toralf Förster
  2023-08-27  0:52 ` Bagas Sanjaya
@ 2023-08-27 11:13 ` Bagas Sanjaya
  2023-08-27 19:23   ` Toralf Förster
  1 sibling, 1 reply; 7+ messages in thread
From: Bagas Sanjaya @ 2023-08-27 11:13 UTC (permalink / raw)
  To: Toralf Förster, Linux Kernel Mailing List, Linux Regressions
  Cc: Peter Zijlstra, Josh Poimboeuf, Alexei Starovoitov, Borislav Petkov

[-- Attachment #1: Type: text/plain, Size: 2237 bytes --]

On Sat, Aug 26, 2023 at 03:47:13PM +0200, Toralf Förster wrote:
> 
> I do get a
> 
> missing return thunk: 0xffffffff948a73fe-srso_untrain_ret+0x0/0x2: e9 7b 92
> 35 ff
> WARNING: CPU: 0 PID: 0 at arch/x86/kernel/alternative.c:572
> apply_returns+0x1e4/0x210
> Modules linked in:
> CPU: 0 PID: 0 Comm: swapper/0 Tainted: G                T  6.1.48 #38
> Hardware name: LENOVO 21J5002FGE/21J5002FGE, BIOS R23ET60W (1.30 )
> 09/14/2022
> RIP: 0010:apply_returns+0x1e4/0x210
> Code: 36 01 00 0f 85 f7 fe ff ff 49 89 d8 b9 05 00 00 00 4c 89 f2 48 89 de
> 48 c7 c7 e8 7e ff 93 c6 05 22 7d 36 01 01 e8 8c a9 09 00 <0f> 0b e9 cf fe ff
> ff c7 84 24 81 00 00 00 cc cc cc cc 42 c7 44 38
> RSP: 0000:ffffffff94203e00 EFLAGS: 00010246
> RAX: 0000000000000000 RBX: ffffffff948a73fe RCX: 0000000000000000
> RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
> RBP: ffffffff9488601c R08: 0000000000000000 R09: 0000000000000000
> R10: 0000000000000000 R11: 0000000000000000 R12: ffffffff948866e8
> R13: cccccccccccccccc R14: ffffffff93c0067e R15: ffffffff94219118
> FS:  0000000000000000(0000) GS:ffff97dcdee00000(0000) knlGS:0000000000000000
> CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
> CR2: ffff97d6f4c01000 CR3: 0000000234210000 CR4: 0000000000750ef0
> PKRU: 55555554
> Call Trace:
>  <TASK>
>  ? __warn+0x6f/0xc0
>  ? apply_returns+0x1e4/0x210
>  ? report_bug+0xdb/0x140
>  ? handle_bug+0x3c/0x70
>  ? exc_invalid_op+0x17/0x80
>  ? asm_exc_invalid_op+0x1a/0x20
>  ? retbleed_return_thunk+0x7e/0x7e
>  ? apply_returns+0x1e4/0x210
>  ? _raw_spin_unlock_irqrestore+0xd/0x30
>  alternative_instructions+0x68/0x1e1
>  arch_cpu_finalize_init+0x48/0x9a
>  start_kernel+0x789/0x877
>  secondary_startup_64_no_verify+0xd3/0xdb
>  </TASK>
> ---[ end trace 0000000000000000 ]---
> 
> here at a
> 
> Linux p14s 6.1.48 #38 SMP Sat Aug 26 15:41:04 CEST 2023 x86_64 AMD Ryzen 7
> PRO 6850U with Radeon Graphics AuthenticAMD GNU/Linux
> 
> Otherwise the kernel seems to work fine.

Thanks for the regression report. I'm adding it to regzbot (as stable-specific
regression for now):

#regzbot ^introduced: v6.1.47..v6.1.48

-- 
An old man doll... just what I always wanted! - Clara

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: 6.1.48 regression at boot : WARNING: CPU: 0 PID: 0 at arch/x86/kernel/alternative.c:572 apply_returns+0x1e4/0x210
  2023-08-27 10:52   ` Toralf Förster
@ 2023-08-27 11:15     ` Bagas Sanjaya
  0 siblings, 0 replies; 7+ messages in thread
From: Bagas Sanjaya @ 2023-08-27 11:15 UTC (permalink / raw)
  To: Toralf Förster, Linux Kernel Mailing List
  Cc: Peter Zijlstra, Josh Poimboeuf, Alexei Starovoitov, Borislav Petkov

[-- Attachment #1: Type: text/plain, Size: 544 bytes --]

On Sun, Aug 27, 2023 at 12:52:14PM +0200, Toralf Förster wrote:
> On 8/27/23 02:52, Bagas Sanjaya wrote:
> > Do you have any external modules?
> 
> No.
> And I can confirm, it is a regression.
> Latest mainline I'd like to avoid at this system.
> 

Sorry, but to have your regression fixed, you have to check the mainline
to see if it still persists or not. And it is also helpful to perform
bisection (see Documentation/admin-guide/bug-bisect.rst for how).

Thanks.

-- 
An old man doll... just what I always wanted! - Clara

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: 6.1.48 regression at boot : WARNING: CPU: 0 PID: 0 at arch/x86/kernel/alternative.c:572 apply_returns+0x1e4/0x210
  2023-08-27 11:13 ` Bagas Sanjaya
@ 2023-08-27 19:23   ` Toralf Förster
  2023-08-28  0:38     ` Bagas Sanjaya
  0 siblings, 1 reply; 7+ messages in thread
From: Toralf Förster @ 2023-08-27 19:23 UTC (permalink / raw)
  To: Bagas Sanjaya, Linux Kernel Mailing List, Linux Regressions
  Cc: Peter Zijlstra, Josh Poimboeuf, Alexei Starovoitov, Borislav Petkov

On 8/27/23 13:13, Bagas Sanjaya wrote:
> Thanks for the regression report. I'm adding it to regzbot (as stable-specific
> regression for now):
>
> #regzbot ^introduced: v6.1.47..v6.1.48

fixed by 6.1.49 - thx

--
Toralf


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: 6.1.48 regression at boot : WARNING: CPU: 0 PID: 0 at arch/x86/kernel/alternative.c:572 apply_returns+0x1e4/0x210
  2023-08-27 19:23   ` Toralf Förster
@ 2023-08-28  0:38     ` Bagas Sanjaya
  0 siblings, 0 replies; 7+ messages in thread
From: Bagas Sanjaya @ 2023-08-28  0:38 UTC (permalink / raw)
  To: Toralf Förster, Linux Kernel Mailing List, Linux Regressions
  Cc: Peter Zijlstra, Josh Poimboeuf, Alexei Starovoitov, Borislav Petkov

On 28/08/2023 02:23, Toralf Förster wrote:
> On 8/27/23 13:13, Bagas Sanjaya wrote:
>> Thanks for the regression report. I'm adding it to regzbot (as stable-specific
>> regression for now):
>>
>> #regzbot ^introduced: v6.1.47..v6.1.48
> 
> fixed by 6.1.49 - thx
> 

#regzbot resolved: fixed by newer stable release

Thanks.

-- 
An old man doll... just what I always wanted! - Clara


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-08-28  0:41 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-26 13:47 6.1.48 regression at boot : WARNING: CPU: 0 PID: 0 at arch/x86/kernel/alternative.c:572 apply_returns+0x1e4/0x210 Toralf Förster
2023-08-27  0:52 ` Bagas Sanjaya
2023-08-27 10:52   ` Toralf Förster
2023-08-27 11:15     ` Bagas Sanjaya
2023-08-27 11:13 ` Bagas Sanjaya
2023-08-27 19:23   ` Toralf Förster
2023-08-28  0:38     ` Bagas Sanjaya

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).