------------[ cut here ]------------ WARNING: CPU: 1 PID: 8594 at kernel/bpf/helpers.c:712 try_get_fmt_tmp_buf kernel/bpf/helpers.c:712 [inline] WARNING: CPU: 1 PID: 8594 at kernel/bpf/helpers.c:712 bpf_bprintf_prepare+0xeba/0x10b0 kernel/bpf/helpers.c:760 Modules linked in: CPU: 1 PID: 8594 Comm: syz-executor.1 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 ca 9d 63 02 83 c0 01 48 98 48 01 c5 48 89 6c 24 08 e8 d8 dc ec ff 8d 6b 02 83 44 24 10 01 e9 d6 f5 ff ff e8 c6 dc ec ff <0f> 0b 65 ff 0d 4d 19 7b 7e bf 01 00 00 00 41 bc f0 ff ff ff e8 9d RSP: 0018:ffffc90000dc0348 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000002 RCX: 0000000000000100 RDX: ffff888018853880 RSI: ffffffff8187e5ea RDI: 0000000000000003 RBP: 0000000000000002 R08: 0000000000000001 R09: 0000000000000001 R10: ffffffff8187e184 R11: 0000000000000000 R12: ffffc90000dc0478 R13: 0000000000000100 R14: ffffc90000dc0530 R15: 0000000000000003 FS: 00007f51837e7700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2d825000 CR3: 00000000145c3000 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/0x1ac bpf_dispatcher_nop_func include/linux/bpf.h:684 [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 neigh_hh_output include/net/neighbour.h:499 [inline] neigh_output include/net/neighbour.h:508 [inline] ip_finish_output2+0xeec/0x21f0 net/ipv4/ip_output.c:230 __ip_finish_output net/ipv4/ip_output.c:308 [inline] __ip_finish_output+0x396/0x640 net/ipv4/ip_output.c:290 ip_finish_output+0x35/0x200 net/ipv4/ip_output.c:318 NF_HOOK_COND include/linux/netfilter.h:290 [inline] ip_output+0x196/0x310 net/ipv4/ip_output.c:432 dst_output include/net/dst.h:448 [inline] ip_local_out net/ipv4/ip_output.c:126 [inline] __ip_queue_xmit+0x905/0x1a20 net/ipv4/ip_output.c:533 __tcp_transmit_skb+0x1889/0x38f0 net/ipv4/tcp_output.c:1405 __tcp_send_ack.part.0+0x3d6/0x7a0 net/ipv4/tcp_output.c:3970 __tcp_send_ack net/ipv4/tcp_output.c:3976 [inline] tcp_send_ack+0x7d/0xa0 net/ipv4/tcp_output.c:3976 tcp_delack_timer_handler+0x4e4/0x6e0 net/ipv4/tcp_timer.c:317 tcp_delack_timer+0xa2/0x320 net/ipv4/tcp_timer.c:344 call_timer_fn+0x1a5/0x6b0 kernel/time/timer.c:1431 expire_timers kernel/time/timer.c:1476 [inline] __run_timers.part.0+0x67c/0xa50 kernel/time/timer.c:1745 __run_timers kernel/time/timer.c:1726 [inline] run_timer_softirq+0xb3/0x1d0 kernel/time/timer.c:1758 __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:write_comp_data kernel/kcov.c:218 [inline] RIP: 0010:__sanitizer_cov_trace_const_cmp4+0x17/0x70 kernel/kcov.c:284 Code: 30 f0 4c 89 54 d8 20 48 89 10 5b c3 0f 1f 80 00 00 00 00 41 89 f8 bf 03 00 00 00 4c 8b 14 24 89 f1 65 48 8b 34 25 00 f0 01 00 f4 ef ff ff 84 c0 74 4b 48 8b 86 20 15 00 00 8b b6 1c 15 00 00 RSP: 0018:ffffc900019cf930 EFLAGS: 00000202 RAX: 0000000000000000 RBX: 0000000000000002 RCX: 0000000000000001 RDX: 0000000000000000 RSI: ffff888018853880 RDI: 0000000000000003 RBP: 0000000000000001 R08: 0000000000000001 R09: ffffc900019cfca8 R10: ffffffff8187e184 R11: 0000000000000000 R12: ffffc900019cfa68 R13: ffffc9000b4b8000 R14: ffffc900019cfb20 R15: 0000000000000003 try_get_fmt_tmp_buf kernel/bpf/helpers.c:712 [inline] bpf_bprintf_prepare+0xa54/0x10b0 kernel/bpf/helpers.c:760 ____bpf_trace_printk kernel/trace/bpf_trace.c:389 [inline] bpf_trace_printk+0xab/0x3a0 kernel/trace/bpf_trace.c:380 bpf_prog_2855a0054ed1d5d6+0x2f/0x21c bpf_dispatcher_nop_func include/linux/bpf.h:684 [inline] bpf_prog_run_pin_on_cpu include/linux/filter.h:624 [inline] bpf_flow_dissect+0x165/0x3c0 net/core/flow_dissector.c:886 bpf_prog_test_run_flow_dissector+0x439/0x710 net/bpf/test_run.c:799 bpf_prog_test_run kernel/bpf/syscall.c:3149 [inline] __do_sys_bpf+0x218b/0x4f40 kernel/bpf/syscall.c:4428 do_syscall_64+0x3a/0xb0 arch/x86/entry/common.c:47 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4665d9 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 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f51837e7188 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 000000000056bf60 RCX: 00000000004665d9 RDX: 0000000000000048 RSI: 0000000020000140 RDI: 000000000000000a RBP: 00000000004bfcb9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf60 R13: 00007ffdfe190a8f R14: 00007f51837e7300 R15: 0000000000022000