------------[ cut here ]------------ WARNING: CPU: 1 PID: 5608 at mm/maccess.c:226 copy_from_user_nofault+0x15c/0x1c0 Modules linked in: CPU: 1 PID: 5608 Comm: syz-executor158 Not tainted 5.15.173-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/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:ffffc90000dcf8f0 EFLAGS: 00010046 RAX: ffffffff81aaacec RBX: 0000000000000000 RCX: ffff888021470000 RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000 RBP: dffffc0000000000 R08: ffffffff81aaabfd R09: ffffed100428e001 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000020a50000 R13: 0000000000000008 R14: 0000000020a50000 R15: ffffc90000dcf968 FS: 000055558c633480(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000001e6a3000 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_compat kernel/trace/bpf_trace.c:281 [inline] bpf_probe_read_compat+0xe4/0x180 kernel/trace/bpf_trace.c:277 bpf_prog_2dbf287f85779254+0x3d/0x340 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_run5+0x222/0x3e0 kernel/trace/bpf_trace.c:1918 trace_signal_generate+0x182/0x1f0 include/trace/events/signal.h:50 __send_signal+0xadc/0xd40 kernel/signal.c:1184 do_send_sig_info kernel/signal.c:1294 [inline] group_send_sig_info+0x260/0x2d0 kernel/signal.c:1442 bpf_send_signal_common+0x2d8/0x420 kernel/trace/bpf_trace.c:824 ____bpf_send_signal kernel/trace/bpf_trace.c:829 [inline] bpf_send_signal+0x15/0x20 kernel/trace/bpf_trace.c:827 bpf_prog_8cc4ff36b5985b6a+0x15/0x21c 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 packet_rcv+0x151/0x1210 net/packet/af_packet.c:2257 dev_queue_xmit_nit+0x9bb/0xae0 net/core/dev.c:2342 xmit_one net/core/dev.c:3612 [inline] dev_hard_start_xmit+0x137/0x7a0 net/core/dev.c:3633 sch_direct_xmit+0x2b2/0x5e0 net/sched/sch_generic.c:342 __dev_xmit_skb net/core/dev.c:3852 [inline] __dev_queue_xmit+0x1861/0x32b0 net/core/dev.c:4221 NF_HOOK+0x36a/0x410 include/linux/netfilter.h:301 arp_process+0x16db/0x20f0 net/ipv4/arp.c:830 NF_HOOK+0x36a/0x410 include/linux/netfilter.h:301 __netif_receive_skb_list_ptype net/core/dev.c:5541 [inline] __netif_receive_skb_list_core+0x818/0x890 net/core/dev.c:5584 __netif_receive_skb_list net/core/dev.c:5636 [inline] netif_receive_skb_list_internal+0x9ed/0xdf0 net/core/dev.c:5727 gro_normal_list net/core/dev.c:5881 [inline] napi_complete_done+0x352/0x820 net/core/dev.c:6619 virtqueue_napi_complete drivers/net/virtio_net.c:357 [inline] virtnet_poll+0xbd1/0x1260 drivers/net/virtio_net.c:1592 __napi_poll+0xc7/0x440 net/core/dev.c:7043 napi_poll net/core/dev.c:7110 [inline] net_rx_action+0x617/0xda0 net/core/dev.c:7200 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 common_interrupt+0xb3/0xd0 arch/x86/kernel/irq.c:240 asm_common_interrupt+0x22/0x40 arch/x86/include/asm/idtentry.h:667 RIP: 0010:__text_poke+0x84c/0x9e0 arch/x86/kernel/alternative.c:1154 Code: 0b 9c 00 f6 84 24 01 01 00 00 02 0f 85 a8 00 00 00 41 f7 c7 00 02 00 00 48 8b 5c 24 58 74 01 fb 48 b8 00 00 00 00 00 fc ff df <48> 8b 4c 24 50 80 3c 01 00 74 0d 48 8d bc 24 40 01 00 00 e8 ac 0b RSP: 0018:ffffc9000115f7a0 EFLAGS: 00000206 RAX: dffffc0000000000 RBX: 1ffff9200022bf00 RCX: ffffffff81632d68 RDX: dffffc0000000000 RSI: ffffffff8aab2a80 RDI: ffffffff8af9ed00 RBP: ffffc9000115f950 R08: dffffc0000000000 R09: fffffbfff2131021 R10: 0000000000000000 R11: dffffc0000000001 R12: ffffffff8150106e R13: ffff888021470000 R14: ffffc9000115f8a0 R15: 0000000000000246 text_poke arch/x86/kernel/alternative.c:1178 [inline] text_poke_bp_batch+0x64f/0x930 arch/x86/kernel/alternative.c:1485 text_poke_flush arch/x86/kernel/alternative.c:1598 [inline] text_poke_finish+0x16/0x30 arch/x86/kernel/alternative.c:1605 arch_jump_label_transform_apply+0x13/0x20 arch/x86/kernel/jump_label.c:146 static_key_enable_cpuslocked+0x12e/0x250 kernel/jump_label.c:177 static_key_enable+0x16/0x20 kernel/jump_label.c:190 tracepoint_add_func+0x947/0x9d0 kernel/tracepoint.c:361 tracepoint_probe_register_prio_may_exist+0x11e/0x190 kernel/tracepoint.c:482 bpf_raw_tracepoint_open+0x65a/0x750 kernel/bpf/syscall.c:3113 __sys_bpf+0x468/0x670 kernel/bpf/syscall.c:4693 __do_sys_bpf kernel/bpf/syscall.c:4755 [inline] __se_sys_bpf kernel/bpf/syscall.c:4753 [inline] __x64_sys_bpf+0x78/0x90 kernel/bpf/syscall.c:4753 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:0x7f76584ec429 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fffbc779118 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 000000000001955e RCX: 00007f76584ec429 RDX: 0000000000000010 RSI: 00000000200002c0 RDI: 0000000000000011 RBP: 0000000000000000 R08: 00007fffbc77914c R09: 00007fffbc77914c R10: 0000000000000000 R11: 0000000000000246 R12: 00007fffbc77914c R13: 00007fffbc779180 R14: 00007fffbc779160 R15: 0000000000000597 ---------------- Code disassembly (best guess): 0: 0b 9c 00 f6 84 24 01 or 0x12484f6(%rax,%rax,1),%ebx 7: 01 00 add %eax,(%rax) 9: 00 02 add %al,(%rdx) b: 0f 85 a8 00 00 00 jne 0xb9 11: 41 f7 c7 00 02 00 00 test $0x200,%r15d 18: 48 8b 5c 24 58 mov 0x58(%rsp),%rbx 1d: 74 01 je 0x20 1f: fb sti 20: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 27: fc ff df * 2a: 48 8b 4c 24 50 mov 0x50(%rsp),%rcx <-- trapping instruction 2f: 80 3c 01 00 cmpb $0x0,(%rcx,%rax,1) 33: 74 0d je 0x42 35: 48 8d bc 24 40 01 00 lea 0x140(%rsp),%rdi 3c: 00 3d: e8 .byte 0xe8 3e: ac lods %ds:(%rsi),%al 3f: 0b .byte 0xb