Oops: general protection fault, probably for non-canonical address 0xdffffc0000000060: 0000 [#1] PREEMPT SMP KASAN PTI KASAN: null-ptr-deref in range [0x0000000000000300-0x0000000000000307] CPU: 0 UID: 0 PID: 2846 Comm: udevd Not tainted 6.13.0-rc7-syzkaller-g70cd0576aa39 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 RIP: 0010:strcmp+0x5b/0xb0 lib/string.c:277 Code: fa 48 c1 e8 03 83 e2 07 42 0f b6 04 28 38 d0 7f 04 84 c0 75 58 0f b6 6b ff 4c 8d 66 01 48 89 f0 48 89 f2 48 c1 e8 03 83 e2 07 <42> 0f b6 04 28 38 d0 7f 04 84 c0 75 2c 41 3a 6c 24 ff 74 ae 19 c0 RSP: 0018:ffffc90000007848 EFLAGS: 00010046 RAX: 0000000000000060 RBX: ffffffff874740e1 RCX: ffffffff8fb1d420 RDX: 0000000000000000 RSI: 0000000000000300 RDI: ffffffff874740e0 RBP: 0000000000000026 R08: 0000000000000001 R09: dffffc0000000000 R10: ffffffff8fb1d430 R11: ffffffff8fb1d420 R12: 0000000000000301 R13: dffffc0000000000 R14: 00000000000006e1 R15: ffffffff934b8a00 FS: 00007f17bc7c3c80(0000) GS:ffff8881f5800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7baa020d58 CR3: 0000000116aca000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: count_matching_names kernel/locking/lockdep.c:875 [inline] register_lock_class+0x63b/0x1240 kernel/locking/lockdep.c:1340 __lock_acquire+0x135/0x3c40 kernel/locking/lockdep.c:5101 lock_acquire.part.0+0x11b/0x380 kernel/locking/lockdep.c:5849 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x3a/0x60 kernel/locking/spinlock.c:162 complete_with_flags kernel/sched/completion.c:20 [inline] complete+0x1d/0x200 kernel/sched/completion.c:47 transfer drivers/usb/gadget/udc/dummy_hcd.c:1523 [inline] dummy_timer+0x1c37/0x3960 drivers/usb/gadget/udc/dummy_hcd.c:1978 __run_hrtimer kernel/time/hrtimer.c:1739 [inline] __hrtimer_run_queues+0x20a/0xae0 kernel/time/hrtimer.c:1803 hrtimer_run_softirq+0x17d/0x350 kernel/time/hrtimer.c:1820 handle_softirqs+0x206/0x8d0 kernel/softirq.c:561 __do_softirq kernel/softirq.c:595 [inline] invoke_softirq kernel/softirq.c:435 [inline] __irq_exit_rcu+0xfa/0x160 kernel/softirq.c:662 irq_exit_rcu+0x9/0x30 kernel/softirq.c:678 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline] sysvec_apic_timer_interrupt+0x90/0xb0 arch/x86/kernel/apic/apic.c:1049 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:__unwind_start+0x4c3/0x7f0 arch/x86/kernel/unwind_orc.c:759 Code: 00 00 48 39 c3 49 8b 56 10 72 b3 48 39 d3 73 ae 48 8d 4b 08 48 39 ca 72 a5 48 39 c8 73 a0 48 8b 04 24 48 c1 e8 03 80 3c 28 00 <0f> 85 f4 01 00 00 49 3b 5e 38 73 88 e9 03 fe ff ff 48 b8 00 00 00 RSP: 0018:ffffc9000169f288 EFLAGS: 00000246 RAX: 1ffff920002d3e62 RBX: ffffc9000169f368 RCX: ffffc9000169f370 RDX: ffffc900016a0000 RSI: ffffc9000169f2a8 RDI: 0000000000000001 RBP: dffffc0000000000 R08: ffffc9000169f30c R09: ffffffff8aae62e4 R10: ffffc9000169f2d8 R11: 0000000000001a54 R12: fffff520002d3e5d R13: fffff520002d3e5c R14: ffffc9000169f2d8 R15: ffffc9000169f2e0 unwind_start arch/x86/include/asm/unwind.h:64 [inline] arch_stack_walk+0x74/0x100 arch/x86/kernel/stacktrace.c:24 stack_trace_save+0x95/0xd0 kernel/stacktrace.c:122 kasan_save_stack+0x33/0x60 mm/kasan/common.c:47 kasan_save_track+0x14/0x30 mm/kasan/common.c:68 unpoison_slab_object mm/kasan/common.c:319 [inline] __kasan_slab_alloc+0x6e/0x70 mm/kasan/common.c:345 kasan_slab_alloc include/linux/kasan.h:250 [inline] slab_post_alloc_hook mm/slub.c:4119 [inline] slab_alloc_node mm/slub.c:4168 [inline] kmem_cache_alloc_lru_noprof+0x159/0x3c0 mm/slub.c:4187 __d_alloc+0x31/0xaa0 fs/dcache.c:1646 d_alloc+0x4a/0x1e0 fs/dcache.c:1726 d_alloc_parallel+0xe9/0x12b0 fs/dcache.c:2490 __lookup_slow+0x194/0x460 fs/namei.c:1776 lookup_slow fs/namei.c:1808 [inline] walk_component+0x350/0x5b0 fs/namei.c:2112 link_path_walk.part.0.constprop.0+0x669/0xd40 fs/namei.c:2477 link_path_walk fs/namei.c:2409 [inline] path_openat+0x228/0x2d60 fs/namei.c:3983 do_filp_open+0x20c/0x470 fs/namei.c:4014 do_sys_openat2+0x17a/0x1e0 fs/open.c:1402 do_sys_open fs/open.c:1417 [inline] __do_sys_openat fs/open.c:1433 [inline] __se_sys_openat fs/open.c:1428 [inline] __x64_sys_openat+0x175/0x210 fs/open.c:1428 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f17bc8ee9a4 Code: 24 20 48 8d 44 24 30 48 89 44 24 28 64 8b 04 25 18 00 00 00 85 c0 75 2c 44 89 e2 48 89 ee bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 76 60 48 8b 15 55 a4 0d 00 f7 d8 64 89 02 48 83 RSP: 002b:00007fff9e4e96a0 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000000000000008 RCX: 00007f17bc8ee9a4 RDX: 0000000000080000 RSI: 00007fff9e4e97d8 RDI: 00000000ffffff9c RBP: 00007fff9e4e97d8 R08: 0000000000000008 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000080000 R13: 00005613c7ad9b42 R14: 0000000000000001 R15: 0000000000000000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:strcmp+0x5b/0xb0 lib/string.c:277 Code: fa 48 c1 e8 03 83 e2 07 42 0f b6 04 28 38 d0 7f 04 84 c0 75 58 0f b6 6b ff 4c 8d 66 01 48 89 f0 48 89 f2 48 c1 e8 03 83 e2 07 <42> 0f b6 04 28 38 d0 7f 04 84 c0 75 2c 41 3a 6c 24 ff 74 ae 19 c0 RSP: 0018:ffffc90000007848 EFLAGS: 00010046 RAX: 0000000000000060 RBX: ffffffff874740e1 RCX: ffffffff8fb1d420 RDX: 0000000000000000 RSI: 0000000000000300 RDI: ffffffff874740e0 RBP: 0000000000000026 R08: 0000000000000001 R09: dffffc0000000000 R10: ffffffff8fb1d430 R11: ffffffff8fb1d420 R12: 0000000000000301 R13: dffffc0000000000 R14: 00000000000006e1 R15: ffffffff934b8a00 FS: 00007f17bc7c3c80(0000) GS:ffff8881f5800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7baa020d58 CR3: 0000000116aca000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: fa cli 1: 48 c1 e8 03 shr $0x3,%rax 5: 83 e2 07 and $0x7,%edx 8: 42 0f b6 04 28 movzbl (%rax,%r13,1),%eax d: 38 d0 cmp %dl,%al f: 7f 04 jg 0x15 11: 84 c0 test %al,%al 13: 75 58 jne 0x6d 15: 0f b6 6b ff movzbl -0x1(%rbx),%ebp 19: 4c 8d 66 01 lea 0x1(%rsi),%r12 1d: 48 89 f0 mov %rsi,%rax 20: 48 89 f2 mov %rsi,%rdx 23: 48 c1 e8 03 shr $0x3,%rax 27: 83 e2 07 and $0x7,%edx * 2a: 42 0f b6 04 28 movzbl (%rax,%r13,1),%eax <-- trapping instruction 2f: 38 d0 cmp %dl,%al 31: 7f 04 jg 0x37 33: 84 c0 test %al,%al 35: 75 2c jne 0x63 37: 41 3a 6c 24 ff cmp -0x1(%r12),%bpl 3c: 74 ae je 0xffffffec 3e: 19 c0 sbb %eax,%eax