syzbot
kernel BUG in register_netdevice (2)
Status:
premoderation: reported syz repro on 2026/11/05 18:32
Reported-by: syzbot+1215f2880759de3f5e15@syzkaller.appspotmail.com
First crash: 8d19h, last: 1d04h
Sample crash report:
------------[ cut here ]------------
kernel BUG at net/core/dev.c:10341!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 383 Comm: syz.2.18 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026
RIP: 0010:register_netdevice+0x147a/0x1490 net/core/dev.c:10341
Code: ff 44 89 f1 80 e1 07 fe c1 38 c1 0f 8c 57 fd ff ff 4c 89 f7 e8 47 11 e6 fd e9 4a fd ff ff e8 ed 75 a6 fd 0f 0b e8 e6 75 a6 fd <0f> 0b e8 df 75 a6 fd 0f 0b 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00
RSP: 0018:ffffc90003fb7820 EFLAGS: 00010293
RAX: ffffffff83c35fba RBX: ffff88811acfe4e8 RCX: ffff88811b001400
RDX: 0000000000000000 RSI: 0000000000000003 RDI: 0000000000000000
RBP: ffffc90003fb7968 R08: ffffffff86d191a7 R09: 1ffffffff0da3234
R10: dffffc0000000000 R11: fffffbfff0da3235 R12: ffff88811acfe000
R13: dffffc0000000000 R14: 0000000000000003 R15: 1ffff1102359fc9d
FS: 000055555915d500(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000001cb22dae000 CR3: 000000011210e000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
register_netdev+0x3e/0x50 net/core/dev.c:10556
gether_register_netdev+0x7f/0x120 drivers/usb/gadget/function/u_ether.c:882
ecm_bind+0x18c/0x8c0 drivers/usb/gadget/function/f_ecm.c:708
usb_add_function+0x2c1/0x820 drivers/usb/gadget/composite.c:337
configfs_composite_bind+0xa9c/0x13a0 drivers/usb/gadget/configfs.c:1446
udc_bind_to_driver+0x1fb/0x770 drivers/usb/gadget/udc/core.c:1562
usb_gadget_probe_driver+0x1fc/0x380 drivers/usb/gadget/udc/core.c:1640
gadget_dev_desc_UDC_store+0x217/0x330 drivers/usb/gadget/configfs.c:321
flush_write_buffer fs/configfs/file.c:207 [inline]
configfs_write_iter+0x312/0x400 fs/configfs/file.c:229
call_write_iter include/linux/fs.h:2218 [inline]
new_sync_write fs/read_write.c:507 [inline]
vfs_write+0x831/0xfd0 fs/read_write.c:594
ksys_write+0x14a/0x260 fs/read_write.c:647
__do_sys_write fs/read_write.c:659 [inline]
__se_sys_write fs/read_write.c:656 [inline]
__x64_sys_write+0x7b/0x90 fs/read_write.c:656
x64_sys_call+0x8ef/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:2
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7fc83780e4d9
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 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 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffca7c03088 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007fc837a8afa0 RCX: 00007fc83780e4d9
RDX: 000000000000000b RSI: 0000200000000400 RDI: 0000000000000004
RBP: 00007fc83789d04e R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fc837a8afac R14: 00007fc837a8afa0 R15: 00007fc837a8afa0
</TASK>
Modules linked in:
---[ end trace 4983f98346422138 ]---
RIP: 0010:register_netdevice+0x147a/0x1490 net/core/dev.c:10341
Code: ff 44 89 f1 80 e1 07 fe c1 38 c1 0f 8c 57 fd ff ff 4c 89 f7 e8 47 11 e6 fd e9 4a fd ff ff e8 ed 75 a6 fd 0f 0b e8 e6 75 a6 fd <0f> 0b e8 df 75 a6 fd 0f 0b 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00
RSP: 0018:ffffc90003fb7820 EFLAGS: 00010293
RAX: ffffffff83c35fba RBX: ffff88811acfe4e8 RCX: ffff88811b001400
RDX: 0000000000000000 RSI: 0000000000000003 RDI: 0000000000000000
RBP: ffffc90003fb7968 R08: ffffffff86d191a7 R09: 1ffffffff0da3234
R10: dffffc0000000000 R11: fffffbfff0da3235 R12: ffff88811acfe000
R13: dffffc0000000000 R14: 0000000000000003 R15: 1ffff1102359fc9d
FS: 000055555915d500(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fc8376d2751 CR3: 000000011210e000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
* Struck through repros no longer work on HEAD.