syzbot
general protection fault in start_creating
Status:
premoderation: reported on 2026/08/22 04:50
Reported-by: syzbot+bc46c05db6aaa321df57@syzkaller.appspotmail.com
First crash: 5d08h, last: 4d18h
Sample crash report:
general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007]
CPU: 1 PID: 297 Comm: kworker/1:2 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
Workqueue: usb_hub_wq hub_event
RIP: 0010:strlen+0x29/0x70 lib/string.c:581
Code: 00 55 48 89 e5 41 57 41 56 41 54 53 48 c7 c0 ff ff ff ff 49 be 00 00 00 00 00 fc ff df 48 89 fb 49 89 c7 48 89 d8 48 c1 e8 03 <42> 0f b6 04 30 84 c0 75 11 48 ff c3 49 8d 47 01 42 80 7c 3f 01 00
RSP: 0018:ffffc90000af6eb8 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffff8881274f93c0
RDX: 0000000000000002 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90000af6ed8 R08: ffff8881098911df R09: 1ffff1102131223b
R10: dffffc0000000000 R11: ffffed102131223c R12: 0000000000000000
R13: 1ffff11021308ed2 R14: dffffc0000000000 R15: ffffffffffffffff
FS: 0000000000000000(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f727109b060 CR3: 000000010e0e9000 CR4: 00000000003526a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
start_creating+0x161/0x300 fs/debugfs/inode.c:354
debugfs_create_dir+0x27/0x4c0 fs/debugfs/inode.c:559
hid_debug_register+0x31/0x130 drivers/hid/hid-debug.c:1210
hid_add_device+0x341/0x4b0 drivers/hid/hid-core.c:2498
usbhid_probe+0xb93/0xf30 drivers/hid/usbhid/hid-core.c:1442
usb_probe_interface+0x60f/0xb20 drivers/usb/core/driver.c:396
call_driver_probe drivers/base/dd.c:-1 [inline]
really_probe+0x27d/0x970 drivers/base/dd.c:595
__driver_probe_device+0x193/0x270 drivers/base/dd.c:755
driver_probe_device+0x54/0x3e0 drivers/base/dd.c:785
__device_attach_driver+0x2a6/0x460 drivers/base/dd.c:907
bus_for_each_drv+0x184/0x210 drivers/base/bus.c:429
__device_attach+0x2b0/0x420 drivers/base/dd.c:979
device_initial_probe+0x1a/0x20 drivers/base/dd.c:1028
bus_probe_device+0xc0/0x1e0 drivers/base/bus.c:489
device_add+0xaef/0xe90 drivers/base/core.c:3422
usb_set_configuration+0x1a01/0x1f70 drivers/usb/core/message.c:2223
usb_generic_driver_probe+0x91/0x150 drivers/usb/core/generic.c:238
usb_probe_device+0x143/0x250 drivers/usb/core/driver.c:293
call_driver_probe drivers/base/dd.c:-1 [inline]
really_probe+0x27d/0x970 drivers/base/dd.c:595
__driver_probe_device+0x193/0x270 drivers/base/dd.c:755
driver_probe_device+0x54/0x3e0 drivers/base/dd.c:785
__device_attach_driver+0x2a6/0x460 drivers/base/dd.c:907
bus_for_each_drv+0x184/0x210 drivers/base/bus.c:429
__device_attach+0x2b0/0x420 drivers/base/dd.c:979
device_initial_probe+0x1a/0x20 drivers/base/dd.c:1028
bus_probe_device+0xc0/0x1e0 drivers/base/bus.c:489
device_add+0xaef/0xe90 drivers/base/core.c:3422
usb_new_device+0xa1f/0x1720 drivers/usb/core/hub.c:2638
hub_port_connect drivers/usb/core/hub.c:5555 [inline]
hub_port_connect_change drivers/usb/core/hub.c:5695 [inline]
port_event drivers/usb/core/hub.c:5861 [inline]
hub_event+0x291b/0x43f0 drivers/usb/core/hub.c:5943
process_one_work+0x6c8/0xbb0 kernel/workqueue.c:2328
worker_thread+0xaa0/0x1250 kernel/workqueue.c:2475
kthread+0x3f5/0x4f0 kernel/kthread.c:337
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287
</TASK>
Modules linked in:
---[ end trace 3127f4ed52bda28c ]---
RIP: 0010:strlen+0x29/0x70 lib/string.c:581
Code: 00 55 48 89 e5 41 57 41 56 41 54 53 48 c7 c0 ff ff ff ff 49 be 00 00 00 00 00 fc ff df 48 89 fb 49 89 c7 48 89 d8 48 c1 e8 03 <42> 0f b6 04 30 84 c0 75 11 48 ff c3 49 8d 47 01 42 80 7c 3f 01 00
RSP: 0018:ffffc90000af6eb8 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffff8881274f93c0
RDX: 0000000000000002 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90000af6ed8 R08: ffff8881098911df R09: 1ffff1102131223b
R10: dffffc0000000000 R11: ffffed102131223c R12: 0000000000000000
R13: 1ffff11021308ed2 R14: dffffc0000000000 R15: ffffffffffffffff
FS: 0000000000000000(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fdc1163b2f8 CR3: 0000000130cf8000 CR4: 00000000003526a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
0: 00 55 48 add %dl,0x48(%rbp)
3: 89 e5 mov %esp,%ebp
5: 41 57 push %r15
7: 41 56 push %r14
9: 41 54 push %r12
b: 53 push %rbx
c: 48 c7 c0 ff ff ff ff mov $0xffffffffffffffff,%rax
13: 49 be 00 00 00 00 00 movabs $0xdffffc0000000000,%r14
1a: fc ff df
1d: 48 89 fb mov %rdi,%rbx
20: 49 89 c7 mov %rax,%r15
23: 48 89 d8 mov %rbx,%rax
26: 48 c1 e8 03 shr $0x3,%rax
* 2a: 42 0f b6 04 30 movzbl (%rax,%r14,1),%eax <-- trapping instruction
2f: 84 c0 test %al,%al
31: 75 11 jne 0x44
33: 48 ff c3 inc %rbx
36: 49 8d 47 01 lea 0x1(%r15),%rax
3a: 42 80 7c 3f 01 00 cmpb $0x0,0x1(%rdi,%r15,1)
* Struck through repros no longer work on HEAD.