------------[ cut here ]------------
WARNING: CPU: 1 PID: 4419 at mm/maccess.c:226 copy_from_user_nofault+0x15c/0x1c0
Modules linked in:
CPU: 1 PID: 4419 Comm: syz.0.62 Not tainted 5.15.177-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024
RIP: 0010:copy_from_user_nofault+0x15c/0x1c0 mm/maccess.c:226
Code: db 48 c7 c0 f2 ff ff ff 48 0f 44 c5 eb 0c e8 ab ba d5 ff 48 c7 c0 f2 ff ff ff 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 94 ba d5 ff <0f> 0b e9 1e ff ff ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c ef fe ff
RSP: 0018:ffffc90000dd09b0 EFLAGS: 00010246
RAX: ffffffff81aacafc RBX: 0000000000000000 RCX: ffff88802bd15940
RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000
RBP: dffffc0000000000 R08: ffffffff81aaca0d R09: ffffed10057a2b29
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: ffffc90000dd0a28
FS: 0000000000000000(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f4b547afbac CR3: 0000000064666000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
bpf_probe_read_user_common kernel/trace/bpf_trace.c:157 [inline]
____bpf_probe_read_compat kernel/trace/bpf_trace.c:281 [inline]
bpf_probe_read_compat+0xe4/0x180 kernel/trace/bpf_trace.c:277
bpf_prog_3d2613b5dfc7747f+0x32/0xae0
bpf_dispatcher_nop_func include/linux/bpf.h:790 [inline]
__bpf_prog_run include/linux/filter.h:628 [inline]
bpf_prog_run include/linux/filter.h:635 [inline]
__bpf_trace_run kernel/trace/bpf_trace.c:1878 [inline]
bpf_trace_run3+0x1d1/0x380 kernel/trace/bpf_trace.c:1916
__bpf_trace_kmem_cache_free+0x99/0xc0 include/trace/events/kmem.h:138
__traceiter_kmem_cache_free+0x2e/0x50 include/trace/events/kmem.h:138
trace_kmem_cache_free include/trace/events/kmem.h:138 [inline]
kmem_cache_free+0x1ce/0x1f0 mm/slub.c:3516
rcu_do_batch kernel/rcu/tree.c:2523 [inline]
rcu_core+0xa15/0x1650 kernel/rcu/tree.c:2763
handle_softirqs+0x3a7/0x930 kernel/softirq.c:558
__do_softirq kernel/softirq.c:592 [inline]
invoke_softirq kernel/softirq.c:432 [inline]
__irq_exit_rcu+0x157/0x240 kernel/softirq.c:641
irq_exit_rcu+0x5/0x20 kernel/softirq.c:653
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1108 [inline]
sysvec_apic_timer_interrupt+0xa0/0xc0 arch/x86/kernel/apic/apic.c:1108
asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676
RIP: 0010:release_pages+0x194/0x1f40 mm/swap.c:895
Code: 00 00 00 00 45 31 ed 48 8b 44 24 58 48 89 5c 24 60 48 8d 3c 18 48 89 f8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df 80 3c 08 00 <74> 05 e8 c5 2e 1d 00 48 8b 44 24 58 48 8b 4c 24 60 4c 8b 3c 08 4d
RSP: 0018:ffffc9000122f2a0 EFLAGS: 00000246
RAX: 1ffff1100eb6b28c RBX: 0000000000000450 RCX: dffffc0000000000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff888075b59460
RBP: ffffc9000122f3d0 R08: ffffffff81ad4138 R09: fffff940003250df
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000
R13: 0000000000000000 R14: ffffea00019286c0 R15: ffffea0001928600
tlb_batch_pages_flush mm/mmu_gather.c:49 [inline]
tlb_flush_mmu_free mm/mmu_gather.c:240 [inline]
tlb_flush_mmu+0xc8/0x170 mm/mmu_gather.c:247
zap_pte_range mm/memory.c:1456 [inline]
zap_pmd_range mm/memory.c:1505 [inline]
zap_pud_range mm/memory.c:1534 [inline]
zap_p4d_range mm/memory.c:1555 [inline]
unmap_page_range+0x214d/0x2630 mm/memory.c:1576
unmap_vmas+0x1f8/0x390 mm/memory.c:1653
exit_mmap+0x3b6/0x620 mm/mmap.c:3204
__mmput+0x112/0x3b0 kernel/fork.c:1127
exit_mm+0x688/0x7f0 kernel/exit.c:550
do_exit+0x626/0x2480 kernel/exit.c:861
do_group_exit+0x144/0x310 kernel/exit.c:996
get_signal+0xc66/0x14e0 kernel/signal.c:2900
arch_do_signal_or_restart+0xc3/0x1890 arch/x86/kernel/signal.c:867
handle_signal_work kernel/entry/common.c:154 [inline]
exit_to_user_mode_loop+0x97/0x130 kernel/entry/common.c:178
exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:214
__syscall_exit_to_user_mode_work kernel/entry/common.c:296 [inline]
syscall_exit_to_user_mode+0x5d/0x240 kernel/entry/common.c:307
do_syscall_64+0x47/0xb0 arch/x86/entry/common.c:86
entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7fa7a8f5cd29
Code: Unable to access opcode bytes at RIP 0x7fa7a8f5ccff.
RSP: 002b:00007fa7a6dc60e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: fffffffffffffe00 RBX: 00007fa7a9175fa8 RCX: 00007fa7a8f5cd29
RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007fa7a9175fa8
RBP: 00007fa7a9175fa0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007fa7a9175fac
R13: 0000000000000000 R14: 00007ffcf4cd0550 R15: 00007ffcf4cd0638
----------------
Code disassembly (best guess):
0: 00 00 add %al,(%rax)
2: 00 00 add %al,(%rax)
4: 45 31 ed xor %r13d,%r13d
7: 48 8b 44 24 58 mov 0x58(%rsp),%rax
c: 48 89 5c 24 60 mov %rbx,0x60(%rsp)
11: 48 8d 3c 18 lea (%rax,%rbx,1),%rdi
15: 48 89 f8 mov %rdi,%rax
18: 48 c1 e8 03 shr $0x3,%rax
1c: 48 b9 00 00 00 00 00 movabs $0xdffffc0000000000,%rcx
23: fc ff df
26: 80 3c 08 00 cmpb $0x0,(%rax,%rcx,1)
* 2a: 74 05 je 0x31 <-- trapping instruction
2c: e8 c5 2e 1d 00 call 0x1d2ef6
31: 48 8b 44 24 58 mov 0x58(%rsp),%rax
36: 48 8b 4c 24 60 mov 0x60(%rsp),%rcx
3b: 4c 8b 3c 08 mov (%rax,%rcx,1),%r15
3f: 4d rex.WRB