------------[ cut here ]------------
WARNING: CPU: 1 PID: 18429 at kernel/bpf/helpers.c:712 try_get_fmt_tmp_buf kernel/bpf/helpers.c:712 [inline]
WARNING: CPU: 1 PID: 18429 at kernel/bpf/helpers.c:712 bpf_bprintf_prepare+0xeba/0x10b0 kernel/bpf/helpers.c:760
Modules linked in:
CPU: 1 PID: 18429 Comm: kworker/u4:5 Not tainted 5.12.0-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: phy4 ieee80211_iface_work
RIP: 0010:try_get_fmt_tmp_buf kernel/bpf/helpers.c:712 [inline]
RIP: 0010:bpf_bprintf_prepare+0xeba/0x10b0 kernel/bpf/helpers.c:760
Code: c6 e8 8a ce 63 02 83 c0 01 48 98 48 01 c5 48 89 6c 24 08 e8 58 cc ec ff 8d 6b 02 83 44 24 10 01 e9 d6 f5 ff ff e8 46 cc ec ff <0f> 0b 65 ff 0d cd 08 7b 7e bf 01 00 00 00 41 bc f0 ff ff ff e8 1d
RSP: 0018:ffffc90000dc0640 EFLAGS: 00010046
RAX: 0000000000000000 RBX: 0000000000000002 RCX: 0000000000000100
RDX: ffff88803661d4c0 RSI: ffffffff8187f66a RDI: 0000000000000003
RBP: 0000000000000002 R08: 0000000000000001 R09: 0000000000000001
R10: ffffffff8187f204 R11: 0000000000000000 R12: ffffc90000dc0770
R13: 0000000000000100 R14: ffffc90000dc0828 R15: 0000000000000003
FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f2e4b62a718 CR3: 0000000014997000 CR4: 00000000001506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
____bpf_trace_printk kernel/trace/bpf_trace.c:389 [inline]
bpf_trace_printk+0xab/0x3a0 kernel/trace/bpf_trace.c:380
bpf_prog_0605f9f479290f07+0x2f/0xd04
bpf_dispatcher_nop_func include/linux/bpf.h:687 [inline]
__bpf_trace_run kernel/trace/bpf_trace.c:1788 [inline]
bpf_trace_run2+0x12f/0x390 kernel/trace/bpf_trace.c:1825
__bpf_trace_hrtimer_expire_entry+0xb1/0xe0 include/trace/events/timer.h:232
trace_hrtimer_expire_entry include/trace/events/timer.h:232 [inline]
__run_hrtimer kernel/time/hrtimer.c:1534 [inline]
__hrtimer_run_queues+0x81e/0xe40 kernel/time/hrtimer.c:1601
hrtimer_interrupt+0x330/0xa00 kernel/time/hrtimer.c:1663
local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1089 [inline]
__sysvec_apic_timer_interrupt+0x146/0x540 arch/x86/kernel/apic/apic.c:1106
sysvec_apic_timer_interrupt+0x40/0xc0 arch/x86/kernel/apic/apic.c:1100
asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:632
RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:161 [inline]
RIP: 0010:_raw_spin_unlock_irqrestore+0x38/0x70 kernel/locking/spinlock.c:191
Code: 74 24 10 e8 9a 17 41 f8 48 89 ef e8 32 90 41 f8 81 e3 00 02 00 00 75 25 9c 58 f6 c4 02 75 2d 48 85 db 74 01 fb bf 01 00 00 00 63 98 35 f8 65 8b 05 7c a1 e8 76 85 c0 74 0a 5b 5d c3 e8 10 81
RSP: 0018:ffffc90000dc0c00 EFLAGS: 00000206
RAX: 0000000000000006 RBX: 0000000000000200 RCX: 1ffffffff2050b1a
RDX: 0000000000000000 RSI: 0000000000000104 RDI: 0000000000000001
RBP: ffffffff8bff5c80 R08: 0000000000000001 R09: ffffffff9025f907
R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000002
R13: 0000000000000246 R14: 1ffff92000240c06 R15: 0000000000000003
____bpf_trace_printk kernel/trace/bpf_trace.c:398 [inline]
bpf_trace_printk+0x172/0x3a0 kernel/trace/bpf_trace.c:380
bpf_prog_0605f9f479290f07+0x2f/0xd04
bpf_dispatcher_nop_func include/linux/bpf.h:687 [inline]
__bpf_trace_run kernel/trace/bpf_trace.c:1788 [inline]
bpf_trace_run2+0x12f/0x390 kernel/trace/bpf_trace.c:1825
__bpf_trace_hrtimer_expire_entry+0xb1/0xe0 include/trace/events/timer.h:232
trace_hrtimer_expire_entry include/trace/events/timer.h:232 [inline]
__run_hrtimer kernel/time/hrtimer.c:1534 [inline]
__hrtimer_run_queues+0x81e/0xe40 kernel/time/hrtimer.c:1601
hrtimer_run_softirq+0x17b/0x360 kernel/time/hrtimer.c:1618
__do_softirq+0x29b/0x9f6 kernel/softirq.c:559
invoke_softirq kernel/softirq.c:433 [inline]
__irq_exit_rcu+0x136/0x200 kernel/softirq.c:637
irq_exit_rcu+0x5/0x20 kernel/softirq.c:649
sysvec_apic_timer_interrupt+0x93/0xc0 arch/x86/kernel/apic/apic.c:1100
asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:632
RIP: 0010:trace_kmalloc include/trace/events/kmem.h:46 [inline]
RIP: 0010:trace_kmalloc+0x30/0xf0 include/trace/events/kmem.h:46
Code: 8b 05 ec 65 48 7e 83 f8 07 0f 87 99 00 00 00 89 c0 48 0f a3 05 c1 3c 10 0c 72 01 c3 65 ff 05 27 c0 48 7e 48 8b 05 e0 66 fc 0b bb 60 5d 07 85 c0 74 09 80 3d 7a b4 fb 0b 00 74 77 65 ff 0d 07
RSP: 0018:ffffc90001f9f458 EFLAGS: 00000283
RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000080
RDX: 0000000000000041 RSI: ffff88802387b700 RDI: ffffffff8877c551
RBP: ffff888011041780 R08: 0000000000000a20 R09: ffff88802387b700
R10: fffff520003f3f21 R11: 0000000000000000 R12: 0000000000000a20
R13: ffff88802387b700 R14: 0000000000000041 R15: 0000000000000a20
__kmalloc+0x194/0x330 mm/slub.c:4065
kmalloc include/linux/slab.h:561 [inline]
ieee802_11_parse_elems_crc+0x121/0xfe0 net/mac80211/util.c:1465
ieee802_11_parse_elems net/mac80211/ieee80211_i.h:2043 [inline]
ieee80211_rx_mgmt_probe_beacon+0x188/0x16b0 net/mac80211/ibss.c:1612
ieee80211_ibss_rx_queued_mgmt+0xe43/0x1870 net/mac80211/ibss.c:1642
ieee80211_iface_work+0x761/0x9e0 net/mac80211/iface.c:1441
process_one_work+0x98d/0x1600 kernel/workqueue.c:2275
worker_thread+0x64c/0x1120 kernel/workqueue.c:2421
kthread+0x3b1/0x4a0 kernel/kthread.c:313
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294