kernel BUG in register_netdevice

Status: upstream: reported on 2026/08/04 17:51
Reported-by: syzbot+3b5d367b280eca251998@syzkaller.appspotmail.com
First crash: 6h19m, last: 6h19m
Similar bugs (4)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-5-10 kernel BUG in register_netdevice -1 1 8d10h 8d10h 0/2 premoderation: reported on 2026/07/27 13:16
linux-6.1 kernel BUG in register_netdevice -1 1 4d19h 4d19h 0/3 upstream: reported on 2026/07/31 04:57
android-5-15 kernel BUG in register_netdevice -1 2 5d10h 5d13h 0/2 premoderation: reported on 2026/07/30 10:38
upstream kernel BUG in register_netdevice usb prio:low -1 8 22h06m 5d23h 0/29 upstream: reported on 2026/07/30 00:10

Sample crash report:
------------[ cut here ]------------
kernel BUG at net/core/dev.c:10332!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 7296 Comm: syz.8.570 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
RIP: 0010:register_netdevice+0x1706/0x1720 net/core/dev.c:10332
Code: ff 44 89 f1 80 e1 07 fe c1 38 c1 0f 8c 7b fc ff ff 4c 89 f7 e8 5b d9 d5 f9 e9 6e fc ff ff e8 b1 b6 90 f9 0f 0b e8 aa b6 90 f9 <0f> 0b e8 a3 b6 90 f9 0f 0b e8 9c b6 90 f9 41 bd 42 00 00 00 e9 99
RSP: 0018:ffffc90002f178c0 EFLAGS: 00010287
RAX: ffffffff87e84606 RBX: 1ffff920005e2f28 RCX: 0000000000080000
RDX: ffffc9000c959000 RSI: 000000000000014d RDI: 000000000000014e
RBP: ffffc90002f17a10 R08: ffffffff8d44d427 R09: 1ffffffff1a89a84
R10: dffffc0000000000 R11: fffffbfff1a89a85 R12: dffffc0000000000
R13: ffff88807e1d25c0 R14: 0000000000000001 R15: ffff88807e1d2000
FS:  00007f531540b6c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fe4bfe89000 CR3: 000000008743c000 CR4: 00000000003526e0
DR0: ffffffffffffffff DR1: 00000000000001f8 DR2: 0000000000000083
DR3: ffffffffefffff15 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 register_netdev+0x37/0x50 net/core/dev.c:10547
 gphonet_register_netdev drivers/usb/gadget/function/f_phonet.c:726 [inline]
 pn_bind+0x111/0xb10 drivers/usb/gadget/function/f_phonet.c:508
 usb_add_function+0x2d9/0x980 drivers/usb/gadget/composite.c:324
 configfs_composite_bind+0xa02/0xf60 drivers/usb/gadget/configfs.c:1417
 udc_bind_to_driver+0x203/0x5f0 drivers/usb/gadget/udc/core.c:1574
 usb_gadget_probe_driver+0x1fb/0x380 drivers/usb/gadget/udc/core.c:1637
 gadget_dev_desc_UDC_store+0x1ba/0x2e0 drivers/usb/gadget/configfs.c:289
 flush_write_buffer fs/configfs/file.c:207 [inline]
 configfs_write_iter+0x30b/0x400 fs/configfs/file.c:229
 call_write_iter include/linux/fs.h:2173 [inline]
 new_sync_write fs/read_write.c:507 [inline]
 vfs_write+0x748/0xd70 fs/read_write.c:594
 ksys_write+0x153/0x260 fs/read_write.c:647
 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:0x7f53171b3019
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:00007f531540b028 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f531743afa0 RCX: 00007f53171b3019
RDX: 000000000000000b RSI: 00002000000003c0 RDI: 0000000000000004
RBP: 00007f531724a00c R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f531743b038 R14: 00007f531743afa0 R15: 00007ffc2a8f9a48
 </TASK>
Modules linked in:
---[ end trace c9fde47b5c515945 ]---
RIP: 0010:register_netdevice+0x1706/0x1720 net/core/dev.c:10332
Code: ff 44 89 f1 80 e1 07 fe c1 38 c1 0f 8c 7b fc ff ff 4c 89 f7 e8 5b d9 d5 f9 e9 6e fc ff ff e8 b1 b6 90 f9 0f 0b e8 aa b6 90 f9 <0f> 0b e8 a3 b6 90 f9 0f 0b e8 9c b6 90 f9 41 bd 42 00 00 00 e9 99
RSP: 0018:ffffc90002f178c0 EFLAGS: 00010287
RAX: ffffffff87e84606 RBX: 1ffff920005e2f28 RCX: 0000000000080000
RDX: ffffc9000c959000 RSI: 000000000000014d RDI: 000000000000014e
RBP: ffffc90002f17a10 R08: ffffffff8d44d427 R09: 1ffffffff1a89a84
R10: dffffc0000000000 R11: fffffbfff1a89a85 R12: dffffc0000000000
R13: ffff88807e1d25c0 R14: 0000000000000001 R15: ffff88807e1d2000
FS:  00007f531540b6c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f1b4e14f2f8 CR3: 000000008743c000 CR4: 00000000003506f0
DR0: ffffffffffffffff DR1: 00000000000001f8 DR2: 0000000000000083
DR3: ffffffffefffff15 DR6: 00000000ffff0ff0 DR7: 0000000000000400

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/08/04 17:50 linux-5.15.y 6e2fd6534337 d4abbeac .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in register_netdevice
* Struck through repros no longer work on HEAD.