------------[ cut here ]------------ WARNING: CPU: 1 PID: 4086 at mm/maccess.c:226 copy_from_user_nofault+0x15c/0x1c0 Modules linked in: CPU: 1 PID: 4086 Comm: syz.4.203 Not tainted 5.15.167-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/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 eb c6 d5 ff 48 c7 c0 f2 ff ff ff 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 d4 c6 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:ffffc90000dd0a08 EFLAGS: 00010246 RAX: ffffffff81aa939c RBX: 0000000000000000 RCX: ffff88807f50d940 RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000 RBP: dffffc0000000000 R08: ffffffff81aa92ad R09: ffffffff8f677048 R10: ffffffff8f677058 R11: ffffffff8f677050 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: ffffc90000dd0a68 FS: 0000000000000000(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000000fff3 CR3: 0000000028273000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: bpf_probe_read_user_common kernel/trace/bpf_trace.c:157 [inline] ____bpf_probe_read_user kernel/trace/bpf_trace.c:166 [inline] bpf_probe_read_user+0x26/0x70 kernel/trace/bpf_trace.c:163 bpf_prog_7e47b8e39696360c+0x32/0x378 bpf_dispatcher_nop_func include/linux/bpf.h:790 [inline] __bpf_prog_run include/linux/filter.h:621 [inline] bpf_prog_run include/linux/filter.h:635 [inline] __bpf_trace_run kernel/trace/bpf_trace.c:1880 [inline] bpf_trace_run3+0x2ce/0x380 kernel/trace/bpf_trace.c:1918 __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 sysvec_apic_timer_interrupt+0x91/0xb0 arch/x86/kernel/apic/apic.c:1096 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:native_save_fl arch/x86/include/asm/irqflags.h:22 [inline] RIP: 0010:arch_local_save_flags arch/x86/include/asm/irqflags.h:70 [inline] RIP: 0010:arch_local_irq_save arch/x86/include/asm/irqflags.h:106 [inline] RIP: 0010:free_unref_page_list+0x60d/0x8e0 mm/page_alloc.c:3475 Code: 74 08 4c 89 e7 e8 b3 aa 0a 00 f6 84 24 a1 00 00 00 02 0f 85 c8 00 00 00 41 f7 c6 00 02 00 00 74 01 fb 4c 8d b4 24 80 00 00 00 <4c> 89 f3 48 c1 eb 03 42 80 3c 2b 00 74 08 4c 89 f7 e8 fd aa 0a 00 RSP: 0018:ffffc900031674c0 EFLAGS: 00000206 RAX: e2da099f74bd6e00 RBX: 1ffff9200062ceac RCX: ffffffff96868f03 RDX: dffffc0000000000 RSI: ffffffff8a8b2b00 RDI: ffffffff8ad904c0 RBP: ffffc900031675f0 R08: ffffffff8186db50 R09: fffffbfff1bd2c16 R10: 0000000000000000 R11: dffffc0000000001 R12: ffffc90003167560 R13: dffffc0000000000 R14: ffffc90003167540 R15: ffffea0001c50708 release_pages+0x1bb9/0x1f40 mm/swap.c:963 tlb_batch_pages_flush mm/mmu_gather.c:49 [inline] tlb_flush_mmu_free mm/mmu_gather.c:240 [inline] tlb_flush_mmu mm/mmu_gather.c:247 [inline] tlb_finish_mmu+0x177/0x320 mm/mmu_gather.c:338 exit_mmap+0x3cd/0x670 mm/mmap.c:3188 __mmput+0x112/0x3b0 kernel/fork.c:1126 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:2897 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:0x7f8cf6e86ff9 Code: Unable to access opcode bytes at RIP 0x7f8cf6e86fcf. RSP: 002b:00007f8cf52ff0e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: 0000000000000001 RBX: 00007f8cf703ef88 RCX: 00007f8cf6e86ff9 RDX: 00000000000f4240 RSI: 0000000000000081 RDI: 00007f8cf703ef8c RBP: 00007f8cf703ef80 R08: 0000000000000010 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f8cf703ef8c R13: 0000000000000000 R14: 00007fff34c90f10 R15: 00007fff34c90ff8 ---------------- Code disassembly (best guess): 0: 74 08 je 0xa 2: 4c 89 e7 mov %r12,%rdi 5: e8 b3 aa 0a 00 call 0xaaabd a: f6 84 24 a1 00 00 00 testb $0x2,0xa1(%rsp) 11: 02 12: 0f 85 c8 00 00 00 jne 0xe0 18: 41 f7 c6 00 02 00 00 test $0x200,%r14d 1f: 74 01 je 0x22 21: fb sti 22: 4c 8d b4 24 80 00 00 lea 0x80(%rsp),%r14 29: 00 * 2a: 4c 89 f3 mov %r14,%rbx <-- trapping instruction 2d: 48 c1 eb 03 shr $0x3,%rbx 31: 42 80 3c 2b 00 cmpb $0x0,(%rbx,%r13,1) 36: 74 08 je 0x40 38: 4c 89 f7 mov %r14,%rdi 3b: e8 fd aa 0a 00 call 0xaab3d