------------[ cut here ]------------ WARNING: CPU: 1 PID: 4171 at mm/maccess.c:226 copy_from_user_nofault+0x15c/0x1c0 Modules linked in: CPU: 1 PID: 4171 Comm: syz-executor Not tainted 5.15.173-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 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:ffffc90000dd09a8 EFLAGS: 00010246 RAX: ffffffff81aaacec RBX: 0000000000000000 RCX: ffff888023830000 RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000 RBP: dffffc0000000000 R08: ffffffff81aaabfd R09: fffffbfff20ec821 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: ffffc90000dd0a08 FS: 0000555563dcd500(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7e13f29a8c CR3: 0000000065c75000 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/0x850 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 __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+0x1ce/0x1f0 mm/slub.c:3516 dst_destroy+0x214/0x2f0 net/core/dst.c:120 rcu_do_batch kernel/rcu/tree.c:2523 [inline] rcu_core+0xa15/0x1650 kernel/rcu/tree.c:2763 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:console_unlock+0xe53/0x12b0 kernel/printk/printk.c:2749 Code: 00 48 83 7c 24 18 00 75 19 e8 49 06 1a 00 eb 18 e8 42 06 1a 00 e8 7d 01 ce 08 48 83 7c 24 18 00 74 e7 e8 30 06 1a 00 fb 31 ff <44> 89 f6 e8 85 09 1a 00 31 db 45 85 f6 0f 95 c0 89 c1 0a 4c 24 17 RSP: 0018:ffffc90002e56500 EFLAGS: 00000246 RAX: ffffffff81666d70 RBX: 0000000000000000 RCX: ffff888023830000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc90002e56790 R08: ffffffff81666d3b R09: fffffbfff20ec821 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffffffff1a4c65e R13: ffffffff8d263328 R14: 0000000000000000 R15: dffffc0000000000 vprintk_emit+0xbf/0x150 kernel/printk/printk.c:2274 _printk+0xd1/0x120 kernel/printk/printk.c:2299 batadv_hardif_activate_interface+0x15d/0x390 net/batman-adv/hard-interface.c:671 batadv_hard_if_event+0xbc/0x17a0 net/batman-adv/hard-interface.c:965 notifier_call_chain kernel/notifier.c:83 [inline] raw_notifier_call_chain+0xd0/0x170 kernel/notifier.c:391 __dev_notify_flags+0x304/0x610 dev_change_flags+0xe7/0x190 net/core/dev.c:8897 do_setlink+0xc21/0x3d80 net/core/rtnetlink.c:2776 __rtnl_newlink net/core/rtnetlink.c:3447 [inline] rtnl_newlink+0x17d6/0x2070 net/core/rtnetlink.c:3569 rtnetlink_rcv_msg+0x993/0xee0 net/core/rtnetlink.c:5647 netlink_rcv_skb+0x1cf/0x410 net/netlink/af_netlink.c:2504 netlink_unicast_kernel net/netlink/af_netlink.c:1326 [inline] netlink_unicast+0x7b6/0x980 net/netlink/af_netlink.c:1352 netlink_sendmsg+0xa30/0xd60 net/netlink/af_netlink.c:1920 sock_sendmsg_nosec net/socket.c:704 [inline] __sock_sendmsg net/socket.c:716 [inline] __sys_sendto+0x564/0x720 net/socket.c:2063 __do_sys_sendto net/socket.c:2075 [inline] __se_sys_sendto net/socket.c:2071 [inline] __x64_sys_sendto+0xda/0xf0 net/socket.c:2071 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f25dfd365ec Code: 2a 5a 02 00 44 8b 4c 24 2c 4c 8b 44 24 20 89 c5 44 8b 54 24 28 48 8b 54 24 18 b8 2c 00 00 00 48 8b 74 24 10 8b 7c 24 08 0f 05 <48> 3d 00 f0 ff ff 77 34 89 ef 48 89 44 24 08 e8 70 5a 02 00 48 8b RSP: 002b:00007fff7d24f3d0 EFLAGS: 00000293 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00007f25e0a1a620 RCX: 00007f25dfd365ec RDX: 000000000000002c RSI: 00007f25e0a1a670 RDI: 0000000000000003 RBP: 0000000000000000 R08: 00007fff7d24f424 R09: 000000000000000c R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000003 R13: 0000000000000000 R14: 00007f25e0a1a670 R15: 0000000000000000 ---------------- Code disassembly (best guess): 0: 00 48 83 add %cl,-0x7d(%rax) 3: 7c 24 jl 0x29 5: 18 00 sbb %al,(%rax) 7: 75 19 jne 0x22 9: e8 49 06 1a 00 call 0x1a0657 e: eb 18 jmp 0x28 10: e8 42 06 1a 00 call 0x1a0657 15: e8 7d 01 ce 08 call 0x8ce0197 1a: 48 83 7c 24 18 00 cmpq $0x0,0x18(%rsp) 20: 74 e7 je 0x9 22: e8 30 06 1a 00 call 0x1a0657 27: fb sti 28: 31 ff xor %edi,%edi * 2a: 44 89 f6 mov %r14d,%esi <-- trapping instruction 2d: e8 85 09 1a 00 call 0x1a09b7 32: 31 db xor %ebx,%ebx 34: 45 85 f6 test %r14d,%r14d 37: 0f 95 c0 setne %al 3a: 89 c1 mov %eax,%ecx 3c: 0a 4c 24 17 or 0x17(%rsp),%cl