Re: [syzbot] WARNING: stack going in the wrong direction? at __sys_setsockopt
From: Dmitry Vyukov
Date: Fri Feb 17 2023 - 04:08:10 EST
On Thu, 16 Feb 2023 at 11:04, Dmitry Vyukov <dvyukov@xxxxxxxxxx> wrote:
>
> On Thu, 16 Feb 2023 at 11:00, syzbot
> <syzbot+91c3651bb190d53b4d16@xxxxxxxxxxxxxxxxxxxxxxxxx> 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=11ad7710c80000
> > kernel config: https://syzkaller.appspot.com/x/.config?x=60f48e09dc64b527
> > dashboard link: https://syzkaller.appspot.com/bug?extid=91c3651bb190d53b4d16
> > 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/7a22fa9fb779/disk-9d9019bc.raw.xz
> > vmlinux: https://storage.googleapis.com/syzbot-assets/68851ce42fd7/vmlinux-9d9019bc.xz
> > kernel image: https://storage.googleapis.com/syzbot-assets/09be0a2c410b/bzImage-9d9019bc.xz
> >
> > IMPORTANT: if you fix the issue, please add the following tag to the commit:
> > Reported-by: syzbot+91c3651bb190d53b4d16@xxxxxxxxxxxxxxxxxxxxxxxxx
> >
> > WARNING: stack going in the wrong direction? at __sys_setsockopt+0x2c6/0x5b0 net/socket.c:2271
>
> +Josh, Ingo,
>
> Yesterday we started seeing lots of "stack going in the wrong
> direction" all over the kernel.
>
> I see there is only your recent commit to ORC unwinder:
> "x86/unwind/orc: Add 'signal' field to ORC metadata"
>
> Can it be related?
#syz fix: objtool: Fix ORC 'signal' propagation