Oops: general protection fault, probably for non-canonical address 0xdffffc0000000060: 0000 [#1] SMP KASAN PTI
KASAN: null-ptr-deref in range [0x0000000000000300-0x0000000000000307]
CPU: 0 UID: 0 PID: 2943 Comm: syz-executor Not tainted 6.15.0-rc1-syzkaller-00097-g3baea29dc0a7 #0 PREEMPT(voluntary)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
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 48 89 f0 48 89 f2 0f b6 6b ff 4c 8d 66 01 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:ffffc900000079b0 EFLAGS: 00010046
RAX: 0000000000000060 RBX: ffffffff87685e21 RCX: 0000000000000001
RDX: 0000000000000000 RSI: 0000000000000300 RDI: ffffffff87685e20
RBP: 0000000000000026 R08: 0000000000000001 R09: 0000000000000001
R10: 0000000000000000 R11: ffff88810bb04020 R12: 0000000000000301
R13: dffffc0000000000 R14: 0000000000000000 R15: ffffffff8e706028
FS: 00005555662f7500(0000) GS:ffff8882691c7000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f7d1bad3fe8 CR3: 000000012b47a000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
count_matching_names kernel/locking/lockdep.c:880 [inline]
register_lock_class+0x26d/0x4c0 kernel/locking/lockdep.c:1345
__lock_acquire+0x99/0x1ba0 kernel/locking/lockdep.c:5110
lock_acquire kernel/locking/lockdep.c:5866 [inline]
lock_acquire+0x179/0x350 kernel/locking/lockdep.c:5823
__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+0x1c53/0x3a20 drivers/usb/gadget/udc/dummy_hcd.c:1978
__run_hrtimer kernel/time/hrtimer.c:1761 [inline]
__hrtimer_run_queues+0x1ff/0xad0 kernel/time/hrtimer.c:1825
hrtimer_run_softirq+0x17d/0x350 kernel/time/hrtimer.c:1842
handle_softirqs+0x205/0x8d0 kernel/softirq.c:579
__do_softirq kernel/softirq.c:613 [inline]
invoke_softirq kernel/softirq.c:453 [inline]
__irq_exit_rcu+0xfa/0x160 kernel/softirq.c:680
irq_exit_rcu+0x9/0x30 kernel/softirq.c:696
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:lock_acquire+0x62/0x350 kernel/locking/lockdep.c:5870
Code: 05 0c 0b 83 f8 07 0f 87 bc 02 00 00 89 c0 48 0f a3 05 c2 1e 1f 09 0f 82 74 02 00 00 8b 35 7a 2a 1f 09 85 f6 0f 85 8d 00 00 00 <48> 8b 44 24 30 65 48 2b 05 19 05 0c 0b 0f 85 c7 02 00 00 48 83 c4
RSP: 0018:ffffc900005f7648 EFLAGS: 00000206
RAX: 0000000000000046 RBX: ffffffff890c2840 RCX: 0000000001096127
RDX: 0000000000000000 RSI: ffffffff88ab7fbb RDI: ffffffff876851a0
RBP: 0000000000000002 R08: cbc299f99e1ce5a2 R09: 0000000000000000
R10: 0000000000000007 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
rcu_lock_acquire include/linux/rcupdate.h:331 [inline]
rcu_read_lock include/linux/rcupdate.h:841 [inline]
page_table_check_set+0x39c/0xb50 mm/page_table_check.c:112
__page_table_check_ptes_set+0x1ce/0x220 mm/page_table_check.c:209
page_table_check_ptes_set include/linux/page_table_check.h:74 [inline]
set_ptes include/linux/pgtable.h:292 [inline]
__copy_present_ptes mm/memory.c:961 [inline]
copy_present_ptes mm/memory.c:1044 [inline]
copy_pte_range mm/memory.c:1167 [inline]
copy_pmd_range mm/memory.c:1255 [inline]
copy_pud_range mm/memory.c:1292 [inline]
copy_p4d_range mm/memory.c:1316 [inline]
copy_page_range+0x17d9/0x5710 mm/memory.c:1410
dup_mmap kernel/fork.c:726 [inline]
dup_mm kernel/fork.c:1734 [inline]
copy_mm kernel/fork.c:1786 [inline]
copy_process+0x89cb/0x92e0 kernel/fork.c:2429
kernel_clone+0xfc/0x960 kernel/fork.c:2844
__do_sys_clone+0xce/0x120 kernel/fork.c:2987
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xcd/0x260 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f70180651d3
Code: 1f 84 00 00 00 00 00 64 48 8b 04 25 10 00 00 00 45 31 c0 31 d2 31 f6 bf 11 00 20 01 4c 8d 90 d0 02 00 00 b8 38 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 35 89 c2 85 c0 75 2c 64 48 8b 04 25 10 00 00
RSP: 002b:00007ffc0bb32c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000038
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f70180651d3
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000001
R10: 00005555662f77d0 R11: 0000000000000246 R12: 0000000000000001
R13: 000000000000005a R14: 000000000009de9d R15: 00007ffc0bb32e10
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 48 89 f0 48 89 f2 0f b6 6b ff 4c 8d 66 01 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:ffffc900000079b0 EFLAGS: 00010046
RAX: 0000000000000060 RBX: ffffffff87685e21 RCX: 0000000000000001
RDX: 0000000000000000 RSI: 0000000000000300 RDI: ffffffff87685e20
RBP: 0000000000000026 R08: 0000000000000001 R09: 0000000000000001
R10: 0000000000000000 R11: ffff88810bb04020 R12: 0000000000000301
R13: dffffc0000000000 R14: 0000000000000000 R15: ffffffff8e706028
FS: 00005555662f7500(0000) GS:ffff8882691c7000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f7d1bad3fe8 CR3: 000000012b47a000 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: 48 89 f0 mov %rsi,%rax
18: 48 89 f2 mov %rsi,%rdx
1b: 0f b6 6b ff movzbl -0x1(%rbx),%ebp
1f: 4c 8d 66 01 lea 0x1(%rsi),%r12
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