------------[ cut here ]------------ WARNING: CPU: 0 PID: 3587 at mm/maccess.c:226 copy_from_user_nofault+0x15c/0x1c0 Modules linked in: CPU: 0 PID: 3587 Comm: kworker/0:5 Not tainted 5.15.165-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 Workqueue: events bpf_map_free_deferred 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 2b c8 d5 ff 48 c7 c0 f2 ff ff ff 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 14 c8 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:ffffc90000007c08 EFLAGS: 00010006 RAX: ffffffff81aa998c RBX: 0000000000000000 RCX: ffff88801f283b80 RDX: 0000000000010000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: dffffc0000000000 R08: ffffffff81aa989d R09: ffffed1003e50771 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: ffffc90000007c88 FS: 0000000000000000(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb91f05c0d0 CR3: 000000000c68e000 CR4: 00000000003506f0 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_f3c4d654356a1293+0x34/0xa64 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:1880 [inline] bpf_trace_run2+0x19e/0x340 kernel/trace/bpf_trace.c:1917 __traceiter_tlb_flush+0x6c/0xc0 include/trace/events/tlb.h:38 trace_tlb_flush+0xed/0x110 include/trace/events/tlb.h:38 switch_mm_irqs_off+0x748/0xa30 flush_tlb_func+0x208/0x590 arch/x86/mm/tlb.c:769 flush_smp_call_function_queue+0x2b5/0x760 kernel/smp.c:628 __sysvec_call_function_single+0x9a/0x250 arch/x86/kernel/smp.c:248 sysvec_call_function_single+0x89/0xb0 arch/x86/kernel/smp.c:243 asm_sysvec_call_function_single+0x16/0x20 arch/x86/include/asm/idtentry.h:646 RIP: 0010:kasan_quarantine_put+0x84/0x220 mm/kasan/quarantine.c:234 Code: e8 11 b0 bc ff 48 c7 04 24 00 00 00 00 9c 8f 04 24 f7 04 24 00 02 00 00 0f 85 83 00 00 00 41 f7 c7 00 02 00 00 74 01 fb 31 c0 <48> 83 c4 08 5b 41 5c 41 5d 41 5e 41 5f c3 48 8d 80 00 62 03 00 45 RSP: 0018:ffffc90002de7b78 EFLAGS: 00000206 RAX: bec6b86ab21d2a01 RBX: ffff88807464a800 RCX: ffffffff81631a88 RDX: dffffc0000000000 RSI: ffffffff8a8b2a20 RDI: ffffffff8ad8f7c0 RBP: ffffc90002de7c10 R08: dffffc0000000000 R09: fffffbfff20e1e32 R10: 0000000000000000 R11: dffffc0000000001 R12: ffffc90002de7c08 R13: ffff88801704c000 R14: 00000000000596f0 R15: 0000000000000286 kasan_slab_free include/linux/kasan.h:230 [inline] slab_free_hook mm/slub.c:1705 [inline] slab_free_freelist_hook+0xdd/0x160 mm/slub.c:1731 slab_free mm/slub.c:3499 [inline] kfree+0xf1/0x270 mm/slub.c:4559 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: e8 11 b0 bc ff call 0xffbcb016 5: 48 c7 04 24 00 00 00 movq $0x0,(%rsp) c: 00 d: 9c pushf e: 8f 04 24 pop (%rsp) 11: f7 04 24 00 02 00 00 testl $0x200,(%rsp) 18: 0f 85 83 00 00 00 jne 0xa1 1e: 41 f7 c7 00 02 00 00 test $0x200,%r15d 25: 74 01 je 0x28 27: fb sti 28: 31 c0 xor %eax,%eax * 2a: 48 83 c4 08 add $0x8,%rsp <-- trapping instruction 2e: 5b pop %rbx 2f: 41 5c pop %r12 31: 41 5d pop %r13 33: 41 5e pop %r14 35: 41 5f pop %r15 37: c3 ret 38: 48 8d 80 00 62 03 00 lea 0x36200(%rax),%rax 3f: 45 rex.RB