------------[ cut here ]------------ WARNING: CPU: 1 PID: 4299 at mm/maccess.c:226 copy_from_user_nofault+0x15c/0x1c0 Modules linked in: CPU: 1 PID: 4299 Comm: modprobe Not tainted 5.15.170-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 0b c7 d5 ff 48 c7 c0 f2 ff ff ff 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 f4 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:ffffc90000dd08e8 EFLAGS: 00010246 RAX: ffffffff81aaaccc RBX: 0000000000000000 RCX: ffff888077913b80 RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000 RBP: dffffc0000000000 R08: ffffffff81aaabdd R09: fffffbfff20ec621 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: ffffc90000dd0948 FS: 0000000000000000(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb97b023018 CR3: 0000000060804000 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_690f12e098ef46de+0x32/0xba0 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_run2+0x19e/0x340 kernel/trace/bpf_trace.c:1915 __bpf_trace_kfree+0x6e/0x90 include/trace/events/kmem.h:118 trace_kfree include/trace/events/kmem.h:118 [inline] kfree+0x22f/0x270 mm/slub.c:4549 skb_free_head net/core/skbuff.c:655 [inline] skb_release_data+0x73a/0x8a0 net/core/skbuff.c:677 skb_release_all net/core/skbuff.c:742 [inline] __kfree_skb net/core/skbuff.c:756 [inline] consume_skb+0xa3/0x140 net/core/skbuff.c:914 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:should_fail+0x171/0x4c0 lib/fault-inject.c:152 Code: ff ff ff cd 42 0f b6 04 2b 84 c0 0f 85 8c 02 00 00 41 89 2c 24 85 ed 0f 84 98 00 00 00 31 db 89 d8 48 83 c4 18 5b 41 5c 41 5d <41> 5e 41 5f 5d c3 49 8d 5f 08 48 89 d8 48 c1 e8 03 42 80 3c 28 00 RSP: 0018:ffffc900031a7b60 EFLAGS: 00000286 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffff888077913b80 RDX: ffff888077913b80 RSI: 0000000000001000 RDI: ffffffff8c9f5c20 RBP: 1ffffffff193eb84 R08: dffffc0000000000 R09: fffffbfff1bd2cce R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8880171ea500 R13: dffffc0000000000 R14: 0000000000001000 R15: ffffffff8c9f5c20 should_failslab+0x5/0x20 mm/slab_common.c:1344 slab_pre_alloc_hook+0x53/0xc0 mm/slab.h:494 slab_alloc_node mm/slub.c:3134 [inline] slab_alloc mm/slub.c:3228 [inline] kmem_cache_alloc+0x3f/0x280 mm/slub.c:3233 getname_flags+0xb8/0x4e0 fs/namei.c:138 user_path_at_empty+0x2a/0x180 fs/namei.c:2882 user_path_at include/linux/namei.h:57 [inline] vfs_statx+0x106/0x3b0 fs/stat.c:221 vfs_fstatat fs/stat.c:243 [inline] __do_sys_newfstatat fs/stat.c:411 [inline] __se_sys_newfstatat fs/stat.c:405 [inline] __x64_sys_newfstatat+0x12c/0x1b0 fs/stat.c:405 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:0x7fb97b0408a9 Code: 49 01 00 09 00 00 00 83 c8 ff c3 48 89 f2 b9 00 01 00 00 48 89 fe bf 9c ff ff ff e9 00 00 00 00 41 89 ca b8 06 01 00 00 0f 05 <45> 31 c0 3d 00 f0 ff ff 76 0c f7 d8 41 83 c8 ff 89 05 a1 49 01 00 RSP: 002b:00007ffde3e112b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000106 RAX: ffffffffffffffda RBX: 00007fb97b023000 RCX: 00007fb97b0408a9 RDX: 00007ffde3e11360 RSI: 00007ffde3e112c0 RDI: 00000000ffffff9c RBP: 00007ffde3e11420 R08: 0000000000080000 R09: 00007ffde3e112c0 R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffde3e112c0 R13: 0000000000000008 R14: 00007fb97b052a40 R15: 00000000ffffffff ---------------- Code disassembly (best guess), 2 bytes skipped: 0: ff cd dec %ebp 2: 42 0f b6 04 2b movzbl (%rbx,%r13,1),%eax 7: 84 c0 test %al,%al 9: 0f 85 8c 02 00 00 jne 0x29b f: 41 89 2c 24 mov %ebp,(%r12) 13: 85 ed test %ebp,%ebp 15: 0f 84 98 00 00 00 je 0xb3 1b: 31 db xor %ebx,%ebx 1d: 89 d8 mov %ebx,%eax 1f: 48 83 c4 18 add $0x18,%rsp 23: 5b pop %rbx 24: 41 5c pop %r12 26: 41 5d pop %r13 * 28: 41 5e pop %r14 <-- trapping instruction 2a: 41 5f pop %r15 2c: 5d pop %rbp 2d: c3 ret 2e: 49 8d 5f 08 lea 0x8(%r15),%rbx 32: 48 89 d8 mov %rbx,%rax 35: 48 c1 e8 03 shr $0x3,%rax 39: 42 80 3c 28 00 cmpb $0x0,(%rax,%r13,1)