------------[ cut here ]------------ WARNING: CPU: 1 PID: 8378 at kernel/bpf/helpers.c:712 try_get_fmt_tmp_buf kernel/bpf/helpers.c:712 [inline] WARNING: CPU: 1 PID: 8378 at kernel/bpf/helpers.c:712 bpf_bprintf_prepare+0xeba/0x10b0 kernel/bpf/helpers.c:760 Modules linked in: CPU: 1 PID: 8378 Comm: sshd 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:ffffc90000dc0a78 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000002 RCX: 0000000000000100 RDX: ffff888022491c40 RSI: ffffffff8186ebfa RDI: 0000000000000003 RBP: 0000000000000002 R08: 0000000000000001 R09: 0000000000000001 R10: ffffffff8186e794 R11: 0000000000000000 R12: ffffc90000dc0ba8 R13: 0000000000000100 R14: ffffc90000dc0c60 R15: 0000000000000003 FS: 00007f448cdbd8c0(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000016b6848 CR3: 0000000021aed000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 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/0x61c bpf_dispatcher_nop_func include/linux/bpf.h:684 [inline] __bpf_trace_run kernel/trace/bpf_trace.c:1788 [inline] bpf_trace_run3+0x146/0x3c0 kernel/trace/bpf_trace.c:1826 __bpf_trace_napi_poll+0xe4/0x120 include/trace/events/napi.h:14 trace_napi_poll+0x14c/0x290 include/trace/events/napi.h:14 __napi_poll+0xbe/0x440 net/core/dev.c:6967 napi_poll net/core/dev.c:7033 [inline] net_rx_action+0x801/0xb40 net/core/dev.c:7120 __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 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 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:ffffc90001e4fd98 EFLAGS: 00000206 RAX: 0000000000000002 RBX: 0000000000000200 RCX: 1ffffffff1b8bb31 RDX: 0000000000000000 RSI: 0000000000000003 RDI: 0000000000000001 RBP: ffffffff8bfef320 R08: 0000000000000001 R09: 0000000000000001 R10: ffffffff8179e5a8 R11: 0000000000000000 R12: 0000000000000002 R13: 0000000000000293 R14: 1ffff920001ef006 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/0x61c 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 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 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f448af25970 Code: 73 01 c3 48 8b 0d 28 d5 2b 00 f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 83 3d 99 2d 2c 00 00 75 10 b8 01 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 31 c3 48 83 ec 08 e8 7e 9b 01 00 48 89 04 24 RSP: 002b:00007ffdaf8537e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: 0000000000000404 RBX: 0000000000000404 RCX: 00007f448af25970 RDX: 0000000000000404 RSI: 0000563d5e87ca84 RDI: 0000000000000003 RBP: 0000563d5e8607b0 R08: 00007ffdaf8538a0 R09: 00007ffdaf8830f0 R10: 00000000000459b2 R11: 0000000000000246 R12: 0000000000000001 R13: 00007ffdaf85387f R14: 0000563d5de7bbe7 R15: 0000000000000003