------------[ cut here ]------------ WARNING: CPU: 0 PID: 4703 at mm/maccess.c:226 copy_from_user_nofault+0x15c/0x1c0 Modules linked in: CPU: 0 PID: 4703 Comm: syz.3.173 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:ffffc90000007370 EFLAGS: 00010246 RAX: ffffffff81aacafc RBX: 0000000000000000 RCX: ffff88802901d940 RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000 RBP: dffffc0000000000 R08: ffffffff81aaca0d R09: ffffed1005203b29 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000 R13: 0000000000000008 R14: 0000000000000000 R15: ffffc900000073e8 FS: 00007f6a0e7fc6c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000007a228000 CR4: 00000000003506f0 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_a9d1eab64edc2dc9+0x56/0xa04 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 inet_frag_reasm_prepare+0x375/0xe30 net/ipv4/inet_fragment.c:488 nf_ct_frag6_reasm+0xb5/0x910 net/ipv6/netfilter/nf_conntrack_reasm.c:330 nf_ct_frag6_queue net/ipv6/netfilter/nf_conntrack_reasm.c:290 [inline] nf_ct_frag6_gather+0x1488/0x1f10 net/ipv6/netfilter/nf_conntrack_reasm.c:485 ipv6_defrag+0x2c4/0x3c0 net/ipv6/netfilter/nf_defrag_ipv6_hooks.c:66 nf_hook_entry_hookfn include/linux/netfilter.h:142 [inline] nf_hook_slow+0xae/0x1e0 net/netfilter/core.c:584 nf_hook include/linux/netfilter.h:257 [inline] NF_HOOK+0x26b/0x410 include/linux/netfilter.h:300 __netif_receive_skb_one_core net/core/dev.c:5493 [inline] __netif_receive_skb+0x1c6/0x530 net/core/dev.c:5607 process_backlog+0x363/0x7f0 net/core/dev.c:6484 __napi_poll+0xc7/0x440 net/core/dev.c:7043 napi_poll net/core/dev.c:7110 [inline] net_rx_action+0x617/0xda0 net/core/dev.c:7200 handle_softirqs+0x3a7/0x930 kernel/softirq.c:558 do_softirq+0x162/0x240 kernel/softirq.c:459 netif_rx_ni+0xd9/0x440 net/core/dev.c:5002 dev_loopback_xmit+0x24a/0x320 net/core/dev.c:3962 NF_HOOK include/linux/netfilter.h:302 [inline] ip6_finish_output2+0x457/0x15a0 net/ipv6/ip6_output.c:96 ip6_fragment+0x1b80/0x2330 net/ipv6/ip6_output.c:937 ip6_send_skb+0x1aa/0x390 net/ipv6/ip6_output.c:1951 rawv6_push_pending_frames+0x749/0x9a0 net/ipv6/raw.c:617 rawv6_sendmsg+0x171d/0x2100 net/ipv6/raw.c:961 sock_sendmsg_nosec net/socket.c:704 [inline] __sock_sendmsg net/socket.c:716 [inline] sock_sendmsg net/socket.c:739 [inline] kernel_sendmsg+0x205/0x2e0 net/socket.c:763 sock_no_sendpage+0x156/0x1c0 net/core/sock.c:3039 kernel_sendpage+0x2e0/0x390 net/socket.c:3539 sock_sendpage+0x7f/0xb0 net/socket.c:1025 pipe_to_sendpage+0x260/0x350 fs/splice.c:364 splice_from_pipe_feed fs/splice.c:418 [inline] __splice_from_pipe+0x33b/0x890 fs/splice.c:562 splice_from_pipe fs/splice.c:597 [inline] generic_splice_sendpage+0x195/0x220 fs/splice.c:746 do_splice_from fs/splice.c:767 [inline] direct_splice_actor+0xe3/0x1c0 fs/splice.c:936 splice_direct_to_actor+0x500/0xc10 fs/splice.c:891 do_splice_direct+0x285/0x3d0 fs/splice.c:979 do_sendfile+0x622/0x1000 fs/read_write.c:1249 __do_sys_sendfile64 fs/read_write.c:1311 [inline] __se_sys_sendfile64+0xfc/0x1e0 fs/read_write.c:1303 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f6a10992da9 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:00007f6a0e7fc038 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007f6a10babfa0 RCX: 00007f6a10992da9 RDX: 0000000020000000 RSI: 0000000000000004 RDI: 0000000000000003 RBP: 00007f6a10a142a0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000001001 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f6a10babfa0 R15: 00007fff40bfc898