You are not logged in.

#1 2025-12-02 20:24:50

CableP13
Member
Registered: 2025-06-15
Posts: 7

[SOLVED] Kernel panic stack-protector: Kernel stack is corrupted

Hi there, I'm looking for some help with a issue I've been encountering for a week.

I've had this install for about 6 months without any problem and recently started getting Kernel panic messages. One reliable way to get one is to let my laptop suspend after a while. After waking it up, I'm able to login in GDM but then I'll get a blue screen with a QR code and the following message: 

Kernel panic - not syncing: stack-protector: Kernel stack is corrupted in: futex_wait+0x11a/0x120

Full logs from the latest crash available here

I also had random freezes when using my laptop on battery. No error messages, cannot switch to another tty, just totally frozen.

My two guesses are:
- the firmware I'm using for my wifi card broadcom-wl. Mostly because I can spot a few messages in my logs about how it's not officially supported
- overheating: I've recently repasted my GPU and CPU because thermals were terrible while gaming. While this has been a success and I have much better temps I'm thinking maybe this is related somehow?

FWIW I dual boot windows and did encounter a random shutdown recently but nothing else. I use arch mostly for browser/email/messaging apps while I use Windows for music production and gaming so in theory usage is less intense on windows which might rule out the overheating issue.

I would appreciate any pointers, I can't find much with the kernel error message.

Config:
Laptop is Asus G14 2022 (GA402RK)
AMD Ryzen 9 6900HS
AMD Radeon RX 6800S

uname -r:

6.17.9-arch1-1

I get the same issue using the linux-g14 kernel.

Planning to do a memtest tonight but given that I have no issues on Windows I doubt I'll find anything. Any help welcome!

Last edited by CableP13 (2025-12-29 09:34:44)

Offline

#2 2025-12-02 21:41:58

gromit
Administrator
From: Germany
Registered: 2024-02-10
Posts: 1,498
Website

Re: [SOLVED] Kernel panic stack-protector: Kernel stack is corrupted

Did you already do a memory check with something like memtest86+?

Offline

#3 2025-12-02 22:25:49

xerxes_
Member
Registered: 2018-04-29
Posts: 1,018

Re: [SOLVED] Kernel panic stack-protector: Kernel stack is corrupted

You may try broadcom-wl-dkms firmware instead of broadcom-wl. You would need to install also linux-headers for dkms.

When did it started? After last update?
You may try to downgrade linux-firmware-amdgpu to 20251111-1 or update to latest linux-firmware 20251125-2 or downgrade amd-ucode.

Offline

#4 2025-12-03 01:40:16

loqs
Member
Registered: 2014-03-06
Posts: 18,796

Re: [SOLVED] Kernel panic stack-protector: Kernel stack is corrupted

xerxes_ wrote:

You may try broadcom-wl-dkms firmware instead of broadcom-wl. You would need to install also linux-headers for dkms.

broadcom-wl is built from broadcom-wl-dkms built against the linux package. How could it have different firmware?

Offline

#5 2025-12-03 21:36:14

CableP13
Member
Registered: 2025-06-15
Posts: 7

Re: [SOLVED] Kernel panic stack-protector: Kernel stack is corrupted

Thanks for the suggestions.

Did you already do a memory check with something like memtest86+?

I just did that, 4 passes with 0 error

You may try broadcom-wl-dkms firmware instead of broadcom-wl. You would need to install also linux-headers for dkms.

I actually did that a few days ago even though I had the same though as @loqs and wasn't sure it would change anything

When did it started? After last update?
You may try to downgrade linux-firmware-amdgpu to 20251111-1 or update to latest linux-firmware 20251125-2 or downgrade amd-ucode

I would say two weeks give or take. I have not encountered the error today as I didn't let my laptop go into suspend or hibernate state so I'll wait until the next kernec panic before I try that in case some other update fixed the issue.

Offline

#6 2025-12-04 20:36:16

loqs
Member
Registered: 2014-03-06
Posts: 18,796

Re: [SOLVED] Kernel panic stack-protector: Kernel stack is corrupted

If updates and linux-firmware plus amd-ucode downgrades do not fix the issue I would suggest Downgrading to before the issue started to rule out a software issue.

Offline

#7 2025-12-11 10:39:10

ReDress
Member
From: Nairobi
Registered: 2024-11-30
Posts: 236

Re: [SOLVED] Kernel panic stack-protector: Kernel stack is corrupted

CableP13 wrote:

I've had this install for about 6 months without any problem and recently started getting Kernel panic messages. One reliable way to get one is to let my laptop suspend after a while. After waking it up, I'm able to login in GDM but then I'll get a blue screen with a QR code and the following message: 

Kernel panic - not syncing: stack-protector: Kernel stack is corrupted in: futex_wait+0x11a/0x120

Any help welcome!

Pretty basic stuff and assuming the error is consistent.

Erhmm.... futex? Probably not a hardware issue.

Offline

#8 2025-12-11 13:17:39

CableP13
Member
Registered: 2025-06-15
Posts: 7

Re: [SOLVED] Kernel panic stack-protector: Kernel stack is corrupted

Still getting this after downgrading linux-firmware and amd-ucode. I upgraded to the latest version again and just had another kernel panic.

loqs wrote:

If updates and linux-firmware plus amd-ucode downgrades do not fix the issue I would suggest Downgrading to before the issue started to rule out a software issue.

I was traveling and couldn't try this but will do now.
Another thing I noticed is that on battery I'm getting random complete  system freezes. Display stays stuck, I can't switch to another tty, nothing is working and I have to hard reboot the laptop.

ReDress wrote:

Pretty basic stuff and assuming the error is consistent.

I'm sure it is but how can I debug and fix?

Offline

#9 2025-12-11 15:48:34

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,325

Re: [SOLVED] Kernel panic stack-protector: Kernel stack is corrupted

after downgrading linux-firmware and amd-ucode

linux-firmware or  linux-firmware-amdgpu ?

I upgraded to the latest version again and just had another kernel panic.

That's the same url as in your OP?

Ceterum censeo:

[ 5253.420282] ntfs3: Read-only LZX/Xpress compression included

3rd link below. Mandatory.
Disable it (it's NOT the BIOS setting!) and reboot windows and linux twice for voodo reasons.
ESPECIALLY because of

One reliable way to get one is to let my laptop suspend after a while.

Offline

#10 2025-12-11 18:52:34

ReDress
Member
From: Nairobi
Registered: 2024-11-30
Posts: 236

Re: [SOLVED] Kernel panic stack-protector: Kernel stack is corrupted

CableP13 wrote:

Still getting this after downgrading linux-firmware and amd-ucode. I upgraded to the latest version again and just had another kernel panic.

loqs wrote:

If updates and linux-firmware plus amd-ucode downgrades do not fix the issue I would suggest Downgrading to before the issue started to rule out a software issue.

I was traveling and couldn't try this but will do now.
Another thing I noticed is that on battery I'm getting random complete  system freezes. Display stays stuck, I can't switch to another tty, nothing is working and I have to hard reboot the laptop.

ReDress wrote:

Pretty basic stuff and assuming the error is consistent.

I'm sure it is but how can I debug and fix?

You should consider yourself lucky enough to own a stack trace :-)

Last edited by ReDress (2025-12-11 18:52:57)

Offline

#11 2025-12-15 14:20:03

CableP13
Member
Registered: 2025-06-15
Posts: 7

Re: [SOLVED] Kernel panic stack-protector: Kernel stack is corrupted

seth wrote:

linux-firmware or  linux-firmware-amdgpu ?

linux-firmware

That's the same url as in your OP?

Good catch! Here's the latest one I got. I'm not seeing the same error message which is nice. Now I see

 Kernel Offset: 0x34200000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff) 

But I'm still getting the kernel panic in the same circumstances (right after suspend, I can log back in, have 5 seconds where everything works and Kernel panic hits).

3rd link below. Mandatory.
Disable it (it's NOT the BIOS setting!) and reboot windows and linux twice for voodo reasons.

I went to check but I have hibernation disabled on windows since day one and so no fast startup, but good suggestion.

Big thanks for the help, I appreciate it!

Offline

#12 2025-12-15 14:32:31

loqs
Member
Registered: 2014-03-06
Posts: 18,796

Re: [SOLVED] Kernel panic stack-protector: Kernel stack is corrupted

If you blacklist the wl module from loading which means no wireless but you can still test suspending to see if the issue still occurs.
Edit:
Removed ZFS references which was for https://bbs.archlinux.org/viewtopic.php?id=310644.

Last edited by loqs (2025-12-15 17:05:18)

Offline

#13 2025-12-15 15:55:15

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,325

Re: [SOLVED] Kernel panic stack-protector: Kernel stack is corrupted

linux-firmware is a meta package, downgrading only that will do nothing.

@loqs, wrong thread? OP doesn't seem to use ZFS?

__pfx_hrtimer_wakeup+0x10/0x10

But I'm placing my bet on wl as well.

@CableP13,  does this maybe happen when pulling or plugging the ethernet cable?

Offline

#14 2025-12-15 17:05:36

loqs
Member
Registered: 2014-03-06
Posts: 18,796

Re: [SOLVED] Kernel panic stack-protector: Kernel stack is corrupted

Offline

#15 2025-12-18 11:33:36

CableP13
Member
Registered: 2025-06-15
Posts: 7

Re: [SOLVED] Kernel panic stack-protector: Kernel stack is corrupted

loqs wrote:

If you blacklist the wl module from loading which means no wireless but you can still test suspending to see if the issue still occurs.
Edit:
Removed ZFS references which was for https://bbs.archlinux.org/viewtopic.php?id=310644.

I did that and to my surprise wifi was still up. I removed broadcom-wl-dkms entirely and wifi is still working so I'm going to try that for a while. I had installed it because my wifi card was not recognised during the install, hopefully this does the trick!

seth wrote:

@CableP13,  does this maybe happen when pulling or plugging the ethernet cable?

I don't have an ethernet cable plugged in so no.

Offline

#16 2025-12-19 16:56:42

ReDress
Member
From: Nairobi
Registered: 2024-11-30
Posts: 236

Re: [SOLVED] Kernel panic stack-protector: Kernel stack is corrupted

We're so glad you solved YOUR problem :-)

Offline

#17 2025-12-19 18:06:11

loqs
Member
Registered: 2014-03-06
Posts: 18,796

Re: [SOLVED] Kernel panic stack-protector: Kernel stack is corrupted

@CableP13 if your issue is solved please mark it as such being editing the thread title and prepending it with [SOLVED].

@ReDress if you have nothing helpful to post perhaps you should consider not creating a post.

Last edited by loqs (2025-12-19 18:06:25)

Offline

#18 2025-12-29 09:34:26

CableP13
Member
Registered: 2025-06-15
Posts: 7

Re: [SOLVED] Kernel panic stack-protector: Kernel stack is corrupted

Haven't encountered this recently so marking as solved. Thanks everybody for the help!

Offline

Board footer

Powered by FluxBB