syzbot
kernel BUG in register_netdevice
Status:
premoderation: reported syz repro on 2026/10/22 17:30
Reported-by: syzbot+ddae537d3175372e15cc@syzkaller.appspotmail.com
First crash: 8d01h, last: 4d16h
Sample crash report:
------------[ cut here ]------------
kernel BUG at net/core/dev.c:10523!
Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN PTI
CPU: 0 UID: 0 PID: 392 Comm: syz.2.18 Not tainted syzkaller #0 c7db6ca8d812f5bae3d5d94ae814da2ca1a33223
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/07/2026
RIP: 0010:register_netdevice+0x1690/0x1a80 net/core/dev.c:10523
Code: 5b fd e9 8a fb ff ff 89 f9 80 e1 07 38 c1 0f 8c c1 fc ff ff e8 41 6f 5b fd e9 b7 fc ff ff e8 87 e1 01 fd 0f 0b e8 80 e1 01 fd <0f> 0b e8 79 e1 01 fd 0f 0b 48 8d 8b 38 03 00 00 80 e1 07 38 c1 0f
RSP: 0018:ffffc90001acf5e0 EFLAGS: 00010293
RAX: ffffffff848774c0 RBX: ffff88811b99e000 RCX: ffff888119478000
RDX: 0000000000000000 RSI: 0000000000000003 RDI: 0000000000000000
RBP: ffffc90001acf6c8 R08: ffffffff884c77e7 R09: 1ffffffff1098efc
R10: dffffc0000000000 R11: fffffbfff1098efd R12: 1ffff92000359ec8
R13: 1ffff11023733cb3 R14: 0000000000000003 R15: dffffc0000000000
FS: 000055556b441500(0000) GS:ffff8881f6c00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000002e00 CR3: 000000011b9e2000 CR4: 00000000003526b0
Call Trace:
<TASK>
register_netdev+0x42/0x60 net/core/dev.c:10758
gether_register_netdev+0x67/0x120 drivers/usb/gadget/function/u_ether.c:872
ecm_bind+0x225/0x9f0 drivers/usb/gadget/function/f_ecm.c:696
usb_add_function+0x2d7/0x840 drivers/usb/gadget/composite.c:335
configfs_composite_bind+0xeca/0x15f0 drivers/usb/gadget/configfs.c:1808
gadget_bind_driver+0x301/0x9c0 drivers/usb/gadget/udc/core.c:1665
call_driver_probe drivers/base/dd.c:-1 [inline]
really_probe+0x2e1/0x8b0 drivers/base/dd.c:657
__driver_probe_device+0x193/0x280 drivers/base/dd.c:799
driver_probe_device+0x54/0x3f0 drivers/base/dd.c:829
__driver_attach+0x422/0x5e0 drivers/base/dd.c:1215
bus_for_each_dev+0x249/0x2d0 drivers/base/bus.c:370
driver_attach+0x46/0x50 drivers/base/dd.c:1233
bus_add_driver+0x393/0x730 drivers/base/bus.c:682
driver_register+0x2b7/0x3c0 drivers/base/driver.c:246
usb_gadget_register_driver_owner+0xfc/0x270 drivers/usb/gadget/udc/core.c:1755
gadget_dev_desc_UDC_store+0x224/0x350 drivers/usb/gadget/configfs.c:305
flush_write_buffer fs/configfs/file.c:207 [inline]
configfs_write_iter+0x32f/0x490 fs/configfs/file.c:229
new_sync_write fs/read_write.c:591 [inline]
vfs_write+0x75f/0xfd0 fs/read_write.c:684
ksys_write+0x145/0x260 fs/read_write.c:737
__do_sys_write fs/read_write.c:749 [inline]
__se_sys_write fs/read_write.c:746 [inline]
__x64_sys_write+0x7f/0x90 fs/read_write.c:746
x64_sys_call+0x271c/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:2
do_syscall_x64 arch/x86/entry/common.c:47 [inline]
do_syscall_64+0x57/0xf0 arch/x86/entry/common.c:78
entry_SYSCALL_64_after_hwframe+0x76/0x7e
RIP: 0033:0x7f4a8f19f559
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:00007fff03247068 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f4a8f425fa0 RCX: 00007f4a8f19f559
RDX: 000000000000000b RSI: 0000200000002e40 RDI: 0000000000000004
RBP: 00007f4a8f236b20 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f4a8f425fac R14: 00007f4a8f425fa0 R15: 00007f4a8f425fa0
</TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:register_netdevice+0x1690/0x1a80 net/core/dev.c:10523
Code: 5b fd e9 8a fb ff ff 89 f9 80 e1 07 38 c1 0f 8c c1 fc ff ff e8 41 6f 5b fd e9 b7 fc ff ff e8 87 e1 01 fd 0f 0b e8 80 e1 01 fd <0f> 0b e8 79 e1 01 fd 0f 0b 48 8d 8b 38 03 00 00 80 e1 07 38 c1 0f
RSP: 0018:ffffc90001acf5e0 EFLAGS: 00010293
RAX: ffffffff848774c0 RBX: ffff88811b99e000 RCX: ffff888119478000
RDX: 0000000000000000 RSI: 0000000000000003 RDI: 0000000000000000
RBP: ffffc90001acf6c8 R08: ffffffff884c77e7 R09: 1ffffffff1098efc
R10: dffffc0000000000 R11: fffffbfff1098efd R12: 1ffff92000359ec8
R13: 1ffff11023733cb3 R14: 0000000000000003 R15: dffffc0000000000
FS: 000055556b441500(0000) GS:ffff8881f6c00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000002e00 CR3: 000000011b9e2000 CR4: 00000000003526b0
* Struck through repros no longer work on HEAD.