syzbot
kernel BUG in lookup_or_create_module_kobject
Status:
premoderation: reported on 2026/08/07 11:15
Reported-by: syzbot+048de8eef9816ce6a2f5@syzkaller.appspotmail.com
First crash: 2d12h, last: 2d12h
Sample crash report:
RAX: ffffffffffffffda RBX: 00007f0e0d025fa0 RCX: 00007f0e0cd9e0d9
RDX: 000000000000000b RSI: 0000200000000700 RDI: 0000000000000004
RBP: 00007f0e0db9b090 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002
R13: 00007f0e0d026038 R14: 00007f0e0d025fa0 R15: 00007fff709cd288
</TASK>
------------[ cut here ]------------
kernel BUG at kernel/params.c:763!
Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN PTI
CPU: 1 UID: 0 PID: 2631 Comm: syz.0.890 Not tainted syzkaller #0 28dc4f15f82f041c91cead1444746a7bfe1433af
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
RIP: 0010:lookup_or_create_module_kobject+0x1ff/0x210 kernel/params.c:763
Code: 83 00 49 89 c6 43 80 7c 25 00 00 74 08 4c 89 ff e8 56 fa 87 00 48 8b 45 d0 49 89 07 4d 85 f6 0f 85 95 fe ff ff e8 b1 34 2f 00 <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 66 61 2c d6
RSP: 0018:ffffc900011efa98 EFLAGS: 00010293
RAX: ffffffff81583d0f RBX: ffffffff866d4240 RCX: ffff888119acdf00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff888100041a00
RBP: ffffc900011efac8 R08: 0000000000000100 R09: 1ffffffff0ed6c4a
R10: dffffc0000000000 R11: fffffbfff0ed6c4b R12: dffffc0000000000
R13: dffffc0000000000 R14: 0000000000000000 R15: ffff88810f3c4428
FS: 00007f0e0db9b6c0(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f0e0cdeb7c0 CR3: 000000013b74e000 CR4: 00000000003526b0
Call Trace:
<TASK>
module_add_driver+0x80/0x340 drivers/base/module.c:46
bus_add_driver+0x3ea/0x730 drivers/base/bus.c:679
driver_register+0x2b7/0x3c0 drivers/base/driver.c:246
usb_gadget_register_driver_owner+0xfc/0x270 drivers/usb/gadget/udc/core.c:1731
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:0x7f0e0cd9e0d9
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:00007f0e0db9b028 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f0e0d025fa0 RCX: 00007f0e0cd9e0d9
RDX: 000000000000000b RSI: 0000200000000700 RDI: 0000000000000004
RBP: 00007f0e0db9b090 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002
R13: 00007f0e0d026038 R14: 00007f0e0d025fa0 R15: 00007fff709cd288
</TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:lookup_or_create_module_kobject+0x1ff/0x210 kernel/params.c:763
Code: 83 00 49 89 c6 43 80 7c 25 00 00 74 08 4c 89 ff e8 56 fa 87 00 48 8b 45 d0 49 89 07 4d 85 f6 0f 85 95 fe ff ff e8 b1 34 2f 00 <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 66 61 2c d6
RSP: 0018:ffffc900011efa98 EFLAGS: 00010293
RAX: ffffffff81583d0f RBX: ffffffff866d4240 RCX: ffff888119acdf00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff888100041a00
RBP: ffffc900011efac8 R08: 0000000000000100 R09: 1ffffffff0ed6c4a
R10: dffffc0000000000 R11: fffffbfff0ed6c4b R12: dffffc0000000000
R13: dffffc0000000000 R14: 0000000000000000 R15: ffff88810f3c4428
FS: 00007f0e0db9b6c0(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 000000013b74e000 CR4: 00000000003526b0
* Struck through repros no longer work on HEAD.