Subject: Re: [syzbot] [wpan?] WARNING in __dev_change_net_namespace (2)

From: Kuniyuki Iwashima <[email-masked]>
Date: Sat, 7 Sep 2024 20:02:42 -0700

From: syzbot <[email-masked]>
Date: Wed, 10 Jul 2024 09:04:21 -0700
> Hello,
> 
> syzbot found the following issue on:
> 
> HEAD commit:    22f902dfc51e Merge tag 'i2c-for-6.10-rc7' of git://git.ker..
> git tree:       upstream
> console output: https://syzkaller.appspot.com/x/log.txt?x=166ba6e1980000
> kernel config:  https://syzkaller.appspot.com/x/.config?x=d29e97614bab40fc
> dashboard link: https://syzkaller.appspot.com/bug?extid=1df6ffa7a6274ae264db
> compiler:       gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40
> userspace arch: i386
> 
> Unfortunately, I don't have any reproducer for this issue yet.
> 
> Downloadable assets:
> disk image (non-bootable): https://storage.googleapis.com/syzbot-assets/7bc7510fe41f/non_bootable_disk-22f902df.raw.xz
> vmlinux: https://storage.googleapis.com/syzbot-assets/4c0526babe49/vmlinux-22f902df.xz
> kernel image: https://storage.googleapis.com/syzbot-assets/a5ff57328e52/bzImage-22f902df.xz
> 
> IMPORTANT: if you fix the issue, please add the following tag to the commit:
> Reported-by: [email-masked]
> 
> R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000
> R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
>  </TASK>
> ------------[ cut here ]------------
> WARNING: CPU: 3 PID: 14392 at net/core/dev.c:11431 __dev_change_net_namespace+0x1048/0x1290 net/core/dev.c:11431
> Modules linked in:
> CPU: 3 PID: 14392 Comm: syz.3.2718 Not tainted 6.10.0-rc6-syzkaller-00215-g22f902dfc51e #0
> Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
> RIP: 0010:__dev_change_net_namespace+0x1048/0x1290 net/core/dev.c:11431
> Code: 50 d2 f8 31 f6 4c 89 e7 e8 85 2b fe ff 89 44 24 28 e9 69 f3 ff ff e8 37 50 d2 f8 90 0f 0b 90 e9 5b fe ff ff e8 29 50 d2 f8 90 <0f> 0b 90 e9 bc fa ff ff bd ea ff ff ff e9 71 f2 ff ff e8 31 78 2f
> RSP: 0018:ffffc90022ef7380 EFLAGS: 00010293
> RAX: 0000000000000000 RBX: ffff888019c58000 RCX: ffffffff88bc3923
> RDX: ffff88801f6c2440 RSI: ffffffff88bc3e67 RDI: 0000000000000005
> RBP: ffff888019c58734 R08: 0000000000000005 R09: 0000000000000000
> R10: 00000000fffffff4 R11: 0000000000000003 R12: ffff888047041cc0
> R13: 00000000fffffff4 R14: ffff888019c58bf0 R15: 1ffff920045dee7e
> FS:  0000000000000000(0000) GS:ffff88802c300000(0063) knlGS:00000000f5d5ab40
> CS:  0010 DS: 002b ES: 002b CR0: 0000000080050033
> CR2: 00000000f5d03da4 CR3: 000000002984a000 CR4: 0000000000350ef0
> DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
> DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
> Call Trace:
>  <TASK>
>  dev_change_net_namespace include/linux/netdevice.h:3923 [inline]
>  cfg802154_switch_netns+0xbf/0x450 net/ieee802154/core.c:230

#syz dup: [syzbot] [wpan?] WARNING in cfg802154_switch_netns (2)

https://lore.kernel.org/netdev/[email-masked]/