Oops: general protection fault, probably for non-canonical address 0xdffffc0000000060: 0000 [#1] SMP KASAN PTI
KASAN: null-ptr-deref in range [0x0000000000000300-0x0000000000000307]
CPU: 1 UID: 0 PID: 7713 Comm: syz.1.650 Not tainted syzkaller #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2026
RIP: 0010:strcmp+0x5b/0xb0 lib/string.c:284
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:ffffc900001a89d0 EFLAGS: 00010046
RAX: 0000000000000060 RBX: ffffffff87afb181 RCX: ffffffff8effc950
RDX: 0000000000000000 RSI: 0000000000000300 RDI: ffffffff87afb180
RBP: 0000000000000026 R08: 0000000000000001 R09: 0000000000000000
R10: ffff88810b70c020 R11: 0000000000000001 R12: 0000000000000301
R13: dffffc0000000000 R14: 0000000000000f6c R15: ffffffff8efca3d8
FS: 0000000000000000(0000) GS:ffff8882687d3000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f35a43a5d58 CR3: 0000000117a56000 CR4: 00000000003506f0
Call Trace:
count_matching_names kernel/locking/lockdep.c:878 [inline]
register_lock_class+0x2cb/0x560 kernel/locking/lockdep.c:1344
__lock_acquire+0x3cb/0x2630 kernel/locking/lockdep.c:5112
lock_acquire kernel/locking/lockdep.c:5868 [inline]
lock_acquire+0x1cf/0x380 kernel/locking/lockdep.c:5825
__raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:132 [inline]
_raw_spin_lock_irqsave+0x3a/0x60 kernel/locking/spinlock.c:162
complete_with_flags kernel/sched/completion.c:25 [inline]
complete+0x1d/0x200 kernel/sched/completion.c:52
transfer drivers/usb/gadget/udc/dummy_hcd.c:1523 [inline]
dummy_timer+0x11e2/0x3670 drivers/usb/gadget/udc/dummy_hcd.c:1979
__run_hrtimer kernel/time/hrtimer.c:1785 [inline]
__hrtimer_run_queues+0x50e/0xa70 kernel/time/hrtimer.c:1849
hrtimer_run_softirq+0x17d/0x350 kernel/time/hrtimer.c:1866
handle_softirqs+0x1de/0x9d0 kernel/softirq.c:622
__do_softirq kernel/softirq.c:656 [inline]
invoke_softirq kernel/softirq.c:496 [inline]
__irq_exit_rcu+0xed/0x150 kernel/softirq.c:723
irq_exit_rcu+0x9/0x30 kernel/softirq.c:739
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1056 [inline]
sysvec_apic_timer_interrupt+0x8f/0xb0 arch/x86/kernel/apic/apic.c:1056
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:697
RIP: 0010:numa_node_id include/linux/topology.h:86 [inline]
RIP: 0010:get_task_policy mm/mempolicy.c:348 [inline]
RIP: 0010:get_task_policy mm/mempolicy.c:340 [inline]
RIP: 0010:alloc_frozen_pages_noprof mm/mempolicy.c:2553 [inline]
RIP: 0010:alloc_pages_noprof+0x2e/0x390 mm/mempolicy.c:2575
Code: 41 56 41 55 41 54 41 89 f4 55 89 fd 53 e8 aa a7 9d ff 65 8b 1d d3 bd e0 0a 89 e8 31 ff 25 00 00 20 00 65 44 8b 2d d2 08 e2 0a <81> e3 00 ff ff 00 09 c3 89 de e8 33 a2 9d ff 85 db 0f 85 c9 00 00
RSP: 0018:ffffc900162274b0 EFLAGS: 00000246
RAX: 0000000000000000 RBX: 0000000080000001 RCX: ffffffff82033742
RDX: ffff88811c398000 RSI: ffffffff82141256 RDI: 0000000000000000
RBP: 0000000000002800 R08: 0000000000000005 R09: 0000000000000013
R10: 0000000000000004 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: ffffc90016227aa4 R15: 00000000000001fc
get_free_pages_noprof+0x10/0xb0 mm/page_alloc.c:5309
tlb_next_batch mm/mmu_gather.c:37 [inline]
__tlb_remove_folio_pages_size.isra.0+0x2dc/0x550 mm/mmu_gather.c:198
zap_present_folio_ptes mm/memory.c:1672 [inline]
zap_present_ptes mm/memory.c:1725 [inline]
do_zap_pte_range mm/memory.c:1827 [inline]
zap_pte_range mm/memory.c:1929 [inline]
zap_pmd_range mm/memory.c:2021 [inline]
zap_pud_range mm/memory.c:2049 [inline]
zap_p4d_range mm/memory.c:2070 [inline]
unmap_page_range+0x1120/0x3d80 mm/memory.c:2091
unmap_single_vma+0x153/0x240 mm/memory.c:2133
unmap_vmas+0x295/0x590 mm/memory.c:2171
exit_mmap+0x1ef/0xa30 mm/mmap.c:1302
__mmput kernel/fork.c:1174 [inline]
mmput+0xe0/0x430 kernel/fork.c:1197
exit_mm kernel/exit.c:581 [inline]
do_exit+0x78a/0x2aa0 kernel/exit.c:959
do_group_exit+0xd5/0x2a0 kernel/exit.c:1112
get_signal+0x1ec7/0x21e0 kernel/signal.c:3034
arch_do_signal_or_restart+0x91/0x7a0 arch/x86/kernel/signal.c:337
__exit_to_user_mode_loop kernel/entry/common.c:64 [inline]
exit_to_user_mode_loop+0x7e/0x430 kernel/entry/common.c:98
__exit_to_user_mode_prepare include/linux/irq-entry-common.h:226 [inline]
syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:256 [inline]
syscall_exit_to_user_mode include/linux/entry-common.h:325 [inline]
do_syscall_64+0x671/0x7b0 arch/x86/entry/syscall_64.c:100
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f898d9ec799
Code: Unable to access opcode bytes at 0x7f898d9ec76f.
RSP: 002b:00007f898c4470e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: fffffffffffffe00 RBX: 00007f898dc65fa8 RCX: 00007f898d9ec799
RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f898dc65fa8
RBP: 00007f898dc65fa0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f898dc66038 R14: 00007ffc3fea9390 R15: 00007ffc3fea9478
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:strcmp+0x5b/0xb0 lib/string.c:284
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:ffffc900001a89d0 EFLAGS: 00010046
RAX: 0000000000000060 RBX: ffffffff87afb181 RCX: ffffffff8effc950
RDX: 0000000000000000 RSI: 0000000000000300 RDI: ffffffff87afb180
RBP: 0000000000000026 R08: 0000000000000001 R09: 0000000000000000
R10: ffff88810b70c020 R11: 0000000000000001 R12: 0000000000000301
R13: dffffc0000000000 R14: 0000000000000f6c R15: ffffffff8efca3d8
FS: 0000000000000000(0000) GS:ffff8882687d3000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f35a43a5d58 CR3: 0000000117a56000 CR4: 00000000003506f0
----------------
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