------------[ cut here ]------------
WARNING: CPU: 0 PID: 4691 at mm/maccess.c:226 copy_from_user_nofault+0x15c/0x1c0
Modules linked in:
CPU: 0 PID: 4691 Comm: syz.2.102 Not tainted 5.15.173-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/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 cb c6 d5 ff 48 c7 c0 f2 ff ff ff 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 b4 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:ffffc90000007630 EFLAGS: 00010246
RAX: ffffffff81aaacec RBX: 0000000000000000 RCX: ffff888025815940
RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000
RBP: dffffc0000000000 R08: ffffffff81aaabfd R09: ffffed1004b02b29
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000
R13: 0000000000000004 R14: 0000000000000000 R15: ffffc900000076a8
FS: 00007feefd1316c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 000000001b589000 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_3388ad4a0d630836+0x35/0xc84
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
packet_rcv_spkt+0x39a/0x4a0
deliver_skb net/core/dev.c:2234 [inline]
__netif_receive_skb_core+0x860/0x3df0 net/core/dev.c:5339
__netif_receive_skb_one_core net/core/dev.c:5491 [inline]
__netif_receive_skb+0x11c/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
__local_bh_enable_ip+0x1b1/0x1f0 kernel/softirq.c:383
rcu_read_unlock_bh include/linux/rcupdate.h:809 [inline]
ip_finish_output2+0xdf1/0x11a0 net/ipv4/ip_output.c:229
dst_output include/net/dst.h:443 [inline]
ip_local_out net/ipv4/ip_output.c:126 [inline]
__ip_queue_xmit+0x12df/0x1d90 net/ipv4/ip_output.c:532
__tcp_transmit_skb+0x1f39/0x3810 net/ipv4/tcp_output.c:1402
tcp_transmit_skb net/ipv4/tcp_output.c:1420 [inline]
tcp_send_syn_data net/ipv4/tcp_output.c:3851 [inline]
tcp_connect+0x2d5f/0x4880 net/ipv4/tcp_output.c:3890
tcp_v4_connect+0x118e/0x1c00 net/ipv4/tcp_ipv4.c:323
__inet_stream_connect+0x254/0xe50 net/ipv4/af_inet.c:674
tcp_sendmsg_fastopen+0x39d/0x600 net/ipv4/tcp.c:1195
tcp_sendmsg_locked+0x3468/0x3a90 net/ipv4/tcp.c:1237
tcp_sendmsg+0x2c/0x40 net/ipv4/tcp.c:1457
sock_sendmsg_nosec net/socket.c:704 [inline]
__sock_sendmsg net/socket.c:716 [inline]
__sys_sendto+0x564/0x720 net/socket.c:2063
__do_sys_sendto net/socket.c:2075 [inline]
__se_sys_sendto net/socket.c:2071 [inline]
__x64_sys_sendto+0xda/0xf0 net/socket.c:2071
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:0x7feefecb9759
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:00007feefd131038 EFLAGS: 00000246 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 00007feefee70f80 RCX: 00007feefecb9759
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000007
RBP: 00007feefed2c75e R08: 0000000020e68000 R09: 0000000000000010
R10: 00000000200007fd R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007feefee70f80 R15: 00007ffd4a276c28