------------[ cut here ]------------ WARNING: CPU: 1 PID: 4882 at mm/maccess.c:226 copy_from_user_nofault+0x160/0x1c0 mm/maccess.c:226 Modules linked in: CPU: 1 PID: 4882 Comm: syz.1.112 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/2025 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:ffffc90000dd0958 EFLAGS: 00010246 RAX: ffffffff819ed760 RBX: 0000000000000000 RCX: ffff88801fc90000 RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: dffffc0000000000 R09: ffffed1003f92001 R10: ffffed1003f92001 R11: 1ffff11003f92000 R12: ffff88801fc91788 R13: 00007ffffffff000 R14: ffffc90000dd09c8 R15: 0000000020000000 FS: 00007efe4e3d76c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f4e7ea0ef98 CR3: 000000007759e000 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+0xdd/0x170 kernel/trace/bpf_trace.c:277 bpf_prog_24fd3d61f59b453e+0x3a/0xd24 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 mac80211_hwsim_beacon_tx+0x4f3/0x920 drivers/net/wireless/mac80211_hwsim.c:1842 __iterate_interfaces+0x243/0x500 net/mac80211/util.c:793 ieee80211_iterate_active_interfaces_atomic+0xb3/0x140 net/mac80211/util.c:829 mac80211_hwsim_beacon+0x9b/0x180 drivers/net/wireless/mac80211_hwsim.c:1865 __run_hrtimer kernel/time/hrtimer.c:1690 [inline] __hrtimer_run_queues+0x53d/0xc40 kernel/time/hrtimer.c:1754 hrtimer_run_softirq+0x176/0x240 kernel/time/hrtimer.c:1771 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:cpu_max_bits_warn include/linux/cpumask.h:108 [inline] RIP: 0010:cpumask_check include/linux/cpumask.h:115 [inline] RIP: 0010:cpumask_test_cpu include/linux/cpumask.h:344 [inline] RIP: 0010:cpu_online include/linux/cpumask.h:895 [inline] RIP: 0010:trace_skb_copy_datagram_iovec include/trace/events/skb.h:88 [inline] RIP: 0010:skb_copy_datagram_iter+0x3e/0x1f0 net/core/datagram.c:540 Code: e8 17 f0 a4 f9 0f 1f 44 00 00 e8 0d f0 a4 f9 65 44 8b 25 3d 3a 2f 78 bf 07 00 00 00 44 89 e6 e8 58 f3 a4 f9 41 83 fc 07 77 7e ed ef a4 f9 45 89 e5 41 c1 ec 06 4a 8d 3c e5 e8 91 69 8d be 08 RSP: 0018:ffffc900030ef728 EFLAGS: 00000297 RAX: ffffffff87d2db28 RBX: 0000000000000000 RCX: ffff88801fc90000 RDX: 0000000000000002 RSI: 0000000000000001 RDI: 0000000000000007 RBP: 0000000000000000 R08: dffffc0000000000 R09: fffffbfff1ff782f R10: fffffbfff1ff782f R11: 1ffffffff1ff782e R12: 0000000000000001 R13: ffffc900030efd40 R14: ffffc900030efd50 R15: ffff88805dff0a00 skb_copy_datagram_msg include/linux/skbuff.h:3773 [inline] __unix_dgram_recvmsg+0x671/0xd50 net/unix/af_unix.c:2354 ____sys_recvmsg+0x291/0x580 net/socket.c:-1 ___sys_recvmsg+0x1af/0x4f0 net/socket.c:2697 do_recvmmsg+0x344/0x7a0 net/socket.c:2791 __sys_recvmmsg net/socket.c:2870 [inline] __do_sys_recvmmsg net/socket.c:2893 [inline] __se_sys_recvmmsg net/socket.c:2886 [inline] __x64_sys_recvmmsg+0x18d/0x240 net/socket.c:2886 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7efe50190ec9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007efe4e3d7038 EFLAGS: 00000246 ORIG_RAX: 000000000000012b RAX: ffffffffffffffda RBX: 00007efe503e8090 RCX: 00007efe50190ec9 RDX: 0000000000010106 RSI: 00002000000000c0 RDI: 0000000000000005 RBP: 00007efe50213f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000000 R13: 00007efe503e8128 R14: 00007efe503e8090 R15: 00007fffa7e2f608 ---------------- Code disassembly (best guess): 0: e8 17 f0 a4 f9 call 0xf9a4f01c 5: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) a: e8 0d f0 a4 f9 call 0xf9a4f01c f: 65 44 8b 25 3d 3a 2f mov %gs:0x782f3a3d(%rip),%r12d # 0x782f3a54 16: 78 17: bf 07 00 00 00 mov $0x7,%edi 1c: 44 89 e6 mov %r12d,%esi 1f: e8 58 f3 a4 f9 call 0xf9a4f37c 24: 41 83 fc 07 cmp $0x7,%r12d 28: 77 7e ja 0xa8 * 2a: e8 ed ef a4 f9 call 0xf9a4f01c <-- trapping instruction 2f: 45 89 e5 mov %r12d,%r13d 32: 41 c1 ec 06 shr $0x6,%r12d 36: 4a 8d 3c e5 e8 91 69 lea -0x72966e18(,%r12,8),%rdi 3d: 8d 3e: be .byte 0xbe 3f: 08 .byte 0x8