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: 9366 Comm: syz.4.1180 Not tainted 6.13.0-rc4-syzkaller-00076-gf097a36ef88d #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/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: ffffffff87474221 RCX: ffffffff8fb14fb8
RDX: 0000000000000000 RSI: 0000000000000300 RDI: ffffffff87474220
RBP: 0000000000000026 R08: 0000000000000001 R09: dffffc0000000000
R10: ffffffff8fb14fc8 R11: ffffffff8fb14fb8 R12: 0000000000000301
R13: dffffc0000000000 R14: 00000000000004a5 R15: ffffffff934b7a00
FS: 00007fccf5c016c0(0000) GS:ffff8881f5800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000110c3862e1 CR3: 000000010ebce000 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:1522 [inline]
dummy_timer+0x1c37/0x3960 drivers/usb/gadget/udc/dummy_hcd.c:1977
__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:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline]
RIP: 0010:_raw_spin_unlock_irqrestore+0x31/0x80 kernel/locking/spinlock.c:194
Code: f5 53 48 8b 74 24 10 48 89 fb 48 83 c7 18 e8 e6 04 45 fa 48 89 df e8 2e 84 45 fa f7 c5 00 02 00 00 75 23 9c 58 f6 c4 02 75 37 01 00 00 00 e8 85 9d 39 fa 65 8b 05 86 86 10 79 85 c0 74 16 5b
RSP: 0018:ffffc900021cfbc8 EFLAGS: 00000246
RAX: 0000000000000002 RBX: ffff8881f582c800 RCX: 1ffffffff14aba71
RDX: 0000000000000000 RSI: ffffffff8727fee0 RDI: ffffffff874735a0
RBP: 0000000000000246 R08: 0000000000000001 R09: 0000000000000001
R10: ffffffff8a560c97 R11: 0000000000000001 R12: 0000000000000000
R13: ffffc900021cfd78 R14: 0000000000000000 R15: ffff8881f582c880
unlock_hrtimer_base kernel/time/hrtimer.c:1007 [inline]
hrtimer_start_range_ns+0x4a7/0xc60 kernel/time/hrtimer.c:1296
hrtimer_start_expires include/linux/hrtimer.h:274 [inline]
hrtimer_sleeper_start_expires kernel/time/hrtimer.c:2001 [inline]
do_nanosleep+0x1f3/0x510 kernel/time/hrtimer.c:2076
hrtimer_nanosleep+0x158/0x380 kernel/time/hrtimer.c:2126
common_nsleep+0xa1/0xd0 kernel/time/posix-timers.c:1356
__do_sys_clock_nanosleep kernel/time/posix-timers.c:1402 [inline]
__se_sys_clock_nanosleep kernel/time/posix-timers.c:1379 [inline]
__x64_sys_clock_nanosleep+0x344/0x4a0 kernel/time/posix-timers.c:1379
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:0x7fccf75c85e5
Code: 24 0c 89 3c 24 48 89 4c 24 18 e8 f6 54 ff ff 4c 8b 54 24 18 48 8b 54 24 10 41 89 c0 8b 74 24 0c 8b 3c 24 b8 e6 00 00 00 0f 05 <44> 89 c7 48 89 04 24 e8 4f 55 ff ff 48 8b 04 24 48 83 c4 28 f7 d8
RSP: 002b:00007fccf5bfff60 EFLAGS: 00000293 ORIG_RAX: 00000000000000e6
RAX: ffffffffffffffda RBX: 0000000000000010 RCX: 00007fccf75c85e5
RDX: 00007fccf5bfffa0 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000003 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000293 R12: 00000000200002c0
R13: 000000000000000c R14: 00007fccf7785fa0 R15: 00007ffc1beec3f8
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: ffffffff87474221 RCX: ffffffff8fb14fb8
RDX: 0000000000000000 RSI: 0000000000000300 RDI: ffffffff87474220
RBP: 0000000000000026 R08: 0000000000000001 R09: dffffc0000000000
R10: ffffffff8fb14fc8 R11: ffffffff8fb14fb8 R12: 0000000000000301
R13: dffffc0000000000 R14: 00000000000004a5 R15: ffffffff934b7a00
FS: 00007fccf5c016c0(0000) GS:ffff8881f5800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000110c3862e1 CR3: 000000010ebce000 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