------------[ cut here ]------------ WARNING: CPU: 0 PID: 24779 at kernel/bpf/helpers.c:712 try_get_fmt_tmp_buf kernel/bpf/helpers.c:712 [inline] WARNING: CPU: 0 PID: 24779 at kernel/bpf/helpers.c:712 bpf_bprintf_prepare+0xeba/0x10b0 kernel/bpf/helpers.c:760 Modules linked in: CPU: 0 PID: 24779 Comm: syz-executor.4 Not tainted 5.12.0-rc7-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 3a 4d 5e 02 83 c0 01 48 98 48 01 c5 48 89 6c 24 08 e8 78 0a ed ff 8d 6b 02 83 44 24 10 01 e9 d6 f5 ff ff e8 66 0a ed ff <0f> 0b 65 ff 0d fd 12 7c 7e bf 01 00 00 00 41 bc f0 ff ff ff e8 dd RSP: 0018:ffffc90000007208 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000002 RCX: 0000000000000100 RDX: ffff8880265a8000 RSI: ffffffff8186ebfa RDI: 0000000000000003 RBP: 0000000000000002 R08: 0000000000000001 R09: 0000000000000001 R10: ffffffff8186e794 R11: 0000000000000000 R12: ffffc90000007338 R13: 0000000000000100 R14: ffffc900000073f0 R15: 0000000000000003 FS: 00007f2e2fd36700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000014e9708 CR3: 000000001a345000 CR4: 00000000001506f0 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/0x58 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 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_resolve_output net/core/neighbour.c:1491 [inline] neigh_resolve_output+0x50e/0x820 net/core/neighbour.c:1471 neigh_output include/net/neighbour.h:510 [inline] ip6_finish_output2+0x6ee/0x1700 net/ipv6/ip6_output.c:117 __ip6_finish_output net/ipv6/ip6_output.c:182 [inline] __ip6_finish_output+0x4c1/0xe10 net/ipv6/ip6_output.c:161 ip6_finish_output+0x35/0x200 net/ipv6/ip6_output.c:192 NF_HOOK_COND include/linux/netfilter.h:290 [inline] ip6_output+0x1e4/0x530 net/ipv6/ip6_output.c:215 dst_output include/net/dst.h:448 [inline] NF_HOOK include/linux/netfilter.h:301 [inline] ndisc_send_skb+0xa99/0x1750 net/ipv6/ndisc.c:508 ndisc_send_rs+0x12e/0x6f0 net/ipv6/ndisc.c:702 addrconf_rs_timer+0x3f2/0x820 net/ipv6/addrconf.c:3877 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:345 invoke_softirq kernel/softirq.c:221 [inline] __irq_exit_rcu kernel/softirq.c:422 [inline] irq_exit_rcu+0x134/0x200 kernel/softirq.c:434 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 6a bd 4d f8 48 89 ef e8 a2 73 4e 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 83 41 42 f8 65 8b 05 4c 07 f6 76 85 c0 74 0a 5b 5d c3 e8 f0 fc RSP: 0018:ffffc9000175f9e8 EFLAGS: 00000206 RAX: 0000000000000002 RBX: 0000000000000200 RCX: 1ffffffff1b8bb31 RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000001 RBP: ffffffff8bfef320 R08: 0000000000000001 R09: 0000000000000001 R10: ffffffff8179e5a8 R11: 0000000000000000 R12: 0000000000000002 R13: 0000000000000246 R14: 0000000000040000 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/0x904 bpf_dispatcher_nop_func include/linux/bpf.h:684 [inline] bpf_test_run+0x45f/0xaa0 net/bpf/test_run.c:117 bpf_prog_test_run_skb+0xabc/0x1c70 net/bpf/test_run.c:656 bpf_prog_test_run kernel/bpf/syscall.c:3149 [inline] __do_sys_bpf+0x218b/0x4f40 kernel/bpf/syscall.c:4428 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4665f9 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:00007f2e2fd36188 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 000000000056bf60 RCX: 00000000004665f9 RDX: 0000000000000048 RSI: 0000000020000180 RDI: 000000000000000a RBP: 00000000004bfce1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf60 R13: 00007ffc7b6bdeaf R14: 00007f2e2fd36300 R15: 0000000000022000