Re: [syzbot] linux-next test error: WARNING in devl_port_unregister

From: Jiri Pirko
Date: Tue Nov 08 2022 - 03:26:39 EST


Mon, Nov 07, 2022 at 08:02:52PM CET, syzbot+c2ca18f0fccdd1f09c66@xxxxxxxxxxxxxxxxxxxxxxxxx wrote:
>Hello,
>
>syzbot found the following issue on:
>
>HEAD commit: d8e87774068a Add linux-next specific files for 20221107
>git tree: linux-next
>console output: https://syzkaller.appspot.com/x/log.txt?x=17b99fde880000
>kernel config: https://syzkaller.appspot.com/x/.config?x=97401fe9f72601bf
>dashboard link: https://syzkaller.appspot.com/bug?extid=c2ca18f0fccdd1f09c66
>compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2
>
>Downloadable assets:
>disk image: https://storage.googleapis.com/syzbot-assets/671a9d3d5dc6/disk-d8e87774.raw.xz
>vmlinux: https://storage.googleapis.com/syzbot-assets/ef1309efbb19/vmlinux-d8e87774.xz
>kernel image: https://storage.googleapis.com/syzbot-assets/7592dabd2a3a/bzImage-d8e87774.xz
>
>IMPORTANT: if you fix the issue, please add the following tag to the commit:
>Reported-by: syzbot+c2ca18f0fccdd1f09c66@xxxxxxxxxxxxxxxxxxxxxxxxx
>
>wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50
>netdevsim netdevsim0 netdevsim3 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0
>------------[ cut here ]------------
>WARNING: CPU: 0 PID: 11 at net/core/devlink.c:9998 devl_port_unregister+0x2f6/0x390 net/core/devlink.c:9998

Taking care of this. Will send fix today.