syzbot


unregister_netdevice: waiting for DEV to become free (7)

Status: fixed on 2023/06/08 14:41
Reported-by: syzbot+5e70d01ee8985ae62a3b@syzkaller.appspotmail.com
Fix commit: 266e9b3475ba RDMA/siw: Remove namespace check from siw_netdev_event()
First crash: 993d, last: 536d
Cause bisection: the issue happens on the oldest tested release (bisect log)
Crash: unregister_netdevice: waiting for DEV to become free (log)
Repro: C syz .config
  
Discussions (3)
Title Replies (including bot) Last reply
[syzbot] [rdma?] KASAN: slab-use-after-free Read in siw_query_port 3 (5) 2023/05/18 22:19
[syzbot] unregister_netdevice: waiting for DEV to become free (7) 6 (7) 2022/11/24 01:42
[PATCH] infiniband: cma: fix the dev refcnt leak 2 (2) 2022/11/22 14:03
Similar bugs (15)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream unregister_netdevice: waiting for DEV to become free (3) C 1864 1685d 1747d 15/28 fixed on 2020/04/15 17:19
upstream unregister_netdevice: waiting for DEV to become free (6) C error 13128 993d 1112d 20/28 fixed on 2022/03/08 16:11
upstream unregister_netdevice: waiting for DEV to become free C 170521 2301d 2412d 8/28 fixed on 2018/08/08 18:10
linux-4.14 unregister_netdevice: waiting for DEV to become free C done 120 1608d 2047d 1/1 fixed on 2020/08/02 06:53
linux-5.15 unregister_netdevice: waiting for DEV to become free origin:upstream C 3396 3h37m 629d 0/3 upstream: reported C repro on 2023/03/07 22:57
android-49 unregister_netdevice: waiting for DEV to become free C 52164 1829d 2055d 0/3 public: reported C repro on 2019/04/11 08:44
android-44 unregister_netdevice: waiting for DEV to become free C 4307 1890d 2055d 0/2 public: reported C repro on 2019/04/11 08:44
linux-4.14 unregister_netdevice: waiting for DEV to become free (2) fat hfsplus bfs vfs gfs2 udf xfs reiserfs sysv btrfs f2fs C 651522 629d 1565d 0/1 upstream: reported C repro on 2020/08/13 09:52
android-414 unregister_netdevice: waiting for DEV to become free 1231 1831d 2054d 0/1 auto-closed as invalid on 2020/02/19 10:10
upstream unregister_netdevice: waiting for DEV to become free (4) C done 50394 1357d 1559d 19/28 fixed on 2021/03/10 01:48
linux-6.1 unregister_netdevice: waiting for DEV to become free missing-backport origin:upstream C inconclusive 910 1h09m 629d 0/3 upstream: reported C repro on 2023/03/07 18:05
upstream unregister_netdevice: waiting for DEV to become free (8) net C done 30648 11m 535d 0/28 upstream: reported C repro on 2023/06/10 01:34
upstream unregister_netdevice: waiting for DEV to become free (2) C done 385621 1747d 2294d 15/28 fixed on 2020/02/14 01:19
linux-4.19 unregister_netdevice: waiting for DEV to become free C 5316 630d 2056d 0/1 upstream: reported C repro on 2019/04/10 19:11
upstream unregister_netdevice: waiting for DEV to become free (5) C done 40035 1112d 1357d 20/28 fixed on 2021/11/10 00:50

Sample crash report:
unregister_netdevice: waiting for lo to become free. Usage count = 2
leaked reference.
 __netdev_tracker_alloc include/linux/netdevice.h:4020 [inline]
 netdev_hold include/linux/netdevice.h:4049 [inline]
 ipv6_add_dev+0x43e/0x1320 net/ipv6/addrconf.c:401
 addrconf_notify+0x61e/0x18c0 net/ipv6/addrconf.c:3552
 notifier_call_chain+0xb5/0x200 kernel/notifier.c:87
 call_netdevice_notifiers_info+0xb5/0x130 net/core/dev.c:1944
 call_netdevice_notifiers_extack net/core/dev.c:1982 [inline]
 call_netdevice_notifiers net/core/dev.c:1996 [inline]
 register_netdevice+0xfb4/0x1640 net/core/dev.c:10078
 register_netdev+0x31/0x50 net/core/dev.c:10173
 loopback_net_init+0x7a/0x170 drivers/net/loopback.c:219
 ops_init+0xb9/0x670 net/core/net_namespace.c:135
 setup_net+0x793/0xe60 net/core/net_namespace.c:333
 copy_net_ns+0x31b/0x6b0 net/core/net_namespace.c:483
 create_new_namespaces+0x3f6/0xb20 kernel/nsproxy.c:110
 unshare_nsproxy_namespaces+0xc5/0x1f0 kernel/nsproxy.c:228
 ksys_unshare+0x449/0x920 kernel/fork.c:3202
 __do_sys_unshare kernel/fork.c:3273 [inline]
 __se_sys_unshare kernel/fork.c:3271 [inline]
 __x64_sys_unshare+0x31/0x40 kernel/fork.c:3271
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd

Crashes (20422):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/02/16 21:41 upstream 033c40a89f55 7338e3c4 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root unregister_netdevice: waiting for DEV to become free
2023/02/16 20:43 upstream 033c40a89f55 38b317a7 .config strace log report syz C ci2-upstream-fs unregister_netdevice: waiting for DEV to become free
2023/02/16 14:10 upstream 033c40a89f55 38b317a7 .config strace log report syz C ci2-upstream-fs unregister_netdevice: waiting for DEV to become free
2023/02/15 08:49 upstream e1c04510f521 e62ba3c1 .config strace log report syz C ci2-upstream-fs unregister_netdevice: waiting for DEV to become free
2023/02/13 04:07 upstream 711e9a4d52bf 93e26d60 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-upstream-fs unregister_netdevice: waiting for DEV to become free
2023/02/11 18:46 upstream 420b2d431d18 93e26d60 .config strace log report syz C ci-upstream-kasan-gce-selinux-root unregister_netdevice: waiting for DEV to become free
2023/02/09 23:03 upstream 35674e787518 07980f9d .config strace log report syz C ci2-upstream-fs unregister_netdevice: waiting for DEV to become free
2022/09/08 22:59 upstream 26b1224903b3 f3027468 .config strace log report syz C ci-upstream-kasan-gce-selinux-root unregister_netdevice: waiting for DEV to become free
2022/08/14 02:24 upstream 7ebfc85e2cd7 8dfcaa3d .config strace log report syz C ci-upstream-kasan-gce-smack-root unregister_netdevice: waiting for DEV to become free
2023/02/10 00:55 upstream 35674e787518 07980f9d .config console log report syz C ci-qemu-upstream-386 unregister_netdevice: waiting for DEV to become free
2023/02/16 20:43 net-old 5d54cb1767e0 7338e3c4 .config strace log report syz C ci-upstream-net-this-kasan-gce unregister_netdevice: waiting for DEV to become free
2023/02/16 09:18 net-old fda6c89fe3d9 6be0f1f5 .config strace log report syz C ci-upstream-net-this-kasan-gce unregister_netdevice: waiting for DEV to become free
2023/02/13 04:12 net-old 20ab8432420e 93e26d60 .config strace log report syz C ci-upstream-net-this-kasan-gce unregister_netdevice: waiting for DEV to become free
2023/02/09 11:28 net-old b963d9d5b943 14a312c8 .config strace log report syz C ci-upstream-net-this-kasan-gce unregister_netdevice: waiting for DEV to become free
2023/02/09 02:26 net-old 965bffd2dd8a fc9c934e .config strace log report syz C ci-upstream-net-this-kasan-gce unregister_netdevice: waiting for DEV to become free
2023/02/08 22:55 net-old 965bffd2dd8a fc9c934e .config strace log report syz C ci-upstream-net-this-kasan-gce unregister_netdevice: waiting for DEV to become free
2023/03/25 14:38 net-next bc77f7318da8 fbf0499a .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce unregister_netdevice: waiting for DEV to become free
2023/02/17 06:03 net-next-old 84cb1b53cdba 851bc19a .config strace log report syz C ci-upstream-net-kasan-gce unregister_netdevice: waiting for DEV to become free
2023/02/16 17:06 net-next-old 10d13421a6ae 7338e3c4 .config strace log report syz C ci-upstream-net-kasan-gce unregister_netdevice: waiting for DEV to become free
2023/02/16 06:32 net-next-old 894341ad3ad7 6be0f1f5 .config strace log report syz C ci-upstream-net-kasan-gce unregister_netdevice: waiting for DEV to become free
2023/02/13 02:02 net-next-old 75da437a2f17 93e26d60 .config strace log report syz C ci-upstream-net-kasan-gce unregister_netdevice: waiting for DEV to become free
2022/04/22 03:14 net-next-old 9c8774e629a1 2738b391 .config console log report syz C ci-upstream-net-kasan-gce unregister_netdevice: waiting for DEV to become free
2023/05/26 02:49 linux-next 715abedee4cd 0513b3e6 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root unregister_netdevice: waiting for DEV to become free
2023/02/15 03:44 linux-next 38d2b86a665b 1d6b4af7 .config strace log report syz C ci-upstream-linux-next-kasan-gce-root unregister_netdevice: waiting for DEV to become free
2023/02/12 08:25 linux-next 38d2b86a665b 93e26d60 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root unregister_netdevice: waiting for DEV to become free
2023/02/12 03:38 linux-next 38d2b86a665b 93e26d60 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root unregister_netdevice: waiting for DEV to become free
2023/02/10 06:52 linux-next 38d2b86a665b 07980f9d .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root unregister_netdevice: waiting for DEV to become free
2022/07/31 22:03 linux-next cb71b93c2dc3 fef302b1 .config strace log report syz C ci-upstream-linux-next-kasan-gce-root unregister_netdevice: waiting for DEV to become free
2023/06/04 08:35 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci eb0f1697d729 a4ae4f42 .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 unregister_netdevice: waiting for DEV to become free
2023/01/28 02:43 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci c62c88e05937 9dfcf09c .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 unregister_netdevice: waiting for DEV to become free
2023/06/08 08:37 upstream 5f63595ebd82 7086cdb9 .config console log report info ci-upstream-kasan-gce-root unregister_netdevice: waiting for DEV to become free
2023/06/08 05:28 upstream a27648c74210 7086cdb9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root unregister_netdevice: waiting for DEV to become free
2023/06/07 22:07 upstream a27648c74210 7086cdb9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root unregister_netdevice: waiting for DEV to become free
2023/06/03 01:22 upstream 4ecd704a4c51 a4ae4f42 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce unregister_netdevice: waiting for DEV to become free
2023/06/02 01:14 upstream 1874a42a7d74 a4ae4f42 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce unregister_netdevice: waiting for DEV to become free
2023/06/01 13:15 upstream 929ed21dfdb6 babc4389 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root unregister_netdevice: waiting for DEV to become free
2023/06/01 09:43 upstream 929ed21dfdb6 babc4389 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root unregister_netdevice: waiting for DEV to become free
2023/05/31 01:46 upstream afead42fdfca 09898419 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream unregister_netdevice: waiting for DEV to become free
2023/05/31 00:07 upstream afead42fdfca 09898419 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root unregister_netdevice: waiting for DEV to become free
2023/05/30 13:59 upstream 8b817fded42d 8d5c7541 .config console log report info ci-upstream-kasan-gce unregister_netdevice: waiting for DEV to become free
2023/05/29 11:08 upstream e338142b39cf cf184559 .config console log report info ci-qemu-upstream unregister_netdevice: waiting for DEV to become free
2023/05/18 04:32 upstream 1b66c114d161 3bb7af1d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root unregister_netdevice: waiting for DEV to become free
2023/05/16 14:35 upstream f1fcbaa18b28 11c89444 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce unregister_netdevice: waiting for DEV to become free
2023/05/13 17:28 upstream 9a48d6046722 2b9ba477 .config console log report info ci-upstream-kasan-gce unregister_netdevice: waiting for DEV to become free
2023/05/11 09:57 upstream 80e62bc8487b 0fbd49f4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root unregister_netdevice: waiting for DEV to become free
2023/04/29 03:38 upstream 22b8cc3e78f5 62df2017 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root unregister_netdevice: waiting for DEV to become free
2023/06/04 09:46 upstream e5282a7d8f6b a4ae4f42 .config console log report info ci-upstream-kasan-gce-386 unregister_netdevice: waiting for DEV to become free
2023/04/28 05:09 upstream 33afd4b76393 70a605de .config console log report info ci-qemu-upstream-386 unregister_netdevice: waiting for DEV to become free
2023/04/06 06:19 upstream 99ddf2254feb 8b834965 .config console log report info ci-qemu2-arm64-mte unregister_netdevice: waiting for DEV to become free
2023/02/13 22:38 upstream b408817d4884 93ae7e0a .config console log report info ci-qemu2-arm32 unregister_netdevice: waiting for DEV to become free
2022/09/11 15:37 upstream b96fbd602d35 356d8217 .config console log report info ci-qemu2-arm64 unregister_netdevice: waiting for DEV to become free
2022/03/08 16:16 upstream ea4424be1688 9e8eaa75 .config console log report info ci-qemu-upstream-386 unregister_netdevice: waiting for DEV to become free
2023/06/07 07:28 net f6ca5baf2a86 a4ae4f42 .config console log report info ci-upstream-net-this-kasan-gce unregister_netdevice: waiting for DEV to become free
2023/05/20 12:48 net 67caf26d769e 4bce1a3e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce unregister_netdevice: waiting for DEV to become free
2023/05/08 18:29 net 27c1eaa07283 90c93c40 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce unregister_netdevice: waiting for DEV to become free
2023/05/06 03:29 net 93e0401e0fc0 4cec9341 .config console log report info ci-upstream-net-this-kasan-gce unregister_netdevice: waiting for DEV to become free
2023/05/06 00:30 net 93e0401e0fc0 4cec9341 .config console log report info ci-upstream-net-this-kasan-gce unregister_netdevice: waiting for DEV to become free
2023/05/05 20:09 net 93e0401e0fc0 4cec9341 .config console log report info ci-upstream-net-this-kasan-gce unregister_netdevice: waiting for DEV to become free
2023/05/05 19:00 net 93e0401e0fc0 4cec9341 .config console log report info ci-upstream-net-this-kasan-gce unregister_netdevice: waiting for DEV to become free
2023/02/17 18:46 bpf 92a3f9895236 3e7039f4 .config console log report info ci-upstream-bpf-kasan-gce unregister_netdevice: waiting for DEV to become free
2023/05/28 02:44 net-next 75455b906d82 cf184559 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce unregister_netdevice: waiting for DEV to become free
2023/05/27 20:21 net-next 75455b906d82 cf184559 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce unregister_netdevice: waiting for DEV to become free
2023/05/27 10:07 net-next 75455b906d82 cf184559 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce unregister_netdevice: waiting for DEV to become free
2023/05/21 01:54 net-next dcbe4ea1985d 4bce1a3e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce unregister_netdevice: waiting for DEV to become free
2023/05/20 08:04 net-next 20d5e0ef252a 96689200 .config console log report info ci-upstream-net-kasan-gce unregister_netdevice: waiting for DEV to become free
2023/05/18 08:30 net-next af2eab1a8243 3bb7af1d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce unregister_netdevice: waiting for DEV to become free
2023/05/14 18:24 net-next befcc1fce564 2b9ba477 .config console log report info ci-upstream-net-kasan-gce unregister_netdevice: waiting for DEV to become free
2023/05/06 02:04 net-next cb9e6e584d58 4cec9341 .config console log report info ci-upstream-net-kasan-gce unregister_netdevice: waiting for DEV to become free
2023/05/05 23:10 net-next cb9e6e584d58 4cec9341 .config console log report info ci-upstream-net-kasan-gce unregister_netdevice: waiting for DEV to become free
2023/05/05 21:43 net-next cb9e6e584d58 4cec9341 .config console log report info ci-upstream-net-kasan-gce unregister_netdevice: waiting for DEV to become free
2023/05/05 15:38 net-next cb9e6e584d58 518a39a6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce unregister_netdevice: waiting for DEV to become free
2023/05/05 13:36 net-next d7385ba13771 518a39a6 .config console log report info ci-upstream-net-kasan-gce unregister_netdevice: waiting for DEV to become free
2023/05/05 12:29 net-next d7385ba13771 518a39a6 .config console log report info ci-upstream-net-kasan-gce unregister_netdevice: waiting for DEV to become free
2023/02/21 00:27 bpf-next 168de0233586 4f5f5209 .config console log report info ci-upstream-bpf-next-kasan-gce unregister_netdevice: waiting for DEV to become free
2023/06/05 16:11 linux-next 715abedee4cd a4ae4f42 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root unregister_netdevice: waiting for DEV to become free
2023/06/08 10:43 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 950b879b7f02 058b3a5a .config console log report info ci-qemu2-riscv64 unregister_netdevice: waiting for DEV to become free
2023/06/03 14:11 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 950b879b7f02 a4ae4f42 .config console log report info ci-qemu2-riscv64 unregister_netdevice: waiting for DEV to become free
2023/06/01 17:59 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci eb0f1697d729 a4ae4f42 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 unregister_netdevice: waiting for DEV to become free
2023/05/30 05:42 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 950b879b7f02 cf184559 .config console log report info ci-qemu2-riscv64 unregister_netdevice: waiting for DEV to become free
2023/05/28 23:44 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 950b879b7f02 cf184559 .config console log report info ci-qemu2-riscv64 unregister_netdevice: waiting for DEV to become free
2023/05/26 05:28 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 950b879b7f02 b40ef614 .config console log report info ci-qemu2-riscv64 unregister_netdevice: waiting for DEV to become free
2023/05/24 20:57 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 950b879b7f02 4bce1a3e .config console log report info ci-qemu2-riscv64 unregister_netdevice: waiting for DEV to become free
2023/05/14 23:01 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 14f8db1c0f9a 2b9ba477 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 unregister_netdevice: waiting for DEV to become free
2023/05/13 03:31 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 14f8db1c0f9a 2b9ba477 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 unregister_netdevice: waiting for DEV to become free
2023/05/12 01:19 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 950b879b7f02 adb9a3cd .config console log report info ci-qemu2-riscv64 unregister_netdevice: waiting for DEV to become free
2023/05/10 21:00 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 14f8db1c0f9a 0fbd49f4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 unregister_netdevice: waiting for DEV to become free
2023/05/08 04:59 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 14f8db1c0f9a 90c93c40 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 unregister_netdevice: waiting for DEV to become free
2023/05/07 14:10 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 950b879b7f02 90c93c40 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 unregister_netdevice: waiting for DEV to become free
2023/05/05 17:28 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 14f8db1c0f9a 4cec9341 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 unregister_netdevice: waiting for DEV to become free
* Struck through repros no longer work on HEAD.