------------[ cut here ]------------ WARNING: CPU: 0 PID: 144 at mm/maccess.c:226 copy_from_user_nofault+0x160/0x1c0 mm/maccess.c:226 Modules linked in: CPU: 0 PID: 144 Comm: kworker/u4:1 Not tainted 5.15.189-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 Workqueue: bat_events batadv_nc_worker RIP: 0010:copy_from_user_nofault+0x160/0x1c0 mm/maccess.c:226 Code: 24 45 31 f6 31 ff 89 de e8 ed 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 70 f4 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:ffffc900000070b8 EFLAGS: 00010246 RAX: ffffffff819ecfb0 RBX: 0000000000000002 RCX: ffff888018ff8000 RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: dffffc0000000000 R09: ffffed10031ff001 R10: ffffed10031ff001 R11: 1ffff110031ff000 R12: ffff888018ff9788 R13: 00007ffffffff000 R14: ffffc90000007128 R15: 0000000000000900 FS: 0000000000000000(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b31463fff CR3: 0000000057dfa000 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_1878750df62aa1fb+0x40/0x7a0 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_run4+0x188/0x330 kernel/trace/bpf_trace.c:1917 __bpf_trace_mm_page_alloc+0xbf/0xf0 include/trace/events/kmem.h:201 __traceiter_mm_page_alloc+0x35/0x50 include/trace/events/kmem.h:201 trace_mm_page_alloc include/trace/events/kmem.h:201 [inline] __alloc_pages+0x449/0x470 mm/page_alloc.c:5496 stack_depot_save+0x342/0x440 lib/stackdepot.c:302 save_stack+0x101/0x1e0 mm/page_owner.c:120 __set_page_owner+0x41/0x2d0 mm/page_owner.c:181 prep_new_page mm/page_alloc.c:2426 [inline] get_page_from_freelist+0x1b77/0x1c60 mm/page_alloc.c:4192 __alloc_pages+0x1e1/0x470 mm/page_alloc.c:5474 stack_depot_save+0x342/0x440 lib/stackdepot.c:302 kasan_save_stack mm/kasan/common.c:40 [inline] kasan_set_track+0x62/0x70 mm/kasan/common.c:46 kasan_set_free_info+0x1f/0x40 mm/kasan/generic.c:360 ____kasan_slab_free+0xd5/0x110 mm/kasan/common.c:366 kasan_slab_free include/linux/kasan.h:230 [inline] slab_free_hook mm/slub.c:1705 [inline] slab_free_freelist_hook+0xea/0x170 mm/slub.c:1731 slab_free mm/slub.c:3499 [inline] kfree+0xef/0x2a0 mm/slub.c:4559 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] batadv_nc_purge_paths+0x316/0x3b0 net/batman-adv/network-coding.c:475 batadv_nc_worker+0x327/0x5c0 net/batman-adv/network-coding.c:726 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