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: 1 UID: 0 PID: 7556 Comm: syz.8.270 Not tainted 6.13.0-rc6-syzkaller-00130-g2144da25584e #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:strcmp+0x42/0xa0 lib/string.c:277
Code: 00 fc ff df 31 db 49 8d 3c 1c 48 89 f8 48 c1 e8 03 42 0f b6 04 38 84 c0 75 29 41 0f b6 2c 1c 49 8d 3c 1e 48 89 f8 48 c1 e8 03 <42> 0f b6 04 38 84 c0 75 20 41 3a 2c 1e 75 2a 48 ff c3 40 84 ed 75
RSP: 0018:ffffc90000a184d8 EFLAGS: 00010006
RAX: 0000000000000060 RBX: 0000000000000000 RCX: dffffc0000000000
RDX: 0000000000000001 RSI: 0000000000000300 RDI: 0000000000000300
RBP: 0000000000000026 R08: ffffffff942a59ff R09: 1ffffffff2854b3f
R10: dffffc0000000000 R11: fffffbfff2854b40 R12: ffffffff8c5fb740
R13: ffffffff93c4eea8 R14: 0000000000000300 R15: dffffc0000000000
FS: 00007fbcabf156c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f8f6e8395a0 CR3: 000000002f55a000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
count_matching_names+0xfa/0x1c0 kernel/locking/lockdep.c:875
register_lock_class+0x450/0x980 kernel/locking/lockdep.c:1340
__lock_acquire+0xf3/0x2100 kernel/locking/lockdep.c:5101
lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5849
__raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline]
_raw_spin_lock_irqsave+0xd5/0x120 kernel/locking/spinlock.c:162
complete_with_flags kernel/sched/completion.c:20 [inline]
complete+0x28/0x1c0 kernel/sched/completion.c:47
transfer drivers/usb/gadget/udc/dummy_hcd.c:1522 [inline]
dummy_timer+0x224c/0x4620 drivers/usb/gadget/udc/dummy_hcd.c:1977
__run_hrtimer kernel/time/hrtimer.c:1739 [inline]
__hrtimer_run_queues+0x59b/0xd30 kernel/time/hrtimer.c:1803
hrtimer_run_softirq+0x19a/0x2c0 kernel/time/hrtimer.c:1820
handle_softirqs+0x2d4/0x9b0 kernel/softirq.c:561
__do_softirq kernel/softirq.c:595 [inline]
invoke_softirq kernel/softirq.c:435 [inline]
__irq_exit_rcu+0xf7/0x220 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+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1049
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:lock_acquire+0x264/0x550 kernel/locking/lockdep.c:5853
Code: 2b 00 74 08 4c 89 f7 e8 1a 27 8b 00 f6 44 24 61 02 0f 85 85 01 00 00 41 f7 c7 00 02 00 00 74 01 fb 48 c7 44 24 40 0e 36 e0 45 <4b> c7 44 25 00 00 00 00 00 43 c7 44 25 09 00 00 00 00 43 c7 44 25
RSP: 0018:ffffc90003707a80 EFLAGS: 00000206
RAX: 0000000000000001 RBX: 1ffff920006e0f5c RCX: ffff88805cf1a8d8
RDX: dffffc0000000000 RSI: ffffffff8c0aaae0 RDI: ffffffff8c5fb0a0
RBP: ffffc90003707bd0 R08: ffffffff942a5897 R09: 1ffffffff2854b12
R10: dffffc0000000000 R11: fffffbfff2854b13 R12: 1ffff920006e0f58
R13: dffffc0000000000 R14: ffffc90003707ae0 R15: 0000000000000246
sched_submit_work kernel/sched/core.c:6789 [inline]
schedule+0xb0/0x320 kernel/sched/core.c:6847
do_nanosleep+0x197/0x600 kernel/time/hrtimer.c:2079
hrtimer_nanosleep+0x1ec/0x410 kernel/time/hrtimer.c:2126
__do_sys_clock_nanosleep kernel/time/posix-timers.c:1402 [inline]
__se_sys_clock_nanosleep+0x32b/0x3c0 kernel/time/posix-timers.c:1379
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fbcab1b85e5
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:00007fbcabf13f60 EFLAGS: 00000293 ORIG_RAX: 00000000000000e6
RAX: ffffffffffffffda RBX: 0000000000000008 RCX: 00007fbcab1b85e5
RDX: 00007fbcabf13fa0 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000008 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000020000080
R13: 000000000000000c R14: 00007fbcab376080 R15: 00007fbcab49fa28
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:strcmp+0x42/0xa0 lib/string.c:277
Code: 00 fc ff df 31 db 49 8d 3c 1c 48 89 f8 48 c1 e8 03 42 0f b6 04 38 84 c0 75 29 41 0f b6 2c 1c 49 8d 3c 1e 48 89 f8 48 c1 e8 03 <42> 0f b6 04 38 84 c0 75 20 41 3a 2c 1e 75 2a 48 ff c3 40 84 ed 75
RSP: 0018:ffffc90000a184d8 EFLAGS: 00010006
RAX: 0000000000000060 RBX: 0000000000000000 RCX: dffffc0000000000
RDX: 0000000000000001 RSI: 0000000000000300 RDI: 0000000000000300
RBP: 0000000000000026 R08: ffffffff942a59ff R09: 1ffffffff2854b3f
R10: dffffc0000000000 R11: fffffbfff2854b40 R12: ffffffff8c5fb740
R13: ffffffff93c4eea8 R14: 0000000000000300 R15: dffffc0000000000
FS: 00007fbcabf156c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f8f6e8395a0 CR3: 000000002f55a000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess), 3 bytes skipped:
0: df 31 fbstp (%rcx)
2: db 49 8d fisttpl -0x73(%rcx)
5: 3c 1c cmp $0x1c,%al
7: 48 89 f8 mov %rdi,%rax
a: 48 c1 e8 03 shr $0x3,%rax
e: 42 0f b6 04 38 movzbl (%rax,%r15,1),%eax
13: 84 c0 test %al,%al
15: 75 29 jne 0x40
17: 41 0f b6 2c 1c movzbl (%r12,%rbx,1),%ebp
1c: 49 8d 3c 1e lea (%r14,%rbx,1),%rdi
20: 48 89 f8 mov %rdi,%rax
23: 48 c1 e8 03 shr $0x3,%rax
* 27: 42 0f b6 04 38 movzbl (%rax,%r15,1),%eax <-- trapping instruction
2c: 84 c0 test %al,%al
2e: 75 20 jne 0x50
30: 41 3a 2c 1e cmp (%r14,%rbx,1),%bpl
34: 75 2a jne 0x60
36: 48 ff c3 inc %rbx
39: 40 84 ed test %bpl,%bpl
3c: 75 .byte 0x75