RAX: ffffffffffffffda RBX: 00007fc9ccd9bf80 RCX: 00007fc9ccc7cae9 RDX: 0000000000000000 RSI: 0000000000005501 RDI: 0000000000000004 RBP: 00007fc9cda62120 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002 R13: 000000000000000b R14: 00007fc9ccd9bf80 R15: 00007ffca7adc328 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: 10854 Comm: syz-executor.5 Not tainted 6.6.0-rc1-syzkaller-00115-g9fdfb15a3dbf #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023 RIP: 0010:strchr+0x21/0x90 lib/string.c:329 Code: 00 00 00 00 00 0f 1f 40 00 f3 0f 1e fa 55 41 57 41 56 53 41 89 f6 48 89 fb 49 bf 00 00 00 00 00 fc ff df 48 89 f8 48 c1 e8 03 <42> 0f b6 04 38 84 c0 75 4f 0f b6 03 44 38 f0 74 3d 48 8d 6b 01 84 RSP: 0018:ffffc90016227a30 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000040000 RDX: ffffc9000b2ba000 RSI: 0000000000000025 RDI: 0000000000000000 RBP: 0000000000000000 R08: ffffffff8abe7929 R09: 0000000000000000 R10: ffffc90016227b20 R11: fffff52002c44f67 R12: dffffc0000000000 R13: 1ffff1100526e627 R14: 0000000000000025 R15: dffffc0000000000 FS: 00007fc9cda626c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020404030 CR3: 000000001c412000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 00000000000000b9 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: kvasprintf_const+0x29/0x170 lib/kasprintf.c:45 kobject_set_name_vargs+0x61/0x120 lib/kobject.c:272 kobject_add_varg lib/kobject.c:366 [inline] kobject_add+0x113/0x210 lib/kobject.c:424 device_add+0x449/0xc90 drivers/base/core.c:3560 cdev_device_add+0x1ec/0x3a0 fs/char_dev.c:556 evdev_connect+0x349/0x3f0 drivers/input/evdev.c:1386 input_attach_handler drivers/input/input.c:1064 [inline] input_register_device+0xcf0/0x1090 drivers/input/input.c:2396 uinput_create_device+0x40e/0x620 drivers/input/misc/uinput.c:365 uinput_ioctl_handler+0x48b/0x1770 drivers/input/misc/uinput.c:904 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:871 [inline] __se_sys_ioctl+0xf8/0x170 fs/ioctl.c:857 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fc9ccc7cae9 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:00007fc9cda620c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fc9ccd9bf80 RCX: 00007fc9ccc7cae9 RDX: 0000000000000000 RSI: 0000000000005501 RDI: 0000000000000004 RBP: 00007fc9cda62120 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002 R13: 000000000000000b R14: 00007fc9ccd9bf80 R15: 00007ffca7adc328 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:strchr+0x21/0x90 lib/string.c:329 Code: 00 00 00 00 00 0f 1f 40 00 f3 0f 1e fa 55 41 57 41 56 53 41 89 f6 48 89 fb 49 bf 00 00 00 00 00 fc ff df 48 89 f8 48 c1 e8 03 <42> 0f b6 04 38 84 c0 75 4f 0f b6 03 44 38 f0 74 3d 48 8d 6b 01 84 RSP: 0018:ffffc90016227a30 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000040000 RDX: ffffc9000b2ba000 RSI: 0000000000000025 RDI: 0000000000000000 RBP: 0000000000000000 R08: ffffffff8abe7929 R09: 0000000000000000 R10: ffffc90016227b20 R11: fffff52002c44f67 R12: dffffc0000000000 R13: 1ffff1100526e627 R14: 0000000000000025 R15: dffffc0000000000 FS: 00007fc9cda626c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000562c6a8b5c98 CR3: 000000001c412000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 00000000000000b9 DR6: 00000000ffff0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: 00 00 add %al,(%rax) 2: 00 00 add %al,(%rax) 4: 0f 1f 40 00 nopl 0x0(%rax) 8: f3 0f 1e fa endbr64 c: 55 push %rbp d: 41 57 push %r15 f: 41 56 push %r14 11: 53 push %rbx 12: 41 89 f6 mov %esi,%r14d 15: 48 89 fb mov %rdi,%rbx 18: 49 bf 00 00 00 00 00 movabs $0xdffffc0000000000,%r15 1f: fc ff df 22: 48 89 f8 mov %rdi,%rax 25: 48 c1 e8 03 shr $0x3,%rax * 29: 42 0f b6 04 38 movzbl (%rax,%r15,1),%eax <-- trapping instruction 2e: 84 c0 test %al,%al 30: 75 4f jne 0x81 32: 0f b6 03 movzbl (%rbx),%eax 35: 44 38 f0 cmp %r14b,%al 38: 74 3d je 0x77 3a: 48 8d 6b 01 lea 0x1(%rbx),%rbp 3e: 84 .byte 0x84