linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [syzbot] WARNING: can't access registers at entry_SYSCALL_64_after_hwframe
@ 2023-02-16 14:13 syzbot
  2023-02-16 15:14 ` Dmitry Vyukov
  2023-02-21  5:09 ` syzbot
  0 siblings, 2 replies; 6+ messages in thread
From: syzbot @ 2023-02-16 14:13 UTC (permalink / raw)
  To: linux-kernel, syzkaller-bugs

Hello,

syzbot found the following issue on:

HEAD commit:    9d9019bcea1a Add linux-next specific files for 20230215
git tree:       linux-next
console output: https://syzkaller.appspot.com/x/log.txt?x=144edcc8c80000
kernel config:  https://syzkaller.appspot.com/x/.config?x=a64cbb8ad0da425e
dashboard link: https://syzkaller.appspot.com/bug?extid=dac365e3ce07c3d0e496
compiler:       gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2

Unfortunately, I don't have any reproducer for this issue yet.

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/70f0c6bb5351/disk-9d9019bc.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/7eed8686df34/vmlinux-9d9019bc.xz
kernel image: https://storage.googleapis.com/syzbot-assets/84bb6da6b00e/bzImage-9d9019bc.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+dac365e3ce07c3d0e496@syzkaller.appspotmail.com

WARNING: can't access registers at entry_SYSCALL_64_after_hwframe+0x63/0xcd


---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzkaller@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [syzbot] WARNING: can't access registers at entry_SYSCALL_64_after_hwframe
  2023-02-16 14:13 [syzbot] WARNING: can't access registers at entry_SYSCALL_64_after_hwframe syzbot
@ 2023-02-16 15:14 ` Dmitry Vyukov
  2023-02-16 18:51   ` Josh Poimboeuf
  2023-02-21  5:09 ` syzbot
  1 sibling, 1 reply; 6+ messages in thread
From: Dmitry Vyukov @ 2023-02-16 15:14 UTC (permalink / raw)
  To: syzbot, Josh Poimboeuf, Ingo Molnar; +Cc: linux-kernel, syzkaller-bugs

On Thu, 16 Feb 2023 at 15:13, syzbot
<syzbot+dac365e3ce07c3d0e496@syzkaller.appspotmail.com> wrote:
>
> Hello,
>
> syzbot found the following issue on:
>
> HEAD commit:    9d9019bcea1a Add linux-next specific files for 20230215
> git tree:       linux-next
> console output: https://syzkaller.appspot.com/x/log.txt?x=144edcc8c80000
> kernel config:  https://syzkaller.appspot.com/x/.config?x=a64cbb8ad0da425e
> dashboard link: https://syzkaller.appspot.com/bug?extid=dac365e3ce07c3d0e496
> compiler:       gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2
>
> Unfortunately, I don't have any reproducer for this issue yet.
>
> Downloadable assets:
> disk image: https://storage.googleapis.com/syzbot-assets/70f0c6bb5351/disk-9d9019bc.raw.xz
> vmlinux: https://storage.googleapis.com/syzbot-assets/7eed8686df34/vmlinux-9d9019bc.xz
> kernel image: https://storage.googleapis.com/syzbot-assets/84bb6da6b00e/bzImage-9d9019bc.xz
>
> IMPORTANT: if you fix the issue, please add the following tag to the commit:
> Reported-by: syzbot+dac365e3ce07c3d0e496@syzkaller.appspotmail.com
>
> WARNING: can't access registers at entry_SYSCALL_64_after_hwframe+0x63/0xcd


This is another splat of reports we started getting recently. Looks
like this may be ORC unwinder related as well.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [syzbot] WARNING: can't access registers at entry_SYSCALL_64_after_hwframe
  2023-02-16 15:14 ` Dmitry Vyukov
@ 2023-02-16 18:51   ` Josh Poimboeuf
  2023-02-16 20:26     ` Josh Poimboeuf
  0 siblings, 1 reply; 6+ messages in thread
From: Josh Poimboeuf @ 2023-02-16 18:51 UTC (permalink / raw)
  To: Dmitry Vyukov
  Cc: syzbot, Josh Poimboeuf, Ingo Molnar, linux-kernel,
	syzkaller-bugs, Peter Zijlstra

On Thu, Feb 16, 2023 at 04:14:25PM +0100, Dmitry Vyukov wrote:
> On Thu, 16 Feb 2023 at 15:13, syzbot
> <syzbot+dac365e3ce07c3d0e496@syzkaller.appspotmail.com> wrote:
> >
> > Hello,
> >
> > syzbot found the following issue on:
> >
> > HEAD commit:    9d9019bcea1a Add linux-next specific files for 20230215
> > git tree:       linux-next
> > console output: https://syzkaller.appspot.com/x/log.txt?x=144edcc8c80000
> > kernel config:  https://syzkaller.appspot.com/x/.config?x=a64cbb8ad0da425e
> > dashboard link: https://syzkaller.appspot.com/bug?extid=dac365e3ce07c3d0e496
> > compiler:       gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2
> >
> > Unfortunately, I don't have any reproducer for this issue yet.
> >
> > Downloadable assets:
> > disk image: https://storage.googleapis.com/syzbot-assets/70f0c6bb5351/disk-9d9019bc.raw.xz
> > vmlinux: https://storage.googleapis.com/syzbot-assets/7eed8686df34/vmlinux-9d9019bc.xz
> > kernel image: https://storage.googleapis.com/syzbot-assets/84bb6da6b00e/bzImage-9d9019bc.xz
> >
> > IMPORTANT: if you fix the issue, please add the following tag to the commit:
> > Reported-by: syzbot+dac365e3ce07c3d0e496@syzkaller.appspotmail.com
> >
> > WARNING: can't access registers at entry_SYSCALL_64_after_hwframe+0x63/0xcd
> 
> 
> This is another splat of reports we started getting recently. Looks
> like this may be ORC unwinder related as well.

Yeah... Also:

  https://lkml.kernel.org/lkml/202302161616.85f13863-oliver.sang@intel.com
  https://lkml.kernel.org/lkml/CACT4Y+YzZb2vscjBLiJ-p-ghbu77o851gbESfE=nZebXqfgE4g@mail.gmail.com

The problem seems to be commit ffb1b4a41016 ("x86/unwind/orc: Add
'signal' field to ORC metadata") but right now I don't know why.

We may need to pull it out (or revert it) and its followup ffb1b4a41016
("x86/unwind/orc: Add 'signal' field to ORC metadata").

-- 
Josh

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [syzbot] WARNING: can't access registers at entry_SYSCALL_64_after_hwframe
  2023-02-16 18:51   ` Josh Poimboeuf
@ 2023-02-16 20:26     ` Josh Poimboeuf
  2023-02-17  9:05       ` Dmitry Vyukov
  0 siblings, 1 reply; 6+ messages in thread
From: Josh Poimboeuf @ 2023-02-16 20:26 UTC (permalink / raw)
  To: Dmitry Vyukov
  Cc: syzbot, Josh Poimboeuf, Ingo Molnar, linux-kernel,
	syzkaller-bugs, Peter Zijlstra

On Thu, Feb 16, 2023 at 10:51:44AM -0800, Josh Poimboeuf wrote:
> On Thu, Feb 16, 2023 at 04:14:25PM +0100, Dmitry Vyukov wrote:
> > On Thu, 16 Feb 2023 at 15:13, syzbot
> > <syzbot+dac365e3ce07c3d0e496@syzkaller.appspotmail.com> wrote:
> > >
> > > Hello,
> > >
> > > syzbot found the following issue on:
> > >
> > > HEAD commit:    9d9019bcea1a Add linux-next specific files for 20230215
> > > git tree:       linux-next
> > > console output: https://syzkaller.appspot.com/x/log.txt?x=144edcc8c80000
> > > kernel config:  https://syzkaller.appspot.com/x/.config?x=a64cbb8ad0da425e
> > > dashboard link: https://syzkaller.appspot.com/bug?extid=dac365e3ce07c3d0e496
> > > compiler:       gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2
> > >
> > > Unfortunately, I don't have any reproducer for this issue yet.
> > >
> > > Downloadable assets:
> > > disk image: https://storage.googleapis.com/syzbot-assets/70f0c6bb5351/disk-9d9019bc.raw.xz
> > > vmlinux: https://storage.googleapis.com/syzbot-assets/7eed8686df34/vmlinux-9d9019bc.xz
> > > kernel image: https://storage.googleapis.com/syzbot-assets/84bb6da6b00e/bzImage-9d9019bc.xz
> > >
> > > IMPORTANT: if you fix the issue, please add the following tag to the commit:
> > > Reported-by: syzbot+dac365e3ce07c3d0e496@syzkaller.appspotmail.com
> > >
> > > WARNING: can't access registers at entry_SYSCALL_64_after_hwframe+0x63/0xcd
> > 
> > 
> > This is another splat of reports we started getting recently. Looks
> > like this may be ORC unwinder related as well.
> 
> Yeah... Also:
> 
>   https://lkml.kernel.org/lkml/202302161616.85f13863-oliver.sang@intel.com
>   https://lkml.kernel.org/lkml/CACT4Y+YzZb2vscjBLiJ-p-ghbu77o851gbESfE=nZebXqfgE4g@mail.gmail.com
> 
> The problem seems to be commit ffb1b4a41016 ("x86/unwind/orc: Add
> 'signal' field to ORC metadata") but right now I don't know why.

Ah, figured it out:

$ tools/objtool/objtool --dump=orc vmlinux |grep signal:1 |wc -l
0

The 'signal' bit isn't getting propagated from the unwind hints to the
ORC entries :-(

Will post a fix shortly.

-- 
Josh

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [syzbot] WARNING: can't access registers at entry_SYSCALL_64_after_hwframe
  2023-02-16 20:26     ` Josh Poimboeuf
@ 2023-02-17  9:05       ` Dmitry Vyukov
  0 siblings, 0 replies; 6+ messages in thread
From: Dmitry Vyukov @ 2023-02-17  9:05 UTC (permalink / raw)
  To: Josh Poimboeuf
  Cc: syzbot, Josh Poimboeuf, Ingo Molnar, linux-kernel,
	syzkaller-bugs, Peter Zijlstra

On Thu, 16 Feb 2023 at 21:26, Josh Poimboeuf <jpoimboe@kernel.org> wrote:
> > > >
> > > > Hello,
> > > >
> > > > syzbot found the following issue on:
> > > >
> > > > HEAD commit:    9d9019bcea1a Add linux-next specific files for 20230215
> > > > git tree:       linux-next
> > > > console output: https://syzkaller.appspot.com/x/log.txt?x=144edcc8c80000
> > > > kernel config:  https://syzkaller.appspot.com/x/.config?x=a64cbb8ad0da425e
> > > > dashboard link: https://syzkaller.appspot.com/bug?extid=dac365e3ce07c3d0e496
> > > > compiler:       gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2
> > > >
> > > > Unfortunately, I don't have any reproducer for this issue yet.
> > > >
> > > > Downloadable assets:
> > > > disk image: https://storage.googleapis.com/syzbot-assets/70f0c6bb5351/disk-9d9019bc.raw.xz
> > > > vmlinux: https://storage.googleapis.com/syzbot-assets/7eed8686df34/vmlinux-9d9019bc.xz
> > > > kernel image: https://storage.googleapis.com/syzbot-assets/84bb6da6b00e/bzImage-9d9019bc.xz
> > > >
> > > > IMPORTANT: if you fix the issue, please add the following tag to the commit:
> > > > Reported-by: syzbot+dac365e3ce07c3d0e496@syzkaller.appspotmail.com
> > > >
> > > > WARNING: can't access registers at entry_SYSCALL_64_after_hwframe+0x63/0xcd
> > >
> > >
> > > This is another splat of reports we started getting recently. Looks
> > > like this may be ORC unwinder related as well.
> >
> > Yeah... Also:
> >
> >   https://lkml.kernel.org/lkml/202302161616.85f13863-oliver.sang@intel.com
> >   https://lkml.kernel.org/lkml/CACT4Y+YzZb2vscjBLiJ-p-ghbu77o851gbESfE=nZebXqfgE4g@mail.gmail.com
> >
> > The problem seems to be commit ffb1b4a41016 ("x86/unwind/orc: Add
> > 'signal' field to ORC metadata") but right now I don't know why.
>
> Ah, figured it out:
>
> $ tools/objtool/objtool --dump=orc vmlinux |grep signal:1 |wc -l
> 0
>
> The 'signal' bit isn't getting propagated from the unwind hints to the
> ORC entries :-(
>
> Will post a fix shortly.

Thanks for the quick fix!

Let's tell syzbot:

#syz fix: objtool: Fix ORC 'signal' propagation

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [syzbot] WARNING: can't access registers at entry_SYSCALL_64_after_hwframe
  2023-02-16 14:13 [syzbot] WARNING: can't access registers at entry_SYSCALL_64_after_hwframe syzbot
  2023-02-16 15:14 ` Dmitry Vyukov
@ 2023-02-21  5:09 ` syzbot
  1 sibling, 0 replies; 6+ messages in thread
From: syzbot @ 2023-02-21  5:09 UTC (permalink / raw)
  To: dvyukov, jpoimboe, jpoimboe, linux-kernel, mingo, peterz, syzkaller-bugs

syzbot has found a reproducer for the following issue on:

HEAD commit:    d2af0fa4bfa4 Add linux-next specific files for 20230220
git tree:       linux-next
console output: https://syzkaller.appspot.com/x/log.txt?x=109146a0c80000
kernel config:  https://syzkaller.appspot.com/x/.config?x=594e1a56901fd35d
dashboard link: https://syzkaller.appspot.com/bug?extid=dac365e3ce07c3d0e496
compiler:       gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2
syz repro:      https://syzkaller.appspot.com/x/repro.syz?x=10b9f4d8c80000
C reproducer:   https://syzkaller.appspot.com/x/repro.c?x=138179e8c80000

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/83b78c113e8e/disk-d2af0fa4.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/d59f9b2c9091/vmlinux-d2af0fa4.xz
kernel image: https://storage.googleapis.com/syzbot-assets/2726c16c1d3b/bzImage-d2af0fa4.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+dac365e3ce07c3d0e496@syzkaller.appspotmail.com

WARNING: can't access registers at entry_SYSCALL_64_after_hwframe+0x63/0xcd


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-02-21  5:09 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-16 14:13 [syzbot] WARNING: can't access registers at entry_SYSCALL_64_after_hwframe syzbot
2023-02-16 15:14 ` Dmitry Vyukov
2023-02-16 18:51   ` Josh Poimboeuf
2023-02-16 20:26     ` Josh Poimboeuf
2023-02-17  9:05       ` Dmitry Vyukov
2023-02-21  5:09 ` syzbot

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).