------------[ cut here ]------------
WARNING: CPU: 0 PID: 4835 at mm/maccess.c:226 copy_from_user_nofault+0x15c/0x1c0
Modules linked in:
CPU: 0 PID: 4835 Comm: syz.2.213 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: 0018:ffffc90000007368 EFLAGS: 00010246
RAX: ffffffff81aaacec RBX: 0000000000000000 RCX: ffff8880294d8000
RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000
RBP: dffffc0000000000 R08: ffffffff81aaabfd R09: fffffbfff20ec821
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000020003d28
R13: 0000000000000008 R14: 0000000020003d28 R15: ffffc900000073c8
FS: 00007fcd026e46c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020003d28 CR3: 000000002a29a000 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_user kernel/trace/bpf_trace.c:166 [inline]
bpf_probe_read_user+0x26/0x70 kernel/trace/bpf_trace.c:163
bpf_prog_b4614f1d74b4343c+0x38/0xad4
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_run4+0x1ea/0x390 kernel/trace/bpf_trace.c:1917
__bpf_trace_mm_page_alloc+0xba/0xe0 include/trace/events/kmem.h:201
trace_mm_page_alloc include/trace/events/kmem.h:201 [inline]
__alloc_pages+0x6e0/0x700 mm/page_alloc.c:5486
alloc_slab_page mm/slub.c:1775 [inline]
allocate_slab mm/slub.c:1912 [inline]
new_slab+0xbb/0x4b0 mm/slub.c:1975
___slab_alloc+0x6f6/0xe10 mm/slub.c:3008
__slab_alloc mm/slub.c:3095 [inline]
slab_alloc_node mm/slub.c:3186 [inline]
kmem_cache_alloc_node+0x1ba/0x2c0 mm/slub.c:3256
__alloc_skb+0xdd/0x590 net/core/skbuff.c:415
__netdev_alloc_skb+0xfb/0x4e0 net/core/skbuff.c:494
netdev_alloc_skb include/linux/skbuff.h:3001 [inline]
dev_alloc_skb include/linux/skbuff.h:3014 [inline]
__ieee80211_beacon_get+0x968/0x2080 net/mac80211/tx.c:5080
ieee80211_beacon_get_tim+0xb7/0x950 net/mac80211/tx.c:5194
ieee80211_beacon_get include/net/mac80211.h:4981 [inline]
mac80211_hwsim_beacon_tx+0xe2/0x8a0 drivers/net/wireless/mac80211_hwsim.c:1812
__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:unwind_next_frame+0x139/0x1fa0 arch/x86/kernel/unwind_orc.c:448
Code: 89 df e8 da b1 91 00 48 ba 00 00 00 00 00 fc ff df f6 03 03 0f 85 83 15 00 00 49 8d 6f 35 49 89 ec 49 c1 ec 03 41 0f b6 04 14 <84> c0 0f 85 f1 16 00 00 4c 0f be 6d 00 48 8b 44 24 28 80 3c 10 00
RSP: 0018:ffffc90003286b88 EFLAGS: 00000a07
RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff8a3e1300
RDX: dffffc0000000000 RSI: ffffffff8a342b8b RDI: ffffffff813899ab
RBP: ffffc90003286c75 R08: 000000000000000a R09: ffffc90003286d30
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff92000650d8e
R13: ffffffff816e0980 R14: ffffffff8a342b8b R15: ffffc90003286c40
arch_stack_walk+0x10d/0x140 arch/x86/kernel/stacktrace.c:25
stack_trace_save+0x113/0x1c0 kernel/stacktrace.c:122
kasan_save_stack mm/kasan/common.c:38 [inline]
kasan_set_track mm/kasan/common.c:46 [inline]
set_alloc_info mm/kasan/common.c:434 [inline]
____kasan_kmalloc+0xba/0xf0 mm/kasan/common.c:513
kasan_kmalloc include/linux/kasan.h:264 [inline]
__kmalloc_track_caller+0x166/0x300 mm/slub.c:4930
copy_array kernel/bpf/verifier.c:778 [inline]
copy_verifier_state+0xe7/0xc80 kernel/bpf/verifier.c:959
push_stack+0x19d/0x4f0 kernel/bpf/verifier.c:1057
check_cond_jmp_op kernel/bpf/verifier.c:9338 [inline]
do_check+0xceb7/0xf310 kernel/bpf/verifier.c:11469
do_check_common+0x844/0x1070 kernel/bpf/verifier.c:13482
do_check_main kernel/bpf/verifier.c:13545 [inline]
bpf_check+0xcb96/0x12d40 kernel/bpf/verifier.c:14116
bpf_prog_load+0x12b3/0x1b60 kernel/bpf/syscall.c:2353
__sys_bpf+0x343/0x670 kernel/bpf/syscall.c:4651
__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:0x7fcd0426c759
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:00007fcd026e4038 EFLAGS: 00000246 ORIG_RAX: 0000000000000141
RAX: ffffffffffffffda RBX: 00007fcd04423f80 RCX: 00007fcd0426c759
RDX: 0000000000000048 RSI: 00000000200054c0 RDI: 0000000000000005
RBP: 00007fcd042df75e R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007fcd04423f80 R15: 00007ffcbbc2f2e8
----------------
Code disassembly (best guess):
0: 89 df mov %ebx,%edi
2: e8 da b1 91 00 call 0x91b1e1
7: 48 ba 00 00 00 00 00 movabs $0xdffffc0000000000,%rdx
e: fc ff df
11: f6 03 03 testb $0x3,(%rbx)
14: 0f 85 83 15 00 00 jne 0x159d
1a: 49 8d 6f 35 lea 0x35(%r15),%rbp
1e: 49 89 ec mov %rbp,%r12
21: 49 c1 ec 03 shr $0x3,%r12
25: 41 0f b6 04 14 movzbl (%r12,%rdx,1),%eax
* 2a: 84 c0 test %al,%al <-- trapping instruction
2c: 0f 85 f1 16 00 00 jne 0x1723
32: 4c 0f be 6d 00 movsbq 0x0(%rbp),%r13
37: 48 8b 44 24 28 mov 0x28(%rsp),%rax
3c: 80 3c 10 00 cmpb $0x0,(%rax,%rdx,1)