------------[ cut here ]------------ WARNING: CPU: 1 PID: 19117 at kernel/bpf/helpers.c:712 try_get_fmt_tmp_buf kernel/bpf/helpers.c:712 [inline] WARNING: CPU: 1 PID: 19117 at kernel/bpf/helpers.c:712 bpf_bprintf_prepare+0xeba/0x10b0 kernel/bpf/helpers.c:760 Modules linked in: CPU: 1 PID: 19117 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 da 9d 63 02 83 c0 01 48 98 48 01 c5 48 89 6c 24 08 e8 c8 d8 ec ff 8d 6b 02 83 44 24 10 01 e9 d6 f5 ff ff e8 b6 d8 ec ff <0f> 0b 65 ff 0d 3d 15 7b 7e bf 01 00 00 00 41 bc f0 ff ff ff e8 8d RSP: 0018:ffffc90000dc0a78 EFLAGS: 00010046 RAX: 0000000000010004 RBX: 0000000000000002 RCX: 0000000000000000 RDX: ffff888031290000 RSI: ffffffff8187e9fa RDI: 0000000000000003 RBP: 0000000000000002 R08: 0000000000000001 R09: 0000000000000001 R10: ffffffff8187e594 R11: 0000000000000000 R12: ffffc90000dc0ba8 R13: 0000000000000000 R14: ffffc90000dc0c60 R15: 0000000000000003 FS: 00007f39f5462700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b33625000 CR3: 0000000016cf3000 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/0xbe0 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_hrtimer_start+0xbe/0x100 include/trace/events/timer.h:195 __traceiter_hrtimer_start+0x60/0xa0 include/trace/events/timer.h:195 trace_hrtimer_start include/trace/events/timer.h:195 [inline] debug_activate kernel/time/hrtimer.c:476 [inline] enqueue_hrtimer+0x254/0x3e0 kernel/time/hrtimer.c:982 __run_hrtimer kernel/time/hrtimer.c:1554 [inline] __hrtimer_run_queues+0xb54/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+0x8e/0xc0 arch/x86/kernel/apic/apic.c:1100 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:632 RIP: 0010:bpf_bprintf_cleanup kernel/bpf/helpers.c:725 [inline] RIP: 0010:bpf_bprintf_prepare+0x7c3/0x10b0 kernel/bpf/helpers.c:946 Code: 89 ee 48 2b 44 24 08 48 89 c7 48 89 44 24 30 e8 03 e6 ec ff 4c 39 6c 24 30 0f 83 75 05 00 00 41 bc e4 ff ff ff e8 ad df ec ff <65> 8b 1d 36 1c 7b 7e 31 ff 89 de e8 4d e7 ec ff 85 db 0f 85 7f 03 RSP: 0018:ffffc90001cdf8f8 EFLAGS: 00000246 RAX: 0000000000040000 RBX: 0000000000000002 RCX: ffffc9000b17a000 RDX: 0000000000040000 RSI: ffffffff8187e303 RDI: 0000000000000003 RBP: 00000000ffffffcf R08: 0000000000000000 R09: 0000000000000001 R10: ffffffff8187e6ee R11: 0000000000000000 R12: 00000000ffffffea R13: 00000000ffffffa8 R14: ffffc90001cdfae0 R15: dffffc0000000000 ____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/0x4c4 bpf_prog_run_xdp include/linux/filter.h:771 [inline] bpf_test_run+0x1f7/0xaa0 net/bpf/test_run.c:115 bpf_prog_test_run_xdp+0x2c2/0x4d0 net/bpf/test_run.c:720 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: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:00007f39f5462188 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 000000000056bf60 RCX: 00000000004665f9 RDX: 0000000000000048 RSI: 0000000020000140 RDI: 000000000000000a RBP: 00000000004bfce1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf60 R13: 00007fffd8007fcf R14: 00007f39f5462300 R15: 0000000000022000