syzbot


WARNING in __linkwatch_sync_dev (2)

Status: fixed on 2025/10/29 21:02
Subsystems: net
[Documentation on labels]
Reported-by: syzbot+b8c48ea38ca27d150063@syzkaller.appspotmail.com
Fix commit: 23a6037ce76c bonding: Remove support for use_carrier
First crash: 145d, last: 17d
Cause bisection: introduced by (bisect log) :
commit 04efcee6ef8d0f01eef495db047e7216d6e6e38f
Author: Stanislav Fomichev <sdf@fomichev.me>
Date: Fri Apr 4 16:11:22 2025 +0000

  net: hold instance lock during NETDEV_CHANGE

Crash: WARNING in __linkwatch_sync_dev (log)
Repro: C syz .config
  
Discussions (4)
Title Replies (including bot) Last reply
Re: [PATCH net-next] bonding: Remove support for use_carrier 5 (5) 2025/09/03 09:50
[PATCH net-next] bonding: Remove support for use_carrier = 0 9 (9) 2025/08/04 15:53
[syzbot] [net?] WARNING in __linkwatch_sync_dev (2) 4 (9) 2025/08/02 23:28
[PATCH net] bonding: switch bond_miimon_inspect to rtnl lock 4 (4) 2025/06/16 23:21
Similar bugs (1)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in __linkwatch_sync_dev net -1 C done 1038 145d 209d 28/29 fixed on 2025/06/10 16:19
Last patch testing requests (2)
Created Duration User Patch Repo Result
2025/08/02 23:09 17m hdanton@sina.com patch upstream OK log
2025/06/16 15:54 12m stfomichev@gmail.com patch upstream report log

Sample crash report:
------------[ cut here ]------------
RTNL: assertion failed at ./include/net/netdev_lock.h (72)
WARNING: CPU: 0 PID: 36 at ./include/net/netdev_lock.h:72 netdev_ops_assert_locked include/net/netdev_lock.h:72 [inline]
WARNING: CPU: 0 PID: 36 at ./include/net/netdev_lock.h:72 __linkwatch_sync_dev+0x303/0x350 net/core/link_watch.c:279
Modules linked in:
CPU: 0 UID: 0 PID: 36 Comm: kworker/u8:2 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/2025
Workqueue: bond0 bond_mii_monitor
RIP: 0010:netdev_ops_assert_locked include/net/netdev_lock.h:72 [inline]
RIP: 0010:__linkwatch_sync_dev+0x303/0x350 net/core/link_watch.c:279
Code: 7c fe ff ff e8 8e a3 53 f8 c6 05 ba 84 21 06 01 90 48 c7 c7 e0 d2 94 8c 48 c7 c6 03 11 a0 8d ba 48 00 00 00 e8 6e 40 17 f8 90 <0f> 0b 90 90 e9 4d fe ff ff 44 89 f1 80 e1 07 38 c1 0f 8c 22 fd ff
RSP: 0018:ffffc90000ac7670 EFLAGS: 00010246
RAX: 2641dd87e7d38e00 RBX: ffff88802b458000 RCX: ffff88801d6f5a00
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000002
RBP: 0000000000000000 R08: 0000000000000003 R09: 0000000000000004
R10: dffffc0000000000 R11: fffffbfff1bfa22c R12: 1ffff1100568b05d
R13: dffffc0000000000 R14: ffffffff8c1cff48 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff888125c15000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c00003e720 CR3: 000000000df36000 CR4: 00000000003526f0
Call Trace:
 <TASK>
 ethtool_op_get_link+0x15/0x70 net/ethtool/ioctl.c:63
 bond_check_dev_link+0x447/0x6c0 drivers/net/bonding/bond_main.c:865
 bond_miimon_inspect drivers/net/bonding/bond_main.c:2762 [inline]
 bond_mii_monitor+0x428/0x2e00 drivers/net/bonding/bond_main.c:2984
 process_one_work kernel/workqueue.c:3236 [inline]
 process_scheduled_works+0xae1/0x17b0 kernel/workqueue.c:3319
 worker_thread+0x8a0/0xda0 kernel/workqueue.c:3400
 kthread+0x70e/0x8a0 kernel/kthread.c:463
 ret_from_fork+0x436/0x7d0 arch/x86/kernel/process.c:148
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
 </TASK>

Crashes (952):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/09/15 22:42 upstream f83ec76bf285 e2beed91 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in __linkwatch_sync_dev
2025/08/26 06:23 upstream b6add54ba618 bf27483f .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in __linkwatch_sync_dev
2025/06/13 20:29 upstream 27605c8c0f69 0e8da31f .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in __linkwatch_sync_dev
2025/07/29 13:06 net afd8c2c9e2e2 c4a95487 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __linkwatch_sync_dev
2025/07/26 01:46 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 82af5ea7c611 fb8f743d .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in __linkwatch_sync_dev
2025/07/12 15:00 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci ec4801305969 3cda49cf .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in __linkwatch_sync_dev
2025/07/02 20:11 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 3c795c3404e8 0cd59a8f .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in __linkwatch_sync_dev
2025/09/29 07:46 upstream 8f9736633f8c 001c9061 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in __linkwatch_sync_dev
2025/09/29 05:38 upstream 8f9736633f8c 001c9061 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root WARNING in __linkwatch_sync_dev
2025/09/29 02:42 upstream 8f9736633f8c 001c9061 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in __linkwatch_sync_dev
2025/09/29 00:33 upstream 8f9736633f8c 001c9061 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in __linkwatch_sync_dev
2025/09/29 00:33 upstream 8f9736633f8c 001c9061 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in __linkwatch_sync_dev
2025/09/27 13:33 upstream fec734e8d564 001c9061 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in __linkwatch_sync_dev
2025/09/22 21:49 upstream 32d27cf535ea 0ac7291c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in __linkwatch_sync_dev
2025/09/22 20:47 upstream 07e27ad16399 0ac7291c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in __linkwatch_sync_dev
2025/09/21 17:58 upstream f975f08c2e89 67c37560 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root WARNING in __linkwatch_sync_dev
2025/09/21 15:00 upstream f975f08c2e89 67c37560 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in __linkwatch_sync_dev
2025/09/25 22:33 upstream bf40f4b87761 0abd0691 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 WARNING in __linkwatch_sync_dev
2025/09/25 10:31 upstream 4ea5af085908 0abd0691 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 WARNING in __linkwatch_sync_dev
2025/09/25 05:21 upstream 4ea5af085908 0abd0691 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 WARNING in __linkwatch_sync_dev
2025/10/03 05:49 upstream f79e772258df 49379ee0 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in __linkwatch_sync_dev
2025/10/03 00:19 upstream f79e772258df 49379ee0 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in __linkwatch_sync_dev
2025/10/01 21:31 upstream 50c19e20ed2e 3af39644 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in __linkwatch_sync_dev
2025/10/01 05:11 upstream 4b81e2eb9e4d 65a0eece .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in __linkwatch_sync_dev
2025/10/01 02:58 upstream 4b81e2eb9e4d 65a0eece .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in __linkwatch_sync_dev
2025/09/30 23:04 upstream 30d4efb2f5a5 65a0eece .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in __linkwatch_sync_dev
2025/09/30 21:39 upstream 30d4efb2f5a5 65a0eece .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in __linkwatch_sync_dev
2025/09/30 07:42 upstream 449c2b302c8e 86341da6 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in __linkwatch_sync_dev
2025/09/30 07:13 upstream 449c2b302c8e 86341da6 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in __linkwatch_sync_dev
2025/09/30 06:04 upstream 449c2b302c8e 86341da6 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in __linkwatch_sync_dev
2025/09/29 23:36 upstream 449c2b302c8e 86341da6 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in __linkwatch_sync_dev
2025/09/29 14:30 upstream e5f0a698b34e 86341da6 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in __linkwatch_sync_dev
2025/09/28 23:23 upstream 8f9736633f8c 001c9061 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in __linkwatch_sync_dev
2025/09/27 01:56 upstream 083fc6d7fa0d 001c9061 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in __linkwatch_sync_dev
2025/09/26 21:46 upstream 083fc6d7fa0d 001c9061 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in __linkwatch_sync_dev
2025/09/24 20:15 upstream 4ea5af085908 0abd0691 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in __linkwatch_sync_dev
2025/09/24 16:05 upstream cec1e6e5d1ab 0abd0691 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in __linkwatch_sync_dev
2025/09/24 10:44 upstream cec1e6e5d1ab 0abd0691 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in __linkwatch_sync_dev
2025/09/24 08:22 upstream cec1e6e5d1ab 0abd0691 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in __linkwatch_sync_dev
2025/09/23 16:54 upstream cec1e6e5d1ab e667a34f .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in __linkwatch_sync_dev
2025/09/23 00:18 upstream cec1e6e5d1ab 0ac7291c .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in __linkwatch_sync_dev
2025/09/22 04:56 upstream 07e27ad16399 67c37560 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in __linkwatch_sync_dev
2025/09/22 02:00 upstream f975f08c2e89 67c37560 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in __linkwatch_sync_dev
2025/09/22 00:45 upstream f975f08c2e89 67c37560 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in __linkwatch_sync_dev
2025/09/21 13:29 upstream 3b08f56fbbb9 67c37560 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in __linkwatch_sync_dev
2025/09/21 10:31 upstream 3b08f56fbbb9 67c37560 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in __linkwatch_sync_dev
2025/09/20 04:45 upstream 1522b530ac3e 67c37560 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in __linkwatch_sync_dev
2025/09/19 23:52 upstream 1522b530ac3e 67c37560 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in __linkwatch_sync_dev
2025/09/19 22:31 upstream 097a6c336d00 67c37560 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in __linkwatch_sync_dev
2025/09/19 10:04 upstream 097a6c336d00 67c37560 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in __linkwatch_sync_dev
2025/09/19 07:15 upstream cbf658dd0941 e2beed91 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in __linkwatch_sync_dev
2025/09/19 04:22 upstream cbf658dd0941 e2beed91 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in __linkwatch_sync_dev
2025/09/18 22:12 upstream cbf658dd0941 e2beed91 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in __linkwatch_sync_dev
2025/09/18 22:12 upstream cbf658dd0941 e2beed91 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in __linkwatch_sync_dev
2025/07/08 22:45 upstream d006330be3f7 4d9fdfa4 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in __linkwatch_sync_dev
2025/06/10 22:16 upstream f09079bd04a9 5d7e17ca .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in __linkwatch_sync_dev
2025/06/10 19:38 upstream f09079bd04a9 5d7e17ca .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in __linkwatch_sync_dev
2025/09/23 08:13 upstream cec1e6e5d1ab 0ac7291c .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte WARNING in __linkwatch_sync_dev
2025/07/28 15:43 upstream 038d61fd6422 032c6886 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in __linkwatch_sync_dev
2025/07/11 16:43 upstream bc9ff192a6c9 3cda49cf .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64 WARNING in __linkwatch_sync_dev
2025/06/28 08:42 upstream 35e261cd95dd fc9d8ee5 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 WARNING in __linkwatch_sync_dev
2025/09/22 20:49 net 3491bb7dae5c 0ac7291c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __linkwatch_sync_dev
2025/08/24 08:39 net-next b1c92cdf5af3 bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in __linkwatch_sync_dev
2025/08/26 03:10 linux-next 7fa4d8dc380f bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in __linkwatch_sync_dev
2025/10/16 15:39 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bf45a62baffc 19568248 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in __linkwatch_sync_dev
2025/10/09 19:01 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bf45a62baffc 7e2882b3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in __linkwatch_sync_dev
2025/09/24 04:22 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci b785b0878b01 0abd0691 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in __linkwatch_sync_dev
* Struck through repros no longer work on HEAD.