------------[ cut here ]------------
WARNING: CPU: 0 PID: 4622 at mm/maccess.c:226 copy_from_user_nofault+0x160/0x1c0 mm/maccess.c:226
Modules linked in:
CPU: 0 PID: 4622 Comm: syz.2.125 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/2025
RIP: 0010:copy_from_user_nofault+0x160/0x1c0 mm/maccess.c:226
Code: 24 45 31 f6 31 ff 89 de e8 3d f7 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 c0 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:ffffc90000007a58 EFLAGS: 00010246
RAX: ffffffff819ed760 RBX: 0000000000000008 RCX: ffff88802be01dc0
RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: dffffc0000000000 R09: ffffed10057c03b9
R10: ffffed10057c03b9 R11: 1ffff110057c03b8 R12: ffff88802be03548
R13: 00007ffffffff000 R14: ffffc90000007ac8 R15: 00000000008f0000
FS: 00007fcde28ce6c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000008f0000 CR3: 000000001ea21000 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+0xdd/0x170 kernel/trace/bpf_trace.c:277
bpf_prog_f9451a27f735a1c7+0x38/0x400
bpf_dispatcher_nop_func include/linux/bpf.h:888 [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:4554
security_task_free+0x97/0xc0 security/security.c:1691
__put_task_struct+0xf8/0x480 kernel/fork.c:757
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+0x13b/0x200 kernel/softirq.c:477
__local_bh_enable_ip+0x174/0x1b0 kernel/softirq.c:401
spin_unlock_bh include/linux/spinlock.h:408 [inline]
nf_conntrack_tcp_packet+0x236b/0x5df0 net/netfilter/nf_conntrack_proto_tcp.c:1234
nf_conntrack_handle_packet net/netfilter/nf_conntrack_core.c:1886 [inline]
nf_conntrack_in+0x9d9/0x16f0 net/netfilter/nf_conntrack_core.c:1977
nf_hook_entry_hookfn include/linux/netfilter.h:142 [inline]
nf_hook_slow+0xb9/0x200 net/netfilter/core.c:584
nf_hook+0x1f2/0x350 include/linux/netfilter.h:257
__ip_local_out+0x4b7/0x5e0 net/ipv4/ip_output.c:115
ip_local_out net/ipv4/ip_output.c:124 [inline]
__ip_queue_xmit+0x10fa/0x1c00 net/ipv4/ip_output.c:532
__tcp_transmit_skb+0x1ced/0x31c0 net/ipv4/tcp_output.c:1404
tcp_transmit_skb net/ipv4/tcp_output.c:1422 [inline]
tcp_send_syn_data net/ipv4/tcp_output.c:3853 [inline]
tcp_connect+0x2d6e/0x4970 net/ipv4/tcp_output.c:3892
tcp_v4_connect+0x1098/0x1ad0 net/ipv4/tcp_ipv4.c:323
__inet_stream_connect+0x293/0xdf0 net/ipv4/af_inet.c:672
tcp_sendmsg_fastopen+0x38f/0x600 net/ipv4/tcp.c:1195
tcp_sendmsg_locked+0x3097/0x3590 net/ipv4/tcp.c:1237
tcp_sendmsg+0x2b/0x40 net/ipv4/tcp.c:1457
smc_sendmsg+0x247/0x470 net/smc/af_smc.c:2264
sock_sendmsg_nosec net/socket.c:704 [inline]
__sock_sendmsg net/socket.c:716 [inline]
____sys_sendmsg+0x5a2/0x8c0 net/socket.c:2436
___sys_sendmsg+0x1f0/0x260 net/socket.c:2490
__sys_sendmsg net/socket.c:2519 [inline]
__do_sys_sendmsg net/socket.c:2528 [inline]
__se_sys_sendmsg+0x190/0x250 net/socket.c:2526
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:0x7fcde4666ba9
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:00007fcde28ce038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007fcde48adfa0 RCX: 00007fcde4666ba9
RDX: 00000000200048cc RSI: 0000200000000240 RDI: 0000000000000006
RBP: 00007fcde46e9e19 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fcde48ae038 R14: 00007fcde48adfa0 R15: 00007fffc3936bf8