linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Adam Borowski <kilobyte@angband.pl>
To: linux-kernel@vger.kernel.org
Subject: boot failure: stack-protector: Kernel stack is corrupted in: start_secondary
Date: Tue, 21 Apr 2020 03:32:34 +0200	[thread overview]
Message-ID: <20200421013234.GA5393@angband.pl> (raw)

[-- 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 --]

             reply	other threads:[~2020-04-21  1:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-21  1:32 Adam Borowski [this message]
2020-04-21  1:50 ` boot failure: stack-protector: Kernel stack is corrupted in: start_secondary Bhaskar Chowdhury
2020-04-28  7:45 ` Borislav Petkov
2020-04-28  8:19   ` Adam Borowski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200421013234.GA5393@angband.pl \
    --to=kilobyte@angband.pl \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).