------------[ cut here ]------------ WARNING: CPU: 1 PID: 4627 at mm/maccess.c:226 copy_from_user_nofault+0x160/0x1c0 mm/maccess.c:226 Modules linked in: CPU: 1 PID: 4627 Comm: syz.2.88 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 RIP: 0010:copy_from_user_nofault+0x160/0x1c0 mm/maccess.c:226 Code: 24 45 31 f6 31 ff 89 de e8 ed f6 d8 ff 85 db 48 c7 c0 f2 ff ff ff 49 0f 44 c6 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 70 f3 d8 ff <0f> 0b e9 1c ff ff ff 44 89 e1 80 e1 07 80 c1 03 38 c1 0f 8c ea fe RSP: 0018:ffffc90000dd0978 EFLAGS: 00010246 RAX: ffffffff819ed740 RBX: 0000000000000008 RCX: ffff88807ec00000 RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: dffffc0000000000 R09: ffffed100fd80001 R10: ffffed100fd80001 R11: 1ffff1100fd80000 R12: ffff88807ec01788 R13: 00007ffffffff000 R14: ffffc90000dd09e8 R15: 00000000008f0000 FS: 00007f9892a656c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000008f0000 CR3: 000000001f310000 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+0xdd/0x170 kernel/trace/bpf_trace.c:277 bpf_prog_f9451a27f735a1c7+0x38/0x578 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_run2+0x15b/0x2d0 kernel/trace/bpf_trace.c:1915 __bpf_trace_kfree+0x6e/0x90 include/trace/events/kmem.h:118 trace_kfree include/trace/events/kmem.h:118 [inline] kfree+0x25f/0x2a0 mm/slub.c:4549 ip_dst_metrics_put include/net/ip.h:516 [inline] ip6_dst_destroy+0x96/0x240 net/ipv6/route.c:360 dst_destroy+0xc0/0x2e0 net/core/dst.c:112 rcu_do_batch kernel/rcu/tree.c:2523 [inline] rcu_core+0x962/0x15d0 kernel/rcu/tree.c:2763 handle_softirqs+0x328/0x820 kernel/softirq.c:576 __do_softirq kernel/softirq.c:610 [inline] invoke_softirq kernel/softirq.c:450 [inline] __irq_exit_rcu+0x12f/0x220 kernel/softirq.c:659 irq_exit_rcu+0x5/0x20 kernel/softirq.c:671 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:__skb_datagram_iter+0x6ae/0x740 net/core/datagram.c:504 Code: 4c 8b 34 24 41 29 de 49 63 f6 48 8b 7c 24 10 e8 d8 68 06 fc 41 be f2 ff ff ff 44 89 f0 48 83 c4 58 5b 41 5c 41 5d 41 5e 41 5f <5d> c3 e8 7b f1 a4 f9 45 31 f6 eb e4 89 f9 80 e1 07 80 c1 03 38 c1 RSP: 0018:ffffc90002daf710 EFLAGS: 00000286 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000080000 RDX: ffffc9000c571000 RSI: 000000000007ffff RDI: 0000000000080000 RBP: 0000000000000000 R08: 0000000000000000 R09: ffffffff87d2dbb0 R10: fffffbfff1ad3196 R11: 1ffffffff1ad3195 R12: 0000000000000001 R13: 0000000000000001 R14: ffffc90002dafd50 R15: ffff88805e517780 skb_copy_datagram_iter+0xad/0x1f0 net/core/datagram.c:541 skb_copy_datagram_msg include/linux/skbuff.h:3773 [inline] __unix_dgram_recvmsg+0x671/0xd50 net/unix/af_unix.c:2354 ____sys_recvmsg+0x291/0x580 net/socket.c:-1 ___sys_recvmsg+0x1af/0x4f0 net/socket.c:2697 do_recvmmsg+0x344/0x7a0 net/socket.c:2791 __sys_recvmmsg net/socket.c:2870 [inline] __do_sys_recvmmsg net/socket.c:2893 [inline] __se_sys_recvmmsg net/socket.c:2886 [inline] __x64_sys_recvmmsg+0x18d/0x240 net/socket.c:2886 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f98947fdbe9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f9892a65038 EFLAGS: 00000246 ORIG_RAX: 000000000000012b RAX: ffffffffffffffda RBX: 00007f9894a24fa0 RCX: 00007f98947fdbe9 RDX: 0000000000010106 RSI: 00002000000000c0 RDI: 0000000000000003 RBP: 00007f9894880e19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f9894a25038 R14: 00007f9894a24fa0 R15: 00007fffe84c1b88 ---------------- Code disassembly (best guess): 0: 4c 8b 34 24 mov (%rsp),%r14 4: 41 29 de sub %ebx,%r14d 7: 49 63 f6 movslq %r14d,%rsi a: 48 8b 7c 24 10 mov 0x10(%rsp),%rdi f: e8 d8 68 06 fc call 0xfc0668ec 14: 41 be f2 ff ff ff mov $0xfffffff2,%r14d 1a: 44 89 f0 mov %r14d,%eax 1d: 48 83 c4 58 add $0x58,%rsp 21: 5b pop %rbx 22: 41 5c pop %r12 24: 41 5d pop %r13 26: 41 5e pop %r14 28: 41 5f pop %r15 * 2a: 5d pop %rbp <-- trapping instruction 2b: c3 ret 2c: e8 7b f1 a4 f9 call 0xf9a4f1ac 31: 45 31 f6 xor %r14d,%r14d 34: eb e4 jmp 0x1a 36: 89 f9 mov %edi,%ecx 38: 80 e1 07 and $0x7,%cl 3b: 80 c1 03 add $0x3,%cl 3e: 38 c1 cmp %al,%cl