syzbot


unregister_netdevice: waiting for DEV to become free (8)

Status: upstream: reported C repro on 2023/06/10 01:34
Subsystems: net
[Documentation on labels]
Reported-by: syzbot+881d65229ca4f9ae8c84@syzkaller.appspotmail.com
First crash: 312d, last: 14m
Cause bisection: introduced by (bisect log) :
commit ad2f99aedf8fa77f3ae647153284fa63c43d3055
Author: Arnd Bergmann <arnd@arndb.de>
Date: Tue Jul 27 13:45:16 2021 +0000

  net: bridge: move bridge ioctls out of .ndo_do_ioctl

Crash: possible deadlock in br_del_bridge (log)
Repro: C syz .config
  
Discussions (8)
Title Replies (including bot) Last reply
[syzbot] Monthly net report (Mar 2024) 0 (1) 2024/03/29 18:37
[syzbot] Monthly net report (Feb 2024) 0 (1) 2024/02/27 09:32
[PATCH] net: bridge: Fix refcnt issues in dev_ioctl 6 (6) 2024/02/12 15:28
[syzbot] Monthly net report (Jan 2024) 0 (1) 2024/01/26 21:54
[PATCH] can: j1939: prevent deadlock by changing j1939_socks_lock to rwlock 6 (7) 2023/11/17 08:10
Re: [PATCH] can: j1939: prevent deadlock by changing j1939_socks_lock to rwlock 3 (3) 2023/07/05 04:50
[PATCH] can: j1939: prevent deadlock by changing j1939_socks_lock to rwlock 1 (1) 2023/06/26 05:50
[syzbot] [net?] unregister_netdevice: waiting for DEV to become free (8) 2 (3) 2023/06/21 08:46
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 1461d 1522d 15/26 fixed on 2020/04/15 17:19
upstream unregister_netdevice: waiting for DEV to become free (6) C error 13128 769d 888d 20/26 fixed on 2022/03/08 16:11
upstream unregister_netdevice: waiting for DEV to become free C 170521 2077d 2188d 8/26 fixed on 2018/08/08 18:10
linux-4.14 unregister_netdevice: waiting for DEV to become free C done 120 1384d 1823d 1/1 fixed on 2020/08/02 06:53
linux-5.15 unregister_netdevice: waiting for DEV to become free origin:upstream C 931 16h08m 405d 0/3 upstream: reported C repro on 2023/03/07 22:57
android-49 unregister_netdevice: waiting for DEV to become free C 52164 1604d 1831d 0/3 public: reported C repro on 2019/04/11 08:44
android-44 unregister_netdevice: waiting for DEV to become free C 4307 1666d 1831d 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 405d 1341d 0/1 upstream: reported C repro on 2020/08/13 09:52
android-414 unregister_netdevice: waiting for DEV to become free 1231 1607d 1830d 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 1133d 1335d 19/26 fixed on 2021/03/10 01:48
linux-6.1 unregister_netdevice: waiting for DEV to become free missing-backport origin:upstream C inconclusive 411 2d01h 405d 0/3 upstream: reported C repro on 2023/03/07 18:05
upstream unregister_netdevice: waiting for DEV to become free (2) C done 385621 1523d 2070d 15/26 fixed on 2020/02/14 01:19
linux-4.19 unregister_netdevice: waiting for DEV to become free C 5316 405d 1832d 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 888d 1133d 20/26 fixed on 2021/11/10 00:50
upstream unregister_netdevice: waiting for DEV to become free (7) C inconclusive 20422 312d 514d 22/26 fixed on 2023/06/08 14:41
Last patch testing requests (1)
Created Duration User Patch Repo Result
2023/08/19 06:56 22m astrajoan@yahoo.com patch https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master OK log

Sample crash report:
unregister_netdevice: waiting for Q to become free. Usage count = 2
ref_tracker: Q@ffff88802ce4c620 has 1/1 users at
     __netdev_tracker_alloc include/linux/netdevice.h:4064 [inline]
     netdev_hold include/linux/netdevice.h:4093 [inline]
     dev_ifsioc+0x91c/0x10b0 net/core/dev_ioctl.c:590
     dev_ioctl+0x224/0x10a0 net/core/dev_ioctl.c:787
     sock_do_ioctl+0x19e/0x280 net/socket.c:1236
     sock_ioctl+0x22e/0x6c0 net/socket.c:1341
     vfs_ioctl fs/ioctl.c:51 [inline]
     __do_sys_ioctl fs/ioctl.c:904 [inline]
     __se_sys_ioctl fs/ioctl.c:890 [inline]
     __x64_sys_ioctl+0x196/0x220 fs/ioctl.c:890
     do_syscall_x64 arch/x86/entry/common.c:52 [inline]
     do_syscall_64+0xd5/0x260 arch/x86/entry/common.c:83
     entry_SYSCALL_64_after_hwframe+0x6d/0x75


Crashes (1063):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/04/01 02:35 upstream fe46a7dd189e 6baf5069 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root unregister_netdevice: waiting for DEV to become free
2024/04/14 13:11 upstream 7efd0a74039f c8349e48 .config console log report syz C [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream unregister_netdevice: waiting for DEV to become free
2023/07/31 16:12 upstream 5d0c230f1de8 2a0d0f29 .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root unregister_netdevice: waiting for DEV to become free
2023/06/18 11:06 upstream 1b29d271614a f3921d4d .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce unregister_netdevice: waiting for DEV to become free
2024/03/20 04:44 net 32fa4366cc4d a485f239 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce unregister_netdevice: waiting for DEV to become free
2024/01/26 13:56 bpf 0a5bd0ffe790 cc4a4020 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-bpf-kasan-gce unregister_netdevice: waiting for DEV to become free
2023/11/20 20:27 net 938dbead34cd cb976f63 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce unregister_netdevice: waiting for DEV to become free
2023/06/09 18:28 bpf f57ade27fc3e 7086cdb9 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-bpf-kasan-gce unregister_netdevice: waiting for DEV to become free
2024/03/20 00:14 net-next 237bb5f7f7f5 a485f239 .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce unregister_netdevice: waiting for DEV to become free
2024/01/26 13:55 bpf-next be4840b33eb2 cc4a4020 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce unregister_netdevice: waiting for DEV to become free
2023/11/20 22:41 net-next 94c81c626689 cb976f63 .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/06/09 14:15 bpf-next 67faabbde36b 7086cdb9 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce unregister_netdevice: waiting for DEV to become free
2024/03/19 23:35 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 707081b61156 a485f239 .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 unregister_netdevice: waiting for DEV to become free
2023/11/20 13:22 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 8de1e7afcc1c cb976f63 .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 unregister_netdevice: waiting for DEV to become free
2024/04/14 10:46 upstream fe46a7dd189e c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root unregister_netdevice: waiting for DEV to become free
2024/04/13 16:03 upstream fe46a7dd189e c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root unregister_netdevice: waiting for DEV to become free
2024/04/13 08:23 upstream fe46a7dd189e c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root unregister_netdevice: waiting for DEV to become free
2024/04/12 19:32 upstream 480e035fc4c7 27de0a5c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce unregister_netdevice: waiting for DEV to become free
2024/04/12 18:00 upstream fe46a7dd189e 27de0a5c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root unregister_netdevice: waiting for DEV to become free
2024/04/12 16:45 upstream 480e035fc4c7 27de0a5c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce unregister_netdevice: waiting for DEV to become free
2024/04/04 06:56 upstream fe46a7dd189e 51c4dcff .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root unregister_netdevice: waiting for DEV to become free
2024/04/02 17:24 upstream fe46a7dd189e 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root unregister_netdevice: waiting for DEV to become free
2024/04/01 01:44 upstream fe46a7dd189e 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root unregister_netdevice: waiting for DEV to become free
2024/03/10 07:22 upstream 005f6f34bd47 6ee49f2e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 unregister_netdevice: waiting for DEV to become free
2024/04/11 12:14 upstream e8c39d0f57f3 3023abf0 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64 unregister_netdevice: waiting for DEV to become free
2024/03/01 04:10 upstream 87adedeba51a 352ab904 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte unregister_netdevice: waiting for DEV to become free
2024/02/23 20:20 upstream b6d69282db55 8d446f15 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 unregister_netdevice: waiting for DEV to become free
2024/01/02 18:46 upstream 610a9b8f49fb fb427a07 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-compat unregister_netdevice: waiting for DEV to become free
2024/04/16 01:46 net f99c5f563c17 0d592ce4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce unregister_netdevice: waiting for DEV to become free
2024/04/15 12:54 net f99c5f563c17 c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce unregister_netdevice: waiting for DEV to become free
2024/04/15 10:43 net f99c5f563c17 c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce unregister_netdevice: waiting for DEV to become free
2024/04/15 07:06 net f99c5f563c17 c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce unregister_netdevice: waiting for DEV to become free
2024/04/15 05:31 net f99c5f563c17 c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce unregister_netdevice: waiting for DEV to become free
2024/04/14 18:33 net f99c5f563c17 c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce unregister_netdevice: waiting for DEV to become free
2024/04/14 17:27 net f99c5f563c17 c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce unregister_netdevice: waiting for DEV to become free
2024/04/14 12:43 net f99c5f563c17 c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce unregister_netdevice: waiting for DEV to become free
2024/04/14 11:14 net f99c5f563c17 c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce unregister_netdevice: waiting for DEV to become free
2024/04/14 06:27 net f99c5f563c17 c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce unregister_netdevice: waiting for DEV to become free
2024/04/14 04:43 net f99c5f563c17 c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce unregister_netdevice: waiting for DEV to become free
2024/04/14 00:21 net f99c5f563c17 c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce unregister_netdevice: waiting for DEV to become free
2024/04/13 18:47 net f99c5f563c17 c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce unregister_netdevice: waiting for DEV to become free
2024/04/13 17:42 net f99c5f563c17 c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce unregister_netdevice: waiting for DEV to become free
2024/04/13 11:03 net f99c5f563c17 c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce unregister_netdevice: waiting for DEV to become free
2024/04/13 09:55 net f99c5f563c17 c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce unregister_netdevice: waiting for DEV to become free
2024/04/13 08:07 net f99c5f563c17 c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce unregister_netdevice: waiting for DEV to become free
2024/04/13 05:38 net f99c5f563c17 c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce unregister_netdevice: waiting for DEV to become free
2024/04/13 04:33 net f99c5f563c17 c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce unregister_netdevice: waiting for DEV to become free
2024/04/13 03:08 net f99c5f563c17 c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce unregister_netdevice: waiting for DEV to become free
2024/04/12 21:24 net f99c5f563c17 27de0a5c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce unregister_netdevice: waiting for DEV to become free
2024/04/12 11:31 net f99c5f563c17 27de0a5c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce unregister_netdevice: waiting for DEV to become free
2024/04/12 10:46 net f99c5f563c17 27de0a5c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce unregister_netdevice: waiting for DEV to become free
2024/04/12 04:59 net f99c5f563c17 478efa7f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce unregister_netdevice: waiting for DEV to become free
2024/03/07 16:20 bpf 2487007aa3b9 2b789849 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-kasan-gce unregister_netdevice: waiting for DEV to become free
2024/03/29 19:57 net-next 237bb5f7f7f5 c52bcb23 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-net-next-test-gce unregister_netdevice: waiting for DEV to become free
2024/03/29 02:39 net-next 237bb5f7f7f5 120789fd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce unregister_netdevice: waiting for DEV to become free
2024/03/08 05:37 bpf-next c7d4274e90a1 cf82cde1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce unregister_netdevice: waiting for DEV to become free
2024/04/16 00:30 linux-next 6bd343537461 0d592ce4 .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
2024/04/16 00:29 linux-next 6bd343537461 0d592ce4 .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
2024/04/15 20:38 linux-next 6bd343537461 0d592ce4 .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
2024/04/15 14:04 linux-next 6bd343537461 c8349e48 .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
2024/04/15 04:11 linux-next 9ed46da14b9b c8349e48 .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
2024/04/15 02:29 linux-next 9ed46da14b9b c8349e48 .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
2024/04/15 01:24 linux-next 9ed46da14b9b c8349e48 .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
2024/04/14 23:28 linux-next 9ed46da14b9b c8349e48 .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
2024/04/14 20:59 linux-next 9ed46da14b9b c8349e48 .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
2024/04/14 19:59 linux-next 9ed46da14b9b c8349e48 .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
2024/04/14 14:17 linux-next 9ed46da14b9b c8349e48 .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
2024/04/14 09:16 linux-next 9ed46da14b9b c8349e48 .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
2024/04/13 22:57 linux-next 9ed46da14b9b c8349e48 .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
2024/04/13 13:04 linux-next 9ed46da14b9b c8349e48 .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
2024/04/13 06:42 linux-next 9ed46da14b9b c8349e48 .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
2024/04/12 13:23 linux-next 4118d9533ff3 27de0a5c .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
2024/04/11 16:41 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci fec50db7033e 478efa7f .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.