------------[ cut here ]------------ WARNING: CPU: 1 PID: 9 at mm/maccess.c:226 copy_from_user_nofault+0x160/0x1c0 mm/maccess.c:226 Modules linked in: CPU: 1 PID: 9 Comm: kworker/u4:0 Not tainted 5.15.187-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Workqueue: bat_events batadv_iv_send_outstanding_bat_ogm_packet RIP: 0010:copy_from_user_nofault+0x160/0x1c0 mm/maccess.c:226 Code: 24 45 31 f6 31 ff 89 de e8 2d e2 d7 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 b0 de d7 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:ffffc90000dd0738 EFLAGS: 00010246 RAX: ffffffff819ff470 RBX: 0000000000000000 RCX: ffff88813fed0000 RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: dffffc0000000000 R09: ffffed1027fda001 R10: ffffed1027fda001 R11: 1ffff11027fda000 R12: ffff88813fed1788 R13: 00007ffffffff000 R14: ffffc90000dd07a8 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000000be8e000 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_3d2613b5dfc7747f+0x32/0x670 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 skb_free_head net/core/skbuff.c:655 [inline] skb_release_data+0x6fe/0x850 net/core/skbuff.c:677 skb_release_all net/core/skbuff.c:742 [inline] __kfree_skb net/core/skbuff.c:756 [inline] kfree_skb_reason+0xaf/0x110 net/core/skbuff.c:776 kfree_skb include/linux/skbuff.h:1118 [inline] __netif_receive_skb_core+0x3056/0x35d0 net/core/dev.c:5499 __netif_receive_skb_one_core net/core/dev.c:5523 [inline] __netif_receive_skb+0x74/0x290 net/core/dev.c:5639 process_backlog+0x364/0x780 net/core/dev.c:6516 __napi_poll+0xc0/0x430 net/core/dev.c:7075 napi_poll net/core/dev.c:7142 [inline] net_rx_action+0x4a8/0x9c0 net/core/dev.c:7232 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 rcu_read_unlock_bh include/linux/rcupdate.h:809 [inline] __dev_queue_xmit+0x1bc5/0x2ed0 net/core/dev.c:4315 batadv_send_skb_packet+0x384/0x5f0 net/batman-adv/send.c:108 batadv_iv_ogm_send_to_if net/batman-adv/bat_iv_ogm.c:392 [inline] batadv_iv_ogm_emit net/batman-adv/bat_iv_ogm.c:420 [inline] batadv_iv_send_outstanding_bat_ogm_packet+0x696/0x840 net/batman-adv/bat_iv_ogm.c:1700 process_one_work+0x863/0x1000 kernel/workqueue.c:2310 worker_thread+0xaa8/0x12a0 kernel/workqueue.c:2457 kthread+0x436/0x520 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287