syzbot


WARNING in __dev_change_net_namespace (2)

Status: closed as dup on 2024/09/08 03:02
Subsystems: wpan
[Documentation on labels]
Reported-by: syzbot+1df6ffa7a6274ae264db@syzkaller.appspotmail.com
First crash: 168d, last: 104d
Duplicate of
Title Repro Cause bisect Fix bisect Count Last Reported
WARNING in cfg802154_switch_netns (2) wpan 1 133d 129d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [wpan?] WARNING in __dev_change_net_namespace (2) 1 (4) 2024/09/08 03:02
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in __dev_change_net_namespace (3) wpan 4 16d 22d 0/28 upstream: reported on 2024/11/29 11:51
upstream WARNING in __dev_change_net_namespace net 1 1140d 1136d 0/28 auto-closed as invalid on 2022/03/07 06:42

Sample crash report:
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004
R13: 0000000000000002 R14: 00007ffc64b5c120 R15: 0000000000000000
 </TASK>
------------[ cut here ]------------
WARNING: CPU: 0 PID: 5214 at net/core/dev.c:11568 __dev_change_net_namespace+0x171a/0x1830 net/core/dev.c:11568
Modules linked in:
CPU: 0 UID: 0 PID: 5214 Comm: syz-executor241 Not tainted 6.11.0-rc6-syzkaller-00326-gd1f2d51b711a #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+0x171a/0x1830 net/core/dev.c:11568
Code: 01 90 48 c7 c7 40 e2 0c 8d 48 c7 c6 20 e2 0c 8d ba c5 2c 00 00 e8 36 d0 cb f7 90 0f 0b 90 90 e9 54 ea ff ff e8 f7 ab 09 f8 90 <0f> 0b 90 e9 4a fb ff ff e8 e9 ab 09 f8 90 0f 0b 90 e9 d5 fe ff ff
RSP: 0018:ffffc9000314efc0 EFLAGS: 00010293
RAX: ffffffff8989e0b9 RBX: dffffc0000000000 RCX: ffff888034d44880
RDX: 0000000000000000 RSI: 00000000fffffff4 RDI: 0000000000000000
RBP: ffffc9000314f3f8 R08: ffffffff8989dbf9 R09: 1ffffffff283c909
R10: dffffc0000000000 R11: fffffbfff283c90a R12: ffff888035ac01b8
R13: ffff888035ac0bf0 R14: ffff888035ac0734 R15: 00000000fffffff4
FS:  00005555597a9480(0000) GS:ffff88801fe00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f5c5e3e6440 CR3: 0000000048598000 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:3932 [inline]
 cfg802154_switch_netns+0xc8/0x390 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+0xb14/0xec0 net/netlink/genetlink.c:1210
 netlink_rcv_skb+0x1e3/0x430 net/netlink/af_netlink.c:2550
 genl_rcv+0x28/0x40 net/netlink/genetlink.c:1219
 netlink_unicast_kernel net/netlink/af_netlink.c:1331 [inline]
 netlink_unicast+0x7f6/0x990 net/netlink/af_netlink.c:1357
 netlink_sendmsg+0x8e4/0xcb0 net/netlink/af_netlink.c:1901
 sock_sendmsg_nosec net/socket.c:730 [inline]
 __sock_sendmsg+0x221/0x270 net/socket.c:745
 ____sys_sendmsg+0x525/0x7d0 net/socket.c:2597
 ___sys_sendmsg net/socket.c:2651 [inline]
 __sys_sendmsg+0x2b0/0x3a0 net/socket.c:2680
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fe650790ba9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 a1 1d 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffc64b5c098 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007ffc64b5c0b0 RCX: 00007fe650790ba9
RDX: 0000000000000000 RSI: 0000000020000280 RDI: 0000000000000004
RBP: 0000000000000002 R08: 00007ffc64b5be36 R09: 00007ffc64b5c0b0
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004
R13: 0000000000000002 R14: 00007ffc64b5c120 R15: 0000000000000000
 </TASK>

Crashes (8):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/09/08 00:59 upstream d1f2d51b711a 9750182a .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in __dev_change_net_namespace
2024/09/04 08:29 upstream 88fac17500f4 9d47f20a .config console log report syz / log [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in __dev_change_net_namespace
2024/09/07 23:54 upstream d1f2d51b711a 9750182a .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in __dev_change_net_namespace
2024/09/04 07:40 upstream 88fac17500f4 9d47f20a .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in __dev_change_net_namespace
2024/08/16 10:22 upstream d7a5aa4b3c00 e1c76ab2 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in __dev_change_net_namespace
2024/08/14 20:35 upstream 6b0f8db921ab 890d2dda .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in __dev_change_net_namespace
2024/07/07 10:19 upstream 22f902dfc51e bc4ebbb5 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in __dev_change_net_namespace
2024/07/06 06:55 net-next c7f79f2620b7 2a40360c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-net-next-test-gce WARNING in __dev_change_net_namespace
* Struck through repros no longer work on HEAD.