syzbot


WARNING: ./include/net/netdev_lock.h:LINE at __linkwatch_sync_dev, CPU: kworker/u8:NUM/NUM

Status: upstream: reported C repro on 2025/07/09 21:52
Subsystems: net
[Documentation on labels]
Reported-by: syzbot+9196eb463ddf99a0be6e@syzkaller.appspotmail.com
First crash: 41d, last: 41d
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 (1)
Title Replies (including bot) Last reply
[syzbot] [net?] WARNING: ./include/net/netdev_lock.h:LINE at __linkwatch_sync_dev, CPU: kworker/u8:NUM/NUM 1 (2) 2025/07/09 22:10
Last patch testing requests (2)
Created Duration User Patch Repo Result
2025/07/09 20:56 23m kuniyu@google.com linux-next report log
2025/06/30 23:23 16m retest repro linux-next report log

Sample crash report:
------------[ cut here ]------------
RTNL: assertion failed at ./include/net/netdev_lock.h (72)
WARNING: ./include/net/netdev_lock.h:72 at netdev_ops_assert_locked include/net/netdev_lock.h:72 [inline], CPU#0: kworker/u8:3/49
WARNING: ./include/net/netdev_lock.h:72 at __linkwatch_sync_dev+0x303/0x350 net/core/link_watch.c:279, CPU#0: kworker/u8:3/49
Modules linked in:
CPU: 0 UID: 0 PID: 49 Comm: kworker/u8:3 Not tainted 6.16.0-rc2-next-20250616-syzkaller #0 PREEMPT(full) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/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 5e 7f 66 f8 c6 05 ce 6b 31 06 01 90 48 c7 c7 20 2f 93 8c 48 c7 c6 7a 32 9d 8d ba 48 00 00 00 e8 9e 1d 2a 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:ffffc90000ba7670 EFLAGS: 00010246
RAX: a4c1d8d5a4094c00 RBX: ffff888032708000 RCX: ffff8880222a5a00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000002
RBP: 0000000000000000 R08: 0000000000000003 R09: 0000000000000004
R10: dffffc0000000000 R11: fffffbfff1bfaa14 R12: 1ffff110064e105d
R13: dffffc0000000000 R14: ffffffff8c1c95e8 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff888125c40000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000000300 CR3: 000000007997c000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 ethtool_op_get_link+0x15/0x70 net/ethtool/ioctl.c:63
 bond_check_dev_link+0x444/0x6c0 drivers/net/bonding/bond_main.c:863
 bond_miimon_inspect drivers/net/bonding/bond_main.c:2745 [inline]
 bond_mii_monitor+0x428/0x2e00 drivers/net/bonding/bond_main.c:2967
 process_one_work kernel/workqueue.c:3235 [inline]
 process_scheduled_works+0xade/0x17b0 kernel/workqueue.c:3318
 worker_thread+0x8a0/0xda0 kernel/workqueue.c:3399
 kthread+0x711/0x8a0 kernel/kthread.c:464
 ret_from_fork+0x3fc/0x770 arch/x86/kernel/process.c:148
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
 </TASK>

Crashes (5):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/06/16 23:09 linux-next 050f8ad7b58d d1716036 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING: ./include/net/netdev_lock.h:LINE at __linkwatch_sync_dev, CPU: kworker/u8:NUM/NUM
2025/06/16 11:02 linux-next 050f8ad7b58d 5f4b362d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING: ./include/net/netdev_lock.h:LINE at __linkwatch_sync_dev, CPU: kworker/u8:NUM/NUM
2025/06/16 11:02 linux-next 050f8ad7b58d 5f4b362d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING: ./include/net/netdev_lock.h:LINE at __linkwatch_sync_dev, CPU: kworker/u8:NUM/NUM
2025/06/16 10:53 linux-next 050f8ad7b58d 5f4b362d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING: ./include/net/netdev_lock.h:LINE at __linkwatch_sync_dev, CPU: kworker/u8:NUM/NUM
2025/06/16 10:53 linux-next 050f8ad7b58d 5f4b362d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING: ./include/net/netdev_lock.h:LINE at __linkwatch_sync_dev, CPU: kworker/u8:NUM/NUM
* Struck through repros no longer work on HEAD.