------------[ cut here ]------------ WARNING: CPU: 0 PID: 8440 at kernel/bpf/helpers.c:712 try_get_fmt_tmp_buf kernel/bpf/helpers.c:712 [inline] WARNING: CPU: 0 PID: 8440 at kernel/bpf/helpers.c:712 bpf_bprintf_prepare+0xeba/0x10b0 kernel/bpf/helpers.c:760 Modules linked in: CPU: 0 PID: 8440 Comm: sshd 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:ffffc90000007b08 EFLAGS: 00010046 RAX: 0000000080010005 RBX: 0000000000000002 RCX: 0000000000000000 RDX: ffff88801c569c40 RSI: ffffffff8187f66a RDI: 0000000000000003 RBP: 0000000000000002 R08: 0000000000000001 R09: 0000000000000001 R10: ffffffff8187f204 R11: 0000000000000000 R12: ffffc90000007c38 R13: 0000000000000000 R14: ffffc90000007cf0 R15: 0000000000000003 FS: 00007f587e7d48c0(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000200000c6 CR3: 000000002cd7b000 CR4: 00000000001506f0 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/0x238 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_irq_handler_entry+0xb5/0xf0 include/trace/events/irq.h:53 trace_irq_handler_entry include/trace/events/irq.h:53 [inline] __handle_irq_event_percpu+0x5ab/0x8f0 kernel/irq/handle.c:155 handle_irq_event_percpu kernel/irq/handle.c:196 [inline] handle_irq_event+0x102/0x290 kernel/irq/handle.c:213 handle_edge_irq+0x25f/0xd00 kernel/irq/chip.c:819 generic_handle_irq_desc include/linux/irqdesc.h:158 [inline] handle_irq arch/x86/kernel/irq.c:231 [inline] __common_interrupt+0x9e/0x200 arch/x86/kernel/irq.c:250 common_interrupt+0x9f/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:ffffc9000188fd80 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: 1ffff920001d9806 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/0x238 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:0x7f587c93c970 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:00007ffd9ebce3a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: 0000000000000e1c RBX: 0000000000000e1c RCX: 00007f587c93c970 RDX: 0000000000000e1c RSI: 0000559de2ad19b0 RDI: 0000000000000003 RBP: 0000559de2ab4520 R08: 0000000000000a1b R09: 00007ffd9ebe0080 R10: 00007ffd9ebe00f0 R11: 0000000000000246 R12: 0000000000000001 R13: 00007ffd9ebce43f R14: 0000559de147bbe7 R15: 0000000000000003