------------[ cut here ]------------ WARNING: CPU: 1 PID: 4225 at mm/maccess.c:226 copy_from_user_nofault+0x15c/0x1c0 Modules linked in: CPU: 1 PID: 4225 Comm: kworker/u4:5 Not tainted 5.15.173-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 Workqueue: bat_events batadv_nc_worker 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:ffffc90000dd0248 EFLAGS: 00010046 RAX: ffffffff81aaacec RBX: 0000000000000000 RCX: ffff88802a69bb80 RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000 RBP: dffffc0000000000 R08: ffffffff81aaabfd R09: fffffbfff20ec821 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000020000000 R13: 0000000000000008 R14: 0000000020000000 R15: ffffc90000dd02a8 FS: 0000000000000000(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 0000000063628000 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_user kernel/trace/bpf_trace.c:166 [inline] bpf_probe_read_user+0x26/0x70 kernel/trace/bpf_trace.c:163 bpf_prog_a7c3bb8cfcee081b+0x45/0x3e0 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 trace_workqueue_queue_work include/trace/events/workqueue.h:23 [inline] __queue_work+0xc99/0xd00 kernel/workqueue.c:1512 queue_work_on+0x14b/0x250 kernel/workqueue.c:1559 __ieee80211_queue_skb_to_iface net/mac80211/rx.c:222 [inline] ieee80211_queue_skb_to_iface net/mac80211/rx.c:232 [inline] ieee80211_rx_h_mgmt+0x42e/0x5d0 net/mac80211/rx.c:3795 ieee80211_rx_handlers+0x7515/0x91c0 net/mac80211/rx.c:3959 ieee80211_invoke_rx_handlers net/mac80211/rx.c:3989 [inline] ieee80211_prepare_and_rx_handle+0x2b76/0x51e0 net/mac80211/rx.c:4699 __ieee80211_rx_handle_packet net/mac80211/rx.c:4859 [inline] ieee80211_rx_list+0x1dac/0x2a60 net/mac80211/rx.c:4982 ieee80211_rx_napi+0x15f/0x380 net/mac80211/rx.c:5005 ieee80211_rx include/net/mac80211.h:4571 [inline] ieee80211_handle_queued_frames+0x103/0x1b0 net/mac80211/main.c:235 tasklet_action_common+0x3cb/0x4a0 handle_softirqs+0x3a7/0x930 kernel/softirq.c:558 __do_softirq kernel/softirq.c:592 [inline] invoke_softirq kernel/softirq.c:432 [inline] __irq_exit_rcu+0x157/0x240 kernel/softirq.c:641 irq_exit_rcu+0x5/0x20 kernel/softirq.c:653 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1108 [inline] sysvec_apic_timer_interrupt+0xa0/0xc0 arch/x86/kernel/apic/apic.c:1108 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676 RIP: 0010:__sanitizer_cov_trace_const_cmp4+0x7c/0x80 kernel/kcov.c:295 Code: 8d 42 28 4c 39 d0 77 22 89 f8 89 f6 48 c7 44 0a 08 05 00 00 00 48 89 44 0a 10 48 89 74 0a 18 4c 89 44 0a 20 49 ff c1 4c 89 09 0f 1f 00 4c 8b 04 24 65 48 8b 0d 34 f8 81 7e 65 8b 05 35 f8 81 RSP: 0018:ffffc90003377bf0 EFLAGS: 00000293 RAX: 0000000000000000 RBX: 0000000000000001 RCX: ffff88802a69bb80 RDX: ffff88802a69bb80 RSI: 0000000000000001 RDI: 0000000000000000 RBP: 0000000000000001 R08: ffffffff8a115f05 R09: fffffbfff20ec821 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000040 R13: dffffc0000000000 R14: ffff88807673cc80 R15: ffff8880248fdc00 rcu_read_unlock include/linux/rcupdate.h:768 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:416 [inline] batadv_nc_worker+0x1c5/0x5b0 net/batman-adv/network-coding.c:723 process_one_work+0x8a1/0x10c0 kernel/workqueue.c:2310 worker_thread+0xaca/0x1280 kernel/workqueue.c:2457 kthread+0x3f6/0x4f0 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 ---------------- Code disassembly (best guess): 0: 8d 42 28 lea 0x28(%rdx),%eax 3: 4c 39 d0 cmp %r10,%rax 6: 77 22 ja 0x2a 8: 89 f8 mov %edi,%eax a: 89 f6 mov %esi,%esi c: 48 c7 44 0a 08 05 00 movq $0x5,0x8(%rdx,%rcx,1) 13: 00 00 15: 48 89 44 0a 10 mov %rax,0x10(%rdx,%rcx,1) 1a: 48 89 74 0a 18 mov %rsi,0x18(%rdx,%rcx,1) 1f: 4c 89 44 0a 20 mov %r8,0x20(%rdx,%rcx,1) 24: 49 ff c1 inc %r9 27: 4c 89 09 mov %r9,(%rcx) * 2a: c3 ret <-- trapping instruction 2b: 0f 1f 00 nopl (%rax) 2e: 4c 8b 04 24 mov (%rsp),%r8 32: 65 48 8b 0d 34 f8 81 mov %gs:0x7e81f834(%rip),%rcx # 0x7e81f86e 39: 7e 3a: 65 gs 3b: 8b .byte 0x8b 3c: 05 .byte 0x5 3d: 35 .byte 0x35 3e: f8 clc 3f: 81 .byte 0x81