------------[ cut here ]------------
WARNING: CPU: 1 PID: 4275 at mm/maccess.c:226 copy_from_user_nofault+0x15c/0x1c0
Modules linked in:
CPU: 1 PID: 4275 Comm: syz.0.11 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:ffffc90000dd09f0 EFLAGS: 00010246
RAX: ffffffff81aacafc RBX: 0000000000000000 RCX: ffff88801ff03b80
RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000
RBP: dffffc0000000000 R08: ffffffff81aaca0d R09: ffffed1003fe0771
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000
R13: 0000000000000004 R14: 0000000000000000 R15: ffffc90000dd0a68
FS: 0000000000000000(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 000000006402a000 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_3388ad4a0d630836+0x35/0x6a0
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
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:get_current arch/x86/include/asm/current.h:15 [inline]
RIP: 0010:need_resched include/linux/sched.h:2113 [inline]
RIP: 0010:zap_pte_range mm/memory.c:1351 [inline]
RIP: 0010:zap_pmd_range mm/memory.c:1505 [inline]
RIP: 0010:zap_pud_range mm/memory.c:1534 [inline]
RIP: 0010:zap_p4d_range mm/memory.c:1555 [inline]
RIP: 0010:unmap_page_range+0xa69/0x2630 mm/memory.c:1576
Code: 11 00 48 8b 44 24 68 4c 8b 38 4c 89 fe 48 83 e6 9f 31 ff e8 c9 ea c7 ff 4c 89 f8 48 83 e0 9f 0f 84 ed 00 00 00 48 89 5c 24 10 <65> 48 8b 1d ff d0 49 7e 48 89 df be 08 00 00 00 e8 b2 d0 11 00 48
RSP: 0018:ffffc9000314f420 EFLAGS: 00000202
RAX: 000000005ceb2007 RBX: ffff88801c2728c0 RCX: ffff88801ff03b80
RDX: 0000000000000000 RSI: 000000005ceb2007 RDI: 0000000000000000
RBP: ffffc9000314f650 R08: ffffffff81b89ea7 R09: fffff940002e758f
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000020518000
R13: dffffc0000000000 R14: 1ffff1100384e518 R15: 000000005ceb2027
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:0x7fa25a941da9
Code: Unable to access opcode bytes at RIP 0x7fa25a941d7f.
RSP: 002b:00007fa25878a0e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: fffffffffffffe00 RBX: 00007fa25ab5b088 RCX: 00007fa25a941da9
RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007fa25ab5b088
RBP: 00007fa25ab5b080 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007fa25ab5b08c
R13: 0000000000000000 R14: 00007ffc969093d0 R15: 00007ffc969094b8
----------------
Code disassembly (best guess):
0: 11 00 adc %eax,(%rax)
2: 48 8b 44 24 68 mov 0x68(%rsp),%rax
7: 4c 8b 38 mov (%rax),%r15
a: 4c 89 fe mov %r15,%rsi
d: 48 83 e6 9f and $0xffffffffffffff9f,%rsi
11: 31 ff xor %edi,%edi
13: e8 c9 ea c7 ff call 0xffc7eae1
18: 4c 89 f8 mov %r15,%rax
1b: 48 83 e0 9f and $0xffffffffffffff9f,%rax
1f: 0f 84 ed 00 00 00 je 0x112
25: 48 89 5c 24 10 mov %rbx,0x10(%rsp)
* 2a: 65 48 8b 1d ff d0 49 mov %gs:0x7e49d0ff(%rip),%rbx # 0x7e49d131 <-- trapping instruction
31: 7e
32: 48 89 df mov %rbx,%rdi
35: be 08 00 00 00 mov $0x8,%esi
3a: e8 b2 d0 11 00 call 0x11d0f1
3f: 48 rex.W