Re: [syzbot] [net?] WARNING in inet_csk_get_port (3)

From: Jiri Olsa
Date: Mon May 27 2024 - 04:12:25 EST


On Sun, May 26, 2024 at 05:20:06AM -0700, syzbot wrote:
> syzbot has bisected this issue to:
>
> commit 3505cb9fa26cfec9512744466e754a8cbc2365b0
> Author: Jiri Olsa <jolsa@xxxxxxxxxx>
> Date: Wed Aug 9 08:34:14 2023 +0000
>
> bpf: Add attach_type checks under bpf_prog_attach_check_attach_type

hum, scratching my head how this change could cause network warning
will try the reproducer

jirka

>
> bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=15dbe672980000
> start commit: 977b1ef51866 Merge tag 'block-6.9-20240420' of git://git.k..
> git tree: upstream
> final oops: https://syzkaller.appspot.com/x/report.txt?x=17dbe672980000
> console output: https://syzkaller.appspot.com/x/log.txt?x=13dbe672980000
> kernel config: https://syzkaller.appspot.com/x/.config?x=85dbe39cf8e4f599
> dashboard link: https://syzkaller.appspot.com/bug?extid=2459c1b9fcd39be822b1
> syz repro: https://syzkaller.appspot.com/x/repro.syz?x=126c6080980000
> C reproducer: https://syzkaller.appspot.com/x/repro.c?x=11135520980000
>
> Reported-by: syzbot+2459c1b9fcd39be822b1@xxxxxxxxxxxxxxxxxxxxxxxxx
> Fixes: 3505cb9fa26c ("bpf: Add attach_type checks under bpf_prog_attach_check_attach_type")
>
> For information about bisection process see: https://goo.gl/tpsmEJ#bisection