------------[ cut here ]------------
WARNING: CPU: 1 PID: 4269 at mm/maccess.c:226 copy_from_user_nofault+0x15c/0x1c0
Modules linked in:
CPU: 1 PID: 4269 Comm: syz.4.7 Not tainted 5.15.173-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 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:ffffc90000dd04f0 EFLAGS: 00010246
RAX: ffffffff81aaacec RBX: 0000000000000000 RCX: ffff8880280cbb80
RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000
RBP: dffffc0000000000 R08: ffffffff81aaabfd R09: ffffed1005019771
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: ffffc90000dd0568
FS: 00007f3072f446c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020002000 CR3: 00000000798be000 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+0xe4/0x180 kernel/trace/bpf_trace.c:277
bpf_prog_3d2613b5dfc7747f+0x32/0xe14
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
kfree_skb include/linux/skbuff.h:1118 [inline]
ip_frag_queue net/ipv4/ip_fragment.c:385 [inline]
ip_defrag+0x10bf/0x2770 net/ipv4/ip_fragment.c:491
nf_ct_ipv4_gather_frags net/ipv4/netfilter/nf_defrag_ipv4.c:31 [inline]
ipv4_conntrack_defrag+0x3b1/0x580 net/ipv4/netfilter/nf_defrag_ipv4.c:86
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
__local_bh_enable_ip+0x1b1/0x1f0 kernel/softirq.c:383
rcu_read_unlock_bh include/linux/rcupdate.h:809 [inline]
__dev_queue_xmit+0x1bf8/0x32b0 net/core/dev.c:4283
__bpf_tx_skb net/core/filter.c:2118 [inline]
__bpf_redirect_no_mac net/core/filter.c:2152 [inline]
__bpf_redirect+0x79c/0xe90 net/core/filter.c:2175
____bpf_clone_redirect net/core/filter.c:2444 [inline]
bpf_clone_redirect+0x249/0x360 net/core/filter.c:2414
bpf_prog_208b094576c80b22+0x56/0x7a8
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_test_run+0x3f4/0x8a0 net/bpf/test_run.c:119
bpf_prog_test_run_skb+0xb41/0x1420 net/bpf/test_run.c:669
bpf_prog_test_run+0x32f/0x3a0 kernel/bpf/syscall.c:3368
__sys_bpf+0x3ac/0x670 kernel/bpf/syscall.c:4669
__do_sys_bpf kernel/bpf/syscall.c:4755 [inline]
__se_sys_bpf kernel/bpf/syscall.c:4753 [inline]
__x64_sys_bpf+0x78/0x90 kernel/bpf/syscall.c:4753
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:0x7f3074acc759
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:00007f3072f44038 EFLAGS: 00000246 ORIG_RAX: 0000000000000141
RAX: ffffffffffffffda RBX: 00007f3074c83f80 RCX: 00007f3074acc759
RDX: 0000000000000050 RSI: 0000000020000080 RDI: 000000000000000a
RBP: 00007f3074b3f75e R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f3074c83f80 R15: 00007ffe93c150f8