RAX: ffffffffffffffda RBX: 00007fa22877ff80 RCX: 00007fa228660ae9 RDX: 0000000020000040 RSI: 00000000c0105512 RDI: 0000000000000003 RBP: 00007fa2281e3120 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002 R13: 000000000000000b R14: 00007fa22877ff80 R15: 00007ffd42e1ae68 BUG: kernel NULL pointer dereference, address: 0000000000000000 #PF: supervisor read access in kernel mode #PF: error_code(0x0000) - not-present page PGD 10e7c9067 P4D 10e7c9067 PUD 106ac0067 PMD 0 Oops: 0000 [#1] PREEMPT SMP CPU: 1 PID: 2600 Comm: syz-executor.0 Not tainted 6.5.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 RIP: 0010:strchr+0x4/0x30 lib/string.c:329 Code: c0 eb 0d 84 c9 74 18 48 83 c0 01 48 39 d0 74 0f 0f b6 0c 07 3a 0c 06 74 ea 19 c0 83 c8 01 c3 31 c0 c3 0f 1f 40 00 f3 0f 1e fa <0f> b6 07 89 f2 40 38 f0 75 0e eb 13 0f b6 47 01 48 83 c7 01 38 d0 RSP: 0018:ffffc90000ee3ac8 EFLAGS: 00010246 RAX: ffffc90000ee3b30 RBX: 0000000000000000 RCX: 0000000000000007 RDX: ffffc90000ee3b10 RSI: 0000000000000025 RDI: 0000000000000000 RBP: ffffc90000ee3b10 R08: 0000000000000000 R09: 0000000000000000 R10: ffffc90000ee3b60 R11: 0000000000000004 R12: 0000000000000cc0 R13: ffff888109a6c878 R14: ffff888115aae808 R15: 0000000000000000 FS: 00007fa2281e36c0(0000) GS:ffff888237d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 00000001135c9000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: kvasprintf_const+0x1e/0xa0 lib/kasprintf.c:45 kobject_set_name_vargs+0x20/0x90 lib/kobject.c:272 kobject_add_varg lib/kobject.c:366 [inline] kobject_add+0x84/0x100 lib/kobject.c:424 device_add+0xe4/0x8d0 drivers/base/core.c:3562 usb_hub_create_port_device+0x127/0x3a0 drivers/usb/core/port.c:713 hub_configure drivers/usb/core/hub.c:1662 [inline] hub_probe+0x8e9/0xfc0 drivers/usb/core/hub.c:1899 usb_probe_interface+0xe7/0x2c0 drivers/usb/core/driver.c:396 call_driver_probe drivers/base/dd.c:579 [inline] really_probe+0xb6/0x3c0 drivers/base/dd.c:658 __driver_probe_device+0x73/0x150 drivers/base/dd.c:800 driver_probe_device+0x1a/0x90 drivers/base/dd.c:830 __device_attach_driver+0x75/0xf0 drivers/base/dd.c:958 bus_for_each_drv+0x90/0xe0 drivers/base/bus.c:457 __device_attach+0xaf/0x1b0 drivers/base/dd.c:1030 proc_ioctl+0x1d3/0x230 drivers/usb/core/devio.c:2365 proc_ioctl_default drivers/usb/core/devio.c:2400 [inline] usbdev_do_ioctl drivers/usb/core/devio.c:2756 [inline] usbdev_ioctl+0x14fc/0x1610 drivers/usb/core/devio.c:2816 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl fs/ioctl.c:856 [inline] __x64_sys_ioctl+0x8b/0xc0 fs/ioctl.c:856 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fa228660ae9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fa2281e30c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fa22877ff80 RCX: 00007fa228660ae9 RDX: 0000000020000040 RSI: 00000000c0105512 RDI: 0000000000000003 RBP: 00007fa2281e3120 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002 R13: 000000000000000b R14: 00007fa22877ff80 R15: 00007ffd42e1ae68 Modules linked in: CR2: 0000000000000000 ---[ end trace 0000000000000000 ]--- RIP: 0010:strchr+0x4/0x30 lib/string.c:329 Code: c0 eb 0d 84 c9 74 18 48 83 c0 01 48 39 d0 74 0f 0f b6 0c 07 3a 0c 06 74 ea 19 c0 83 c8 01 c3 31 c0 c3 0f 1f 40 00 f3 0f 1e fa <0f> b6 07 89 f2 40 38 f0 75 0e eb 13 0f b6 47 01 48 83 c7 01 38 d0 RSP: 0018:ffffc90000ee3ac8 EFLAGS: 00010246 RAX: ffffc90000ee3b30 RBX: 0000000000000000 RCX: 0000000000000007 RDX: ffffc90000ee3b10 RSI: 0000000000000025 RDI: 0000000000000000 RBP: ffffc90000ee3b10 R08: 0000000000000000 R09: 0000000000000000 R10: ffffc90000ee3b60 R11: 0000000000000004 R12: 0000000000000cc0 R13: ffff888109a6c878 R14: ffff888115aae808 R15: 0000000000000000 FS: 00007fa2281e36c0(0000) GS:ffff888237d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 00000001135c9000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: c0 eb 0d shr $0xd,%bl 3: 84 c9 test %cl,%cl 5: 74 18 je 0x1f 7: 48 83 c0 01 add $0x1,%rax b: 48 39 d0 cmp %rdx,%rax e: 74 0f je 0x1f 10: 0f b6 0c 07 movzbl (%rdi,%rax,1),%ecx 14: 3a 0c 06 cmp (%rsi,%rax,1),%cl 17: 74 ea je 0x3 19: 19 c0 sbb %eax,%eax 1b: 83 c8 01 or $0x1,%eax 1e: c3 ret 1f: 31 c0 xor %eax,%eax 21: c3 ret 22: 0f 1f 40 00 nopl 0x0(%rax) 26: f3 0f 1e fa endbr64 * 2a: 0f b6 07 movzbl (%rdi),%eax <-- trapping instruction 2d: 89 f2 mov %esi,%edx 2f: 40 38 f0 cmp %sil,%al 32: 75 0e jne 0x42 34: eb 13 jmp 0x49 36: 0f b6 47 01 movzbl 0x1(%rdi),%eax 3a: 48 83 c7 01 add $0x1,%rdi 3e: 38 d0 cmp %dl,%al