syzbot
kernel BUG in register_netdevice
Status:
premoderation: reported on 2026/07/27 13:16
Reported-by: syzbot+719a5738f3b8c6d40963@syzkaller.appspotmail.com
First crash: 51d, last: 22d
Sample crash report:
------------[ cut here ]------------
kernel BUG at net/core/dev.c:9976!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 2261 Comm: syz.1.462 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
RIP: 0010:register_netdevice+0x138c/0x13a0 net/core/dev.c:9976
Code: ff 44 89 f1 80 e1 07 fe c1 38 c1 0f 8c 45 fd ff ff 4c 89 f7 e8 65 6b ff fd e9 38 fd ff ff e8 7b f3 c4 fd 0f 0b e8 74 f3 c4 fd <0f> 0b e8 6d f3 c4 fd 0f 0b 66 2e 0f 1f 84 00 00 00 00 00 90 55 48
RSP: 0018:ffffc90000cc7880 EFLAGS: 00010287
RAX: ffffffff839fbeac RBX: ffff88811937c000 RCX: 0000000000080000
RDX: ffffc900015ab000 RSI: 000000000000322a RDI: 000000000000322b
RBP: ffffc90000cc7978 R08: ffffffff86ad3567 R09: 1ffffffff0d5a6ac
R10: dffffc0000000000 R11: fffffbfff0d5a6ad R12: 1ffff1102326f89f
R13: dffffc0000000000 R14: 0000000000000003 R15: ffffffff86aca580
FS: 00007f74edaba6c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f7c0dc8e6c8 CR3: 000000011e00d000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
register_netdev+0x3e/0x50 net/core/dev.c:10191
gether_register_netdev+0x7f/0x120 drivers/usb/gadget/function/u_ether.c:881
rndis_bind+0x2a0/0xcc0 drivers/usb/gadget/function/f_rndis.c:709
usb_add_function+0x2c1/0x820 drivers/usb/gadget/composite.c:337
configfs_composite_bind+0xa9c/0x13a0 drivers/usb/gadget/configfs.c:1440
udc_bind_to_driver+0x24e/0x6d0 drivers/usb/gadget/udc/core.c:1573
usb_gadget_probe_driver+0x1fc/0x380 drivers/usb/gadget/udc/core.c:1639
gadget_dev_desc_UDC_store+0x217/0x330 drivers/usb/gadget/configfs.c:321
flush_write_buffer fs/configfs/file.c:251 [inline]
configfs_write_file+0x320/0x3d0 fs/configfs/file.c:283
vfs_write+0x344/0xd70 fs/read_write.c:603
ksys_write+0x14a/0x260 fs/read_write.c:658
__do_sys_write fs/read_write.c:670 [inline]
__se_sys_write fs/read_write.c:667 [inline]
__x64_sys_write+0x7b/0x90 fs/read_write.c:667
do_syscall_64+0x31/0x40 arch/x86/entry/common.c:46
entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7f74ef0610d9
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:00007f74edaba028 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f74ef2e8fa0 RCX: 00007f74ef0610d9
RDX: 000000000000000b RSI: 0000200000000680 RDI: 0000000000000007
RBP: 00007f74ef0f8024 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f74ef2e9038 R14: 00007f74ef2e8fa0 R15: 00007ffc4f570698
Modules linked in:
---[ end trace db2697137f4dc4cf ]---
RIP: 0010:register_netdevice+0x138c/0x13a0 net/core/dev.c:9976
Code: ff 44 89 f1 80 e1 07 fe c1 38 c1 0f 8c 45 fd ff ff 4c 89 f7 e8 65 6b ff fd e9 38 fd ff ff e8 7b f3 c4 fd 0f 0b e8 74 f3 c4 fd <0f> 0b e8 6d f3 c4 fd 0f 0b 66 2e 0f 1f 84 00 00 00 00 00 90 55 48
RSP: 0018:ffffc90000cc7880 EFLAGS: 00010287
RAX: ffffffff839fbeac RBX: ffff88811937c000 RCX: 0000000000080000
RDX: ffffc900015ab000 RSI: 000000000000322a RDI: 000000000000322b
RBP: ffffc90000cc7978 R08: ffffffff86ad3567 R09: 1ffffffff0d5a6ac
R10: dffffc0000000000 R11: fffffbfff0d5a6ad R12: 1ffff1102326f89f
R13: dffffc0000000000 R14: 0000000000000003 R15: ffffffff86aca580
FS: 00007f74edaba6c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f7c0dc8e6c8 CR3: 000000011e00d000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
* Struck through repros no longer work on HEAD.