Re: WARNING: kernel stack regs has bad "bp" value

Josh Poimboeuf
2024-12-24T06:51:49Z

On Tue, Dec 24, 2024 at 11:17:30AM +0800, wzs wrote:
> The output of objdump -r --disassemble=vmw_send_msg vmwgfx.ko is as follows.
> Since the content is quite long ,i need to split two parts for saving.
> Similarly, I have also saved it in the attachment.
> console output 1 : https://pastebin.com/mBi6fTdM
> cousole output 2 : https://pastebin.com/89SMLgCy

Thanks, this seems to be caused by vmware_hypercall_hb_out()'s misuse of
the %rbp register. Unfortunately there doesn't seem to be a fix for
that, as it looks like a hypervisor implementation detail.

The good news is it's probably nothing to worry about. Regardless,
frame pointers aren't very useful anymore and I would recommend you
enable the CONFIG_UNWINDER_ORC option.

--
Josh