2023-02-16 10:00:47

by syzbot

[permalink] [raw]
Subject: [syzbot] WARNING: stack going in the wrong direction? at __sys_setsockopt

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: [email protected]

WARNING: stack going in the wrong direction? at __sys_setsockopt+0x2c6/0x5b0 net/socket.c:2271


---
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 [email protected].

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


2023-02-16 10:04:27

by Dmitry Vyukov

[permalink] [raw]
Subject: Re: [syzbot] WARNING: stack going in the wrong direction? at __sys_setsockopt

On Thu, 16 Feb 2023 at 11:00, syzbot
<[email protected]> 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: [email protected]
>
> 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?


> ---
> 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 [email protected].
>
> syzbot will keep track of this issue. See:
> https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

2023-02-17 09:08:11

by Dmitry Vyukov

[permalink] [raw]
Subject: Re: [syzbot] WARNING: stack going in the wrong direction? at __sys_setsockopt

On Thu, 16 Feb 2023 at 11:04, Dmitry Vyukov <[email protected]> wrote:
>
> On Thu, 16 Feb 2023 at 11:00, syzbot
> <[email protected]> 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: [email protected]
> >
> > 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