------------[ cut here ]------------ kernel BUG at net/core/dev.c:10148! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 569 Comm: syz.2.18 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/07/2026 RIP: 0010:register_netdevice+0x174f/0x1760 net/core/dev.c:10148 Code: ff 44 89 f1 80 e1 07 fe c1 38 c1 0f 8c 22 fd ff ff 4c 89 f7 e8 32 bf da fd e9 15 fd ff ff e8 48 46 97 fd 0f 0b e8 41 46 97 fd <0f> 0b e8 3a 46 97 fd 0f 0b 0f 1f 84 00 00 00 00 00 55 48 89 e5 41 RSP: 0018:ffffc90000b77600 EFLAGS: 00010293 RAX: ffffffff83d85f8f RBX: ffff88811a8d8000 RCX: ffff88811e9d9100 RDX: 0000000000000000 RSI: 0000000000000003 RDI: 0000000000000000 RBP: ffffc90000b776f8 R08: ffffffff87150187 R09: 1ffffffff0e2a030 R10: dffffc0000000000 R11: fffffbfff0e2a031 R12: ffffffff875d40c0 R13: 1ffff1102351b09b R14: 0000000000000003 R15: dffffc0000000000 FS: 00007ff45be106c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055a2d33e9000 CR3: 0000000109519000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: register_netdev+0x3e/0x50 net/core/dev.c:10371 gether_register_netdev+0x63/0x110 drivers/usb/gadget/function/u_ether.c:886 ecm_bind+0x17f/0x780 drivers/usb/gadget/function/f_ecm.c:712 usb_add_function+0x2cf/0x830 drivers/usb/gadget/composite.c:337 configfs_composite_bind+0xa25/0x1290 drivers/usb/gadget/configfs.c:1409 gadget_bind_driver+0x31c/0x7e0 drivers/usb/gadget/udc/core.c:1651 call_driver_probe drivers/base/dd.c:-1 [inline] really_probe+0x2bf/0x960 drivers/base/dd.c:639 __driver_probe_device+0x1ee/0x2d0 drivers/base/dd.c:805 driver_probe_device+0x54/0x3e0 drivers/base/dd.c:835 __driver_attach+0x411/0x5d0 drivers/base/dd.c:1221 bus_for_each_dev+0x18c/0x200 drivers/base/bus.c:303 driver_attach+0x42/0x50 drivers/base/dd.c:1238 bus_add_driver+0x31f/0x560 drivers/base/bus.c:620 driver_register+0x335/0x440 drivers/base/driver.c:246 usb_gadget_register_driver_owner+0xf8/0x270 drivers/usb/gadget/udc/core.c:1730 gadget_dev_desc_UDC_store+0x1e7/0x310 drivers/usb/gadget/configfs.c:290 flush_write_buffer fs/configfs/file.c:207 [inline] configfs_write_iter+0x323/0x410 fs/configfs/file.c:229 call_write_iter include/linux/fs.h:2265 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x590/0xc40 fs/read_write.c:584 ksys_write+0x14a/0x260 fs/read_write.c:637 __do_sys_write fs/read_write.c:649 [inline] __se_sys_write fs/read_write.c:646 [inline] __x64_sys_write+0x7b/0x90 fs/read_write.c:646 x64_sys_call+0x27b/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:2 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7ff45af9e559 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:00007ff45be10028 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007ff45b225fa0 RCX: 00007ff45af9e559 RDX: 000000000000000b RSI: 0000200000000400 RDI: 0000000000000004 RBP: 00007ff45b035ab8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ff45b226038 R14: 00007ff45b225fa0 R15: 00007ffffa9dbfd8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:register_netdevice+0x174f/0x1760 net/core/dev.c:10148 Code: ff 44 89 f1 80 e1 07 fe c1 38 c1 0f 8c 22 fd ff ff 4c 89 f7 e8 32 bf da fd e9 15 fd ff ff e8 48 46 97 fd 0f 0b e8 41 46 97 fd <0f> 0b e8 3a 46 97 fd 0f 0b 0f 1f 84 00 00 00 00 00 55 48 89 e5 41 RSP: 0018:ffffc90000b77600 EFLAGS: 00010293 RAX: ffffffff83d85f8f RBX: ffff88811a8d8000 RCX: ffff88811e9d9100 RDX: 0000000000000000 RSI: 0000000000000003 RDI: 0000000000000000 RBP: ffffc90000b776f8 R08: ffffffff87150187 R09: 1ffffffff0e2a030 R10: dffffc0000000000 R11: fffffbfff0e2a031 R12: ffffffff875d40c0 R13: 1ffff1102351b09b R14: 0000000000000003 R15: dffffc0000000000 FS: 00007ff45be106c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff45afebc40 CR3: 0000000109519000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400