------------[ cut here ]------------
WARNING: CPU: 1 PID: 4260 at mm/maccess.c:226 copy_from_user_nofault+0x160/0x1c0 mm/maccess.c:226
Modules linked in:
CPU: 1 PID: 4260 Comm: kworker/u4:5 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/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 3d 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 c0 f3 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:ffffc90000dd0a08 EFLAGS: 00010246
RAX: ffffffff819ed760 RBX: 0000000000000000 RCX: ffff8880296c5940
RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: dffffc0000000000 R09: fffffbfff1ff7819
R10: fffffbfff1ff7819 R11: 1ffffffff1ff7818 R12: ffff8880296c70c8
R13: 1ffff920001ba150 R14: ffffc90000dd0a68 R15: 0000000000000000
FS: 0000000000000000(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 000000001e6d4000 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_7e47b8e39696360c+0x32/0x838
bpf_dispatcher_nop_func include/linux/bpf.h:888 [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+0x17e/0x320 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+0x1e7/0x210 mm/slub.c:3521
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 kernel/softirq.c:610 [inline]
invoke_softirq kernel/softirq.c:450 [inline]
__irq_exit_rcu+0x12f/0x220 kernel/softirq.c:659
irq_exit_rcu+0x5/0x20 kernel/softirq.c:671
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:should_resched arch/x86/include/asm/preempt.h:103 [inline]
RIP: 0010:__local_bh_enable_ip+0x132/0x1b0 kernel/softirq.c:408
Code: 8a e8 52 8c 60 08 65 66 8b 05 ca 25 bb 7e 66 85 c0 75 54 bf 01 00 00 00 e8 9b fe 08 00 e8 06 76 35 00 fb 65 8b 05 76 fc b9 7e <85> c0 75 05 e8 25 07 b8 ff 48 c7 04 24 0e 36 e0 45 4b c7 04 37 00
RSP: 0018:ffffc9000335faa0 EFLAGS: 00000286
RAX: 0000000080000000 RBX: 0000000000000201 RCX: 8e2af61a6d64e100
RDX: dffffc0000000000 RSI: ffffffff8a0b1820 RDI: ffffffff8a59a480
RBP: ffffc9000335fb38 R08: dffffc0000000000 R09: fffffbfff1ff7837
R10: fffffbfff1ff7837 R11: 1ffffffff1ff7836 R12: ffffffff897ea836
R13: dffffc0000000000 R14: dffffc0000000000 R15: 1ffff9200066bf54
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
----------------
Code disassembly (best guess):
0: 8a e8 mov %al,%ch
2: 52 push %rdx
3: 8c 60 08 mov %fs,0x8(%rax)
6: 65 66 8b 05 ca 25 bb mov %gs:0x7ebb25ca(%rip),%ax # 0x7ebb25d8
d: 7e
e: 66 85 c0 test %ax,%ax
11: 75 54 jne 0x67
13: bf 01 00 00 00 mov $0x1,%edi
18: e8 9b fe 08 00 call 0x8feb8
1d: e8 06 76 35 00 call 0x357628
22: fb sti
23: 65 8b 05 76 fc b9 7e mov %gs:0x7eb9fc76(%rip),%eax # 0x7eb9fca0
* 2a: 85 c0 test %eax,%eax <-- trapping instruction
2c: 75 05 jne 0x33
2e: e8 25 07 b8 ff call 0xffb80758
33: 48 c7 04 24 0e 36 e0 movq $0x45e0360e,(%rsp)
3a: 45
3b: 4b rex.WXB
3c: c7 .byte 0xc7
3d: 04 37 add $0x37,%al