Re: [syzbot] [wpan?] WARNING in __dev_change_net_namespace (3)
From: syzbot
Date: Thu Mar 27 2025 - 01:31:49 EST
syzbot has found a reproducer for the following issue on:
HEAD commit: f6e0150b2003 Merge tag 'mtd/for-6.15' of git://git.kernel...
git tree: upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=10256198580000
kernel config: https://syzkaller.appspot.com/x/.config?x=46a07195688b794b
dashboard link: https://syzkaller.appspot.com/bug?extid=3344d668bbbc12996d46
compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=10b2d804580000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=14256198580000
Downloadable assets:
disk image (non-bootable): https://storage.googleapis.com/syzbot-assets/7feb34a89c2a/non_bootable_disk-f6e0150b.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/7ade4c34c9b1/vmlinux-f6e0150b.xz
kernel image: https://storage.googleapis.com/syzbot-assets/1fe37b97ec9d/bzImage-f6e0150b.xz
IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+3344d668bbbc12996d46@xxxxxxxxxxxxxxxxxxxxxxxxx
R10: 0000000000000002 R11: 0000000000000246 R12: 00007fca2f73a048
R13: 00007fca2f73fffc R14: 00007fca2f73a167 R15: 0000000000000001
</TASK>
------------[ cut here ]------------
WARNING: CPU: 0 PID: 5302 at net/core/dev.c:12104 __dev_change_net_namespace+0x16f9/0x1890 net/core/dev.c:12104
Modules linked in:
CPU: 0 UID: 0 PID: 5302 Comm: syz-executor142 Not tainted 6.14.0-syzkaller-03565-gf6e0150b2003 #0 PREEMPT(full)
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+0x16f9/0x1890 net/core/dev.c:12104
Code: 01 90 48 c7 c7 80 88 2e 8d 48 c7 c6 60 88 2e 8d ba dd 2e 00 00 e8 47 60 a6 f7 90 0f 0b 90 90 e9 9d ea ff ff e8 b8 3b e7 f7 90 <0f> 0b 90 e9 06 fb ff ff e8 aa 3b e7 f7 90 0f 0b 90 e9 8b fe ff ff
RSP: 0018:ffffc9000d336fa0 EFLAGS: 00010293
RAX: ffffffff89dc3ad8 RBX: dffffc0000000000 RCX: ffff88800032c880
RDX: 0000000000000000 RSI: 00000000fffffff4 RDI: 0000000000000000
RBP: ffffc9000d3373b8 R08: ffffffff89dc35d9 R09: 1ffffffff2079d4e
R10: dffffc0000000000 R11: fffffbfff2079d4f R12: dffffc0000000000
R13: 1ffff92001a66e68 R14: ffff888043c7871c R15: 00000000fffffff4
FS: 0000555581f64380(0000) GS:ffff88808c824000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffdafa37008 CR3: 0000000043cc2000 CR4: 0000000000352ef0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
dev_change_net_namespace include/linux/netdevice.h:4163 [inline]
cfg802154_switch_netns+0xc5/0x3d0 net/ieee802154/core.c:230
nl802154_wpan_phy_netns+0x13d/0x210 net/ieee802154/nl802154.c:1292
genl_family_rcv_msg_doit net/netlink/genetlink.c:1115 [inline]
genl_family_rcv_msg net/netlink/genetlink.c:1195 [inline]
genl_rcv_msg+0xb38/0xf00 net/netlink/genetlink.c:1210
netlink_rcv_skb+0x208/0x480 net/netlink/af_netlink.c:2533
genl_rcv+0x28/0x40 net/netlink/genetlink.c:1219
netlink_unicast_kernel net/netlink/af_netlink.c:1312 [inline]
netlink_unicast+0x7f8/0x9a0 net/netlink/af_netlink.c:1338
netlink_sendmsg+0x8e8/0xce0 net/netlink/af_netlink.c:1882
sock_sendmsg_nosec net/socket.c:718 [inline]
__sock_sendmsg+0x221/0x270 net/socket.c:733
____sys_sendmsg+0x53c/0x870 net/socket.c:2573
___sys_sendmsg net/socket.c:2627 [inline]
__sys_sendmsg+0x271/0x360 net/socket.c:2659
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fca2f6f7e99
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fffc5fcdf18 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007fffc5fcdf30 RCX: 00007fca2f6f7e99
RDX: 0000000000000000 RSI: 0000200000000280 RDI: 0000000000000006
RBP: 0000000000000002 R08: 00007fffc5fcdcb6 R09: 0000555581f65610
R10: 0000000000000002 R11: 0000000000000246 R12: 00007fca2f73a048
R13: 00007fca2f73fffc R14: 00007fca2f73a167 R15: 0000000000000001
</TASK>
---
If you want syzbot to run the reproducer, reply with:
#syz test: git://repo/address.git branch-or-commit-hash
If you attach or paste a git patch, syzbot will apply it before testing.