Re: WARNING: kernel stack regs has bad "bp" value
From: Josh Poimboeuf
Date: Mon Dec 23 2024 - 09:11:55 EST
On Mon, Dec 23, 2024 at 11:34:58AM +0800, wzs wrote:
> Hello,
> when fuzzing the Linux Kernel,
> i encountered several rare kernel warnings.
> It seems that the warning is related to the kernel stack.
> The versions in which this appeared are from Linux-6.8.0 to 6.13-rc3.
>
> The two warning messages I provide below are both from the latest
> kernel version, Linux-6.13-rc3.
> If you need warnings from other versions, I would be happy to provide
> them as well.
>
> kernel config :https://pastebin.com/hGFvz9vz
> console output1 :https://pastebin.com/7vBkDAvK
> console output2 : https://pastebin.com/T8h3Hnrr
I assume you booted with unwind_debug on the cmdline? This "warning" is
harmless, in fact it's not a real WARNING, it's only a stack dump which
is useful for debugging stack tracing issues.
Can you share the dissassembly of vmw_send_msg? e.g. something like
objdump -r --disassemble=vmw_send_msg vmwgfx.ko
--
Josh