------------[ cut here ]------------
WARNING: CPU: 1 PID: 8404 at mm/maccess.c:226 copy_from_user_nofault+0x160/0x1c0 mm/maccess.c:226
Modules linked in:
CPU: 1 PID: 8404 Comm: kworker/u4:15 Not tainted 5.15.182-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/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 7d e6 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 00 e3 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:ffffc90000dd0a78 EFLAGS: 00010246
RAX: ffffffff819fdb10 RBX: 0000000000000000 RCX: ffff88801e010000
RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: ffffffff8eeaf048 R09: ffffffff8eeaf058
R10: ffffffff8eeaf050 R11: ffffffff8eeaf043 R12: ffff88801e011788
R13: dffffc0000000000 R14: ffffc90000dd0ad8 R15: 0000000000000000
FS: 0000000000000000(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f4c04b86000 CR3: 0000000022158000 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_53121ee8f905f687+0x35/0x2e4
bpf_dispatcher_nop_func include/linux/bpf.h:790 [inline]
__bpf_prog_run include/linux/filter.h:621 [inline]
bpf_prog_run include/linux/filter.h:635 [inline]
bpf_prog_run_pin_on_cpu include/linux/filter.h:652 [inline]
bpf_prog_run_clear_cb+0x108/0x1a0 include/linux/filter.h:786
fanout_demux_bpf net/packet/af_packet.c:1464 [inline]
packet_rcv_fanout+0x349/0x640 net/packet/af_packet.c:1516
__netif_receive_skb_one_core net/core/dev.c:5525 [inline]
__netif_receive_skb+0xcc/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:558
do_softirq+0x13b/0x200 kernel/softirq.c:459
__local_bh_enable_ip+0x174/0x1b0 kernel/softirq.c:383
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