Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1547684

Re: x86: warning in unwind_get_return_address

From Dmitry Vyukov <dvyukov@google.com>
Newsgroups linux.kernel
Subject Re: x86: warning in unwind_get_return_address
Date 2016-12-27 17:40 +0100
Message-ID <sT2X8-4rl-17@gated-at.bofh.it> (permalink)
References (1 earlier) <sQzPz-2vw-11@gated-at.bofh.it> <sQBeF-3ia-11@gated-at.bofh.it> <sQCaJ-3Te-9@gated-at.bofh.it> <sQOvg-3vJ-35@gated-at.bofh.it> <sR3Xj-51C-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, Dec 22, 2016 at 6:17 AM, Josh Poimboeuf <jpoimboe@redhat.com> wrote:
> On Wed, Dec 21, 2016 at 01:46:36PM +0100, Andrey Konovalov wrote:
>> On Wed, Dec 21, 2016 at 12:36 AM, Josh Poimboeuf <jpoimboe@redhat.com> wrote:
>> >
>> > Thanks.  Looking at the stack trace, my guess is that an interrupt hit
>> > while running in generated BPF code, and the unwinder got confused
>> > because regs->ip points to the generated code.  I may need to disable
>> > that warning until we figure out a better solution.
>> >
>> > Can you share your .config file?
>>
>> Sure, attached.
>
> Ok, I was able to recreate with your config.  The culprit was generated
> code, as I suspected, though it wasn't BPF, it was a kprobe (created by
> dccpprobe_init()).
>
> I'll make a patch to disable the warning.

Hi,

I am also seeing the following warnings:

[  281.889259] WARNING: kernel stack regs at ffff8801c29a7ea8 in
syz-executor8:1302 has bad 'bp' value ffff8801c29a7f28
[  833.994878] WARNING: kernel stack regs at ffff8801c4e77ea8 in
syz-executor1:13094 has bad 'bp' value ffff8801c4e77f28

Can it also be caused by bpf/kprobe?

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

x86: warning in unwind_get_return_address Andrey Konovalov <andreyknvl@google.com> - 2016-12-20 15:50 +0100
  Re: x86: warning in unwind_get_return_address Josh Poimboeuf <jpoimboe@redhat.com> - 2016-12-20 22:10 +0100
    Re: x86: warning in unwind_get_return_address Andrey Konovalov <andreyknvl@google.com> - 2016-12-20 23:40 +0100
      Re: x86: warning in unwind_get_return_address Josh Poimboeuf <jpoimboe@redhat.com> - 2016-12-21 00:40 +0100
        Re: x86: warning in unwind_get_return_address Josh Poimboeuf <jpoimboe@redhat.com> - 2016-12-22 06:20 +0100
          Re: x86: warning in unwind_get_return_address Dmitry Vyukov <dvyukov@google.com> - 2016-12-27 17:40 +0100

csiph-web