public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* boot failure: stack-protector: Kernel stack is corrupted in: start_secondary
@ 2020-04-21  1:32 Adam Borowski
  2020-04-21  1:50 ` Bhaskar Chowdhury
  2020-04-28  7:45 ` Borislav Petkov
  0 siblings, 2 replies; 4+ messages in thread
From: Adam Borowski @ 2020-04-21  1:32 UTC (permalink / raw)
  To: linux-kernel

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

Hi!
With kernels compiled with gcc-10, on two different machines (AMD Phenom2,
AMD 2990WX) I get the following panic during boot:

[    1.155797] smp: Bringing up secondary CPUs ...
[    1.159823] x86: Booting SMP configuration:
[    1.163720] .... node  #0, CPUs:      #1
[    0.760380] process: Switch to broadcast mode on CPU1
[    1.175723] Kernel panic - not syncing: stack-protector: Kernel stack is corrupted in: start_secondary+0x177/0x180
[    1.179718] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 5.7.0-rc2 #1
[    1.179718] Hardware name: System manufacturer System Product Name/M4A77T, BIOS 2401    05/18/2011
[    1.179718] Call Trace:
[    1.179718]  dump_stack+0x50/0x70
[    1.179718]  panic+0xf6/0x2b3
[    1.179718]  ? start_secondary+0x177/0x180
[    1.179718]  __stack_chk_fail+0x10/0x10
[    1.179718]  start_secondary+0x177/0x180
[    1.179718]  secondary_startup_64+0xa4/0xb0
[    1.179718] ---[ end Kernel panic - not syncing: stack-protector: Kernel stack is corrupted in: start_secondary+0x177/0x180 ]---

Not reproducible with gcc-9.  Also, it's not a regression as 5.6 and patched
5.5 also fail.  Technically, gcc-10 isn't released yet, but with Fedora
having released with gcc-10 as their default compiler, I find it implausible
that no one among big devs uses it yet, thus it's something specific to my
setups.

One of configs attached.


Meow!
-- 
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ in the beginning was the boot and root floppies and they were good.
⢿⡄⠘⠷⠚⠋⠀                                       -- <willmore> on #linux-sunxi
⠈⠳⣄⠀⠀⠀⠀

[-- Attachment #2: config-5.7.0-rc2.xz --]
[-- Type: application/x-xz, Size: 38316 bytes --]

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

end of thread, other threads:[~2020-04-28  8:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-21  1:32 boot failure: stack-protector: Kernel stack is corrupted in: start_secondary Adam Borowski
2020-04-21  1:50 ` Bhaskar Chowdhury
2020-04-28  7:45 ` Borislav Petkov
2020-04-28  8:19   ` Adam Borowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox