syzbot
kernel BUG in register_netdevice
Status:
upstream: reported on 2026/09/10 15:25
Reported-by: syzbot+32b78c3d5d51b7472066@syzkaller.appspotmail.com
First crash: 5d14h, last: 5d14h
Sample crash report:
------------[ cut here ]------------
kernel BUG at net/core/dev.c:10248!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 14630 Comm: syz.0.2263 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
RIP: 0010:register_netdevice+0x1b80/0x1ba0 net/core/dev.c:10248
Code: ff 44 89 f1 80 e1 07 fe c1 38 c1 0f 8c d0 fb ff ff 4c 89 f7 e8 01 ec 5a f9 e9 c3 fb ff ff e8 b7 6a 02 f9 0f 0b e8 b0 6a 02 f9 <0f> 0b e8 a9 6a 02 f9 0f 0b e8 a2 6a 02 f9 41 be 42 00 00 00 e9 09
RSP: 0018:ffffc90005467620 EFLAGS: 00010283
RAX: ffffffff888517c0 RBX: dffffc0000000000 RCX: 0000000000080000
RDX: ffffc9000db8d000 RSI: 000000000000290f RDI: 0000000000002910
RBP: ffffc900054677b8 R08: ffffffff8e3d74e7 R09: 1ffffffff1c7ae9c
R10: dffffc0000000000 R11: fffffbfff1c7ae9d R12: 1ffff92000a8ced8
R13: ffff88807f46a000 R14: ffff88807e481dc0 R15: 0000000000000001
FS: 00007fa3742206c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f632175da08 CR3: 000000001eb71000 CR4: 00000000003506e0
Call Trace:
<TASK>
register_netdev+0x3b/0x50 net/core/dev.c:10474
gphonet_register_netdev drivers/usb/gadget/function/f_phonet.c:727 [inline]
pn_bind+0x115/0xb10 drivers/usb/gadget/function/f_phonet.c:511
usb_add_function+0x2dd/0x980 drivers/usb/gadget/composite.c:333
configfs_composite_bind+0xde4/0x13f0 drivers/usb/gadget/configfs.c:1800
gadget_bind_driver+0x2b3/0x770 drivers/usb/gadget/udc/core.c:1651
call_driver_probe drivers/base/dd.c:-1 [inline]
really_probe+0x247/0xae0 drivers/base/dd.c:717
__driver_probe_device+0x1f5/0x390 drivers/base/dd.c:879
driver_probe_device+0x4f/0x420 drivers/base/dd.c:909
__driver_attach+0x444/0x6d0 drivers/base/dd.c:1295
bus_for_each_dev+0x235/0x2b0 drivers/base/bus.c:370
bus_add_driver+0x340/0x630 drivers/base/bus.c:723
driver_register+0x23a/0x310 drivers/base/driver.c:246
usb_gadget_register_driver_owner+0xf9/0x270 drivers/usb/gadget/udc/core.c:1730
gadget_dev_desc_UDC_store+0x1c7/0x2e0 drivers/usb/gadget/configfs.c:300
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:2018 [inline]
new_sync_write fs/read_write.c:491 [inline]
vfs_write+0x474/0x9a0 fs/read_write.c:584
ksys_write+0x151/0x260 fs/read_write.c:637
do_syscall_x64 arch/x86/entry/common.c:46 [inline]
do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:76
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fa37339e159
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:00007fa374220028 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007fa373626090 RCX: 00007fa37339e159
RDX: 000000000000000c RSI: 0000200000000480 RDI: 0000000000000008
RBP: 00007fa37343503b R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fa373626128 R14: 00007fa373626090 R15: 00007ffc2e951a28
</TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:register_netdevice+0x1b80/0x1ba0 net/core/dev.c:10248
Code: ff 44 89 f1 80 e1 07 fe c1 38 c1 0f 8c d0 fb ff ff 4c 89 f7 e8 01 ec 5a f9 e9 c3 fb ff ff e8 b7 6a 02 f9 0f 0b e8 b0 6a 02 f9 <0f> 0b e8 a9 6a 02 f9 0f 0b e8 a2 6a 02 f9 41 be 42 00 00 00 e9 09
RSP: 0018:ffffc90005467620 EFLAGS: 00010283
RAX: ffffffff888517c0 RBX: dffffc0000000000 RCX: 0000000000080000
RDX: ffffc9000db8d000 RSI: 000000000000290f RDI: 0000000000002910
RBP: ffffc900054677b8 R08: ffffffff8e3d74e7 R09: 1ffffffff1c7ae9c
R10: dffffc0000000000 R11: fffffbfff1c7ae9d R12: 1ffff92000a8ced8
R13: ffff88807f46a000 R14: ffff88807e481dc0 R15: 0000000000000001
FS: 00007fa3742206c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f632175da08 CR3: 000000001eb71000 CR4: 00000000003506e0
* Struck through repros no longer work on HEAD.