------------[ cut here ]------------ WARNING: CPU: 1 PID: 4283 at mm/maccess.c:226 copy_from_user_nofault+0x15c/0x1c0 Modules linked in: CPU: 1 PID: 4283 Comm: syz.2.11 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: 0000:ffffc90000dd0950 EFLAGS: 00010246 RAX: ffffffff81aaacec RBX: 0000000000000000 RCX: ffff888022c3bb80 RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000 RBP: dffffc0000000000 R08: ffffffff81aaabfd R09: ffffed1004587771 R10: 0000000000000000 R11: dffffc0000000001 R12: 000000000a010000 R13: 0000000000000000 R14: 000000000a010000 R15: ffffc90000dd09c8 FS: 0000555585ae1500(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b3021fffc CR3: 0000000024b00000 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_f8835795983ece0c+0x35/0xadc 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 mac80211_hwsim_beacon_tx+0x48f/0x8a0 drivers/net/wireless/mac80211_hwsim.c:1842 __iterate_interfaces+0x21e/0x4b0 net/mac80211/util.c:793 ieee80211_iterate_active_interfaces_atomic+0xaf/0x140 net/mac80211/util.c:829 mac80211_hwsim_beacon+0xa7/0x180 drivers/net/wireless/mac80211_hwsim.c:1865 __run_hrtimer kernel/time/hrtimer.c:1688 [inline] __hrtimer_run_queues+0x598/0xcf0 kernel/time/hrtimer.c:1752 hrtimer_run_softirq+0x196/0x2c0 kernel/time/hrtimer.c:1769 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:exit_to_user_mode_loop+0x3d/0x130 kernel/entry/common.c:168 Code: 49 89 fe eb 1c e8 c3 c4 c6 08 65 48 8b 05 eb b1 94 7e 48 8b 18 f7 c3 0e 30 02 00 0f 84 e6 00 00 00 e8 07 34 19 00 fb f6 c3 08 <74> 05 e8 0c 0b cf 08 f7 c3 00 10 00 00 74 08 4c 89 f7 e8 6c d9 38 RSP: 0000:ffffc900011eff10 EFLAGS: 00000202 RAX: f35f3e1819156100 RBX: 0000000000000008 RCX: ffffffff9686af03 RDX: dffffc0000000000 RSI: ffffffff8a8b2a80 RDI: ffffffff8ad90540 RBP: 0000000000000000 R08: ffffffff8186f220 R09: fffffbfff1bd2d3e R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000 R13: 0000000000000000 R14: ffffc900011eff58 R15: ffff888022c3bb80 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:214 irqentry_exit_to_user_mode+0x5/0x30 kernel/entry/common.c:320 asm_sysvec_reschedule_ipi+0x16/0x20 arch/x86/include/asm/idtentry.h:681 RIP: 0033:0x7ff366213d05 Code: 8b 43 28 48 83 c4 38 5b 5d 41 5c 41 5d 41 5e 41 5f c3 0f 1f 00 c6 44 24 1e 01 48 89 ee 44 89 e7 4c 89 44 24 10 4c 89 54 24 08 96 1b fe ff 4c 8b 54 24 08 4c 8b 44 24 10 84 c0 0f 85 60 ff ff RSP: 002b:00007fff0018f840 EFLAGS: 00000246 RAX: 00000000000083da RBX: 00007ff36701c720 RCX: 00000000000000f9 RDX: ffffffff818a8a2f RSI: ffffffff818a859d RDI: 0000000000000001 RBP: ffffffff818a859d R08: 00007ff3664ed038 R09: 00007ff3664d9000 R10: 00007ff3659b6008 R11: 0000000000000001 R12: 0000000000000001 R13: 0000000000000000 R14: ffffffff818a8a2f R15: 00000000000000f9 ---------------- Code disassembly (best guess): 0: 49 89 fe mov %rdi,%r14 3: eb 1c jmp 0x21 5: e8 c3 c4 c6 08 call 0x8c6c4cd a: 65 48 8b 05 eb b1 94 mov %gs:0x7e94b1eb(%rip),%rax # 0x7e94b1fd 11: 7e 12: 48 8b 18 mov (%rax),%rbx 15: f7 c3 0e 30 02 00 test $0x2300e,%ebx 1b: 0f 84 e6 00 00 00 je 0x107 21: e8 07 34 19 00 call 0x19342d 26: fb sti 27: f6 c3 08 test $0x8,%bl * 2a: 74 05 je 0x31 <-- trapping instruction 2c: e8 0c 0b cf 08 call 0x8cf0b3d 31: f7 c3 00 10 00 00 test $0x1000,%ebx 37: 74 08 je 0x41 39: 4c 89 f7 mov %r14,%rdi 3c: e8 .byte 0xe8 3d: 6c insb (%dx),%es:(%rdi) 3e: d9 38 fnstcw (%rax)