------------[ cut here ]------------
WARNING: CPU: 1 PID: 5277 at mm/maccess.c:226 copy_from_user_nofault+0x160/0x1c0 mm/maccess.c:226
Modules linked in:
CPU: 1 PID: 5277 Comm: syz.0.332 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025
RIP: 0010:copy_from_user_nofault+0x160/0x1c0 mm/maccess.c:226
Code: 24 45 31 f6 31 ff 89 de e8 ed f6 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 70 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: ffffffff819ed740 RBX: 0000000000000000 RCX: ffff88805ff50000
RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: dffffc0000000000 R09: ffffed100bfea001
R10: ffffed100bfea001 R11: 1ffff1100bfea000 R12: ffff88805ff51788
R13: 00007ffffffff000 R14: ffffc90000dd09c8 R15: 0000000000000000
FS: 0000555584668500(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000110c302454 CR3: 0000000049048000 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_3d2613b5dfc7747f+0x32/0xbf0
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+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:3516
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:orc_find arch/x86/kernel/unwind_orc.c:169 [inline]
RIP: 0010:unwind_next_frame+0x1ca/0x1d90 arch/x86/kernel/unwind_orc.c:448
Code: f0 0f 86 f5 14 00 00 44 89 f0 4c 8d 24 85 64 46 7d 8e 4c 89 e0 48 c1 e8 03 42 0f b6 04 28 84 c0 0f 85 8b 16 00 00 45 8b 24 24 <44> 89 f0 ff c0 4c 8d 3c 85 64 46 7d 8e 4c 89 f8 48 c1 e8 03 42 0f
RSP: 0018:ffffc900014ef928 EFLAGS: 00000246
RAX: 0000000000000000 RBX: ffffc900014ef9e8 RCX: ffffffff960c1f00
RDX: 000000000008e07f RSI: ffffffff814ed56f RDI: ffffffff8134790c
RBP: ffffffff814ed56e R08: ffffc900014efab0 R09: 0000000000000002
R10: fffff5200029df49 R11: 1ffff9200029df47 R12: 00000000000107ec
R13: dffffc0000000000 R14: 0000000000004ed5 R15: ffffc900014efa30
arch_stack_walk+0x10c/0x140 arch/x86/kernel/stacktrace.c:25
stack_trace_save+0x98/0xe0 kernel/stacktrace.c:122
kasan_save_stack+0x35/0x60 mm/kasan/common.c:38
kasan_record_aux_stack+0xb8/0x100 mm/kasan/generic.c:348
task_work_add+0x2f/0x1d0 kernel/task_work.c:38
fput_many+0xde/0x1a0 fs/file_table.c:367
filp_close+0x10e/0x150 fs/open.c:1369
__range_close fs/file.c:692 [inline]
__close_range+0x208/0x4d0 fs/file.c:747
__do_sys_close_range fs/open.c:1408 [inline]
__se_sys_close_range fs/open.c:1405 [inline]
__x64_sys_close_range+0x76/0x80 fs/open.c:1405
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:0x7fccc1b13be9
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:00007fffd8c6ab28 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4
RAX: ffffffffffffffda RBX: 000000000001acb4 RCX: 00007fccc1b13be9
RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003
RBP: 00007fccc1d4cda0 R08: 0000000000000001 R09: 00000005d8c6ae1f
R10: 0000001b30f20000 R11: 0000000000000246 R12: 00007fccc1d4afac
R13: 00007fccc1d4afa0 R14: ffffffffffffffff R15: 00007fffd8c6ac40
----------------
Code disassembly (best guess):
0: f0 0f 86 f5 14 00 00 lock jbe 0x14fc
7: 44 89 f0 mov %r14d,%eax
a: 4c 8d 24 85 64 46 7d lea -0x7182b99c(,%rax,4),%r12
11: 8e
12: 4c 89 e0 mov %r12,%rax
15: 48 c1 e8 03 shr $0x3,%rax
19: 42 0f b6 04 28 movzbl (%rax,%r13,1),%eax
1e: 84 c0 test %al,%al
20: 0f 85 8b 16 00 00 jne 0x16b1
26: 45 8b 24 24 mov (%r12),%r12d
* 2a: 44 89 f0 mov %r14d,%eax <-- trapping instruction
2d: ff c0 inc %eax
2f: 4c 8d 3c 85 64 46 7d lea -0x7182b99c(,%rax,4),%r15
36: 8e
37: 4c 89 f8 mov %r15,%rax
3a: 48 c1 e8 03 shr $0x3,%rax
3e: 42 rex.X
3f: 0f .byte 0xf