------------[ cut here ]------------ WARNING: CPU: 1 PID: 2298 at kernel/bpf/helpers.c:712 try_get_fmt_tmp_buf kernel/bpf/helpers.c:712 [inline] WARNING: CPU: 1 PID: 2298 at kernel/bpf/helpers.c:712 bpf_bprintf_prepare+0xeba/0x10b0 kernel/bpf/helpers.c:760 Modules linked in: CPU: 1 PID: 2298 Comm: syz-executor.0 Not tainted 5.12.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 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 6a 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:ffffc90000dc04e8 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000002 RCX: 0000000000000100 RDX: ffff8880668e54c0 RSI: ffffffff8187f66a RDI: 0000000000000003 RBP: 0000000000000002 R08: 0000000000000001 R09: 0000000000000001 R10: ffffffff8187f204 R11: 0000000000000000 R12: ffffc90000dc0618 R13: 0000000000000100 R14: ffffc90000dc06d0 R15: 0000000000000003 FS: 0000000002a32400(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2d323000 CR3: 00000000308da000 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/0x494 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_net_dev_start_xmit+0xb1/0xe0 include/trace/events/tcp.h:238 trace_net_dev_start_xmit include/trace/events/net.h:14 [inline] xmit_one net/core/dev.c:3653 [inline] dev_hard_start_xmit+0x57b/0x920 net/core/dev.c:3670 __dev_queue_xmit+0x209c/0x2e30 net/core/dev.c:4245 __netlink_deliver_tap_skb net/netlink/af_netlink.c:303 [inline] __netlink_deliver_tap net/netlink/af_netlink.c:321 [inline] netlink_deliver_tap+0x996/0xba0 net/netlink/af_netlink.c:334 __netlink_sendskb net/netlink/af_netlink.c:1256 [inline] netlink_sendskb net/netlink/af_netlink.c:1265 [inline] netlink_unicast+0x697/0x7d0 net/netlink/af_netlink.c:1353 nlmsg_unicast include/net/netlink.h:1050 [inline] genlmsg_unicast include/net/genetlink.h:351 [inline] hwsim_unicast_netgroup+0x466/0x570 drivers/net/wireless/mac80211_hwsim.c:1174 mac80211_hwsim_tx_frame_nl+0xbe1/0xdb0 drivers/net/wireless/mac80211_hwsim.c:1352 mac80211_hwsim_tx_frame+0x10d/0x1e0 drivers/net/wireless/mac80211_hwsim.c:1773 mac80211_hwsim_beacon_tx+0x4ba/0x910 drivers/net/wireless/mac80211_hwsim.c:1829 __iterate_interfaces+0x1e5/0x520 net/mac80211/util.c:793 ieee80211_iterate_active_interfaces_atomic+0x8d/0x170 net/mac80211/util.c:829 mac80211_hwsim_beacon+0xd5/0x1a0 drivers/net/wireless/mac80211_hwsim.c:1852 __run_hrtimer kernel/time/hrtimer.c:1537 [inline] __hrtimer_run_queues+0x609/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:__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:ffffc900019afd80 EFLAGS: 00000206 RAX: 0000000000000002 RBX: 0000000000000200 RCX: 1ffffffff1b92621 RDX: 0000000000000000 RSI: 0000000000000003 RDI: 0000000000000001 RBP: ffffffff8bff5c80 R08: 0000000000000001 R09: 0000000000000001 R10: ffffffff817acf98 R11: 0000000000000000 R12: 0000000000000002 R13: 0000000000000293 R14: 1ffff920001f1006 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/0x4e4 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 trace_sys_exit include/trace/events/syscalls.h:44 [inline] syscall_exit_work kernel/entry/common.c:252 [inline] syscall_exit_to_user_mode_prepare+0x1b4/0x260 kernel/entry/common.c:283 __syscall_exit_to_user_mode_work kernel/entry/common.c:288 [inline] syscall_exit_to_user_mode+0x9/0x60 kernel/entry/common.c:301 do_syscall_64+0x47/0xb0 arch/x86/entry/common.c:57 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x48a7a1 Code: 24 0c 89 3c 24 48 89 4c 24 18 e8 aa e7 ff ff 4c 8b 54 24 18 48 8b 54 24 10 41 89 c0 8b 74 24 0c 8b 3c 24 b8 e6 00 00 00 0f 05 <44> 89 c7 48 89 04 24 e8 e3 e7 ff ff 48 8b 04 24 eb 97 66 2e 0f 1f RSP: 002b:00007fffaa62c5d0 EFLAGS: 00000293 ORIG_RAX: 00000000000000e6 RAX: 0000000000000000 RBX: 0000000000001549 RCX: 000000000048a7a1 RDX: 00007fffaa62c610 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007fffaa62c6ac R08: 0000000000000000 R09: 00007fffaa6c8080 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000032 R13: 00000000002311b4 R14: 0000000000000003 R15: 00007fffaa62c710