------------[ cut here ]------------
WARNING: CPU: 1 PID: 8446 at kernel/bpf/helpers.c:712 try_get_fmt_tmp_buf kernel/bpf/helpers.c:712 [inline]
WARNING: CPU: 1 PID: 8446 at kernel/bpf/helpers.c:712 bpf_bprintf_prepare+0xeba/0x10b0 kernel/bpf/helpers.c:760
Modules linked in:
CPU: 1 PID: 8446 Comm: syz-fuzzer 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:ffffc90000dbf9a8 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000000000002 RCX: 0000000000000100
RDX: ffff88801c17d4c0 RSI: ffffffff8187f66a RDI: 0000000000000003
RBP: 0000000000000002 R08: 0000000000000001 R09: 0000000000000001
R10: ffffffff8187f204 R11: 0000000000000000 R12: ffffc90000dbfad8
R13: 0000000000000100 R14: ffffc90000dbfb90 R15: 0000000000000003
FS: 000000c000257090(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000004 CR3: 00000000159d4000 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/0xff4
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
sch_direct_xmit+0x2e1/0xbd0 net/sched/sch_generic.c:313
qdisc_restart net/sched/sch_generic.c:376 [inline]
__qdisc_run+0x4ba/0x15f0 net/sched/sch_generic.c:384
qdisc_run include/net/pkt_sched.h:136 [inline]
qdisc_run include/net/pkt_sched.h:128 [inline]
__dev_xmit_skb net/core/dev.c:3856 [inline]
__dev_queue_xmit+0x142e/0x2e30 net/core/dev.c:4213
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_ack_snd_check+0x156/0x9c0 net/ipv4/tcp_input.c:5414
tcp_rcv_established+0x1b1b/0x2130 net/ipv4/tcp_input.c:5848
tcp_v4_do_rcv+0x5d4/0x880 net/ipv4/tcp_ipv4.c:1694
tcp_v4_rcv+0x32a0/0x3960 net/ipv4/tcp_ipv4.c:2079
ip_protocol_deliver_rcu+0x5c/0xa20 net/ipv4/ip_input.c:204
ip_local_deliver_finish+0x20a/0x370 net/ipv4/ip_input.c:231
NF_HOOK include/linux/netfilter.h:301 [inline]
NF_HOOK include/linux/netfilter.h:295 [inline]
ip_local_deliver+0x1b3/0x200 net/ipv4/ip_input.c:252
dst_input include/net/dst.h:458 [inline]
ip_sublist_rcv_finish+0x9a/0x2c0 net/ipv4/ip_input.c:551
ip_list_rcv_finish.constprop.0+0x51e/0x6e0 net/ipv4/ip_input.c:601
ip_sublist_rcv net/ipv4/ip_input.c:609 [inline]
ip_list_rcv+0x34e/0x490 net/ipv4/ip_input.c:644
__netif_receive_skb_list_ptype net/core/dev.c:5483 [inline]
__netif_receive_skb_list_core+0x549/0x8e0 net/core/dev.c:5531
__netif_receive_skb_list net/core/dev.c:5583 [inline]
netif_receive_skb_list_internal+0x777/0xd70 net/core/dev.c:5693
gro_normal_list net/core/dev.c:5847 [inline]
gro_normal_list net/core/dev.c:5843 [inline]
napi_complete_done+0x1f1/0x880 net/core/dev.c:6553
virtqueue_napi_complete+0x2c/0xc0 drivers/net/virtio_net.c:337
virtnet_poll+0xbbb/0x10b0 drivers/net/virtio_net.c:1533
__napi_poll+0xaf/0x440 net/core/dev.c:6973
napi_poll net/core/dev.c:7040 [inline]
net_rx_action+0x801/0xb40 net/core/dev.c:7127
__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
common_interrupt+0xa4/0xd0 arch/x86/kernel/irq.c:240
asm_common_interrupt+0x1e/0x40 arch/x86/include/asm/idtentry.h:623
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:ffffc9000160fd80 EFLAGS: 00000206
RAX: 0000000000000006 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: 1ffff920001d2c06 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/0x2fc
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:0x46e380
Code: 0f 05 89 44 24 20 c3 cc cc cc 8b 7c 24 08 48 8b 74 24 10 8b 54 24 18 44 8b 54 24 1c 49 c7 c0 00 00 00 00 b8 19 01 00 00 0f 05 <89> 44 24 20 c3 cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc
RSP: 002b:000000c00003b7f0 EFLAGS: 00000246 ORIG_RAX: 0000000000000119
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 000000000046e380
RDX: 0000000000000080 RSI: 000000c00003b840 RDI: 0000000000000003
RBP: 000000c00003be40 R08: 0000000000000000 R09: 00007ffc1f9cd080
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000003
R13: 000000c000001500 R14: 0000000000000200 R15: 0000000000000055