syzbot


WARNING in format_decode

Status: upstream: reported C repro on 2025/06/24 13:40
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+3ab28ab664e34a0158c1@syzkaller.appspotmail.com
First crash: 4d19h, last: 4d01h
Bug presence (1)
Date Name Commit Repro Result
2025/06/24 upstream (ToT) 78f4e737a53e C [report] WARNING in format_decode
Similar bugs (6)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in format_decode reiserfs C 1 2646d 2646d 5/29 fixed on 2018/05/08 18:30
linux-5.15 WARNING in format_decode origin:upstream C 288 3d13h 589d 0/3 upstream: reported C repro on 2023/11/17 23:37
android-49 WARNING in format_decode 1 2440d 2267d 0/3 auto-closed as invalid on 2019/04/28 09:31
upstream WARNING in format_decode (3) bpf trace C done 2146 3d03h 585d 0/29 upstream: reported C repro on 2023/11/21 22:43
upstream WARNING in format_decode (2) trace C 16 2415d 2497d 11/29 fixed on 2018/12/07 08:24
linux-6.1 WARNING in format_decode origin:upstream C 299 4d04h 589d 0/3 upstream: reported C repro on 2023/11/17 22:49

Sample crash report:
------------[ cut here ]------------
Please remove unsupported %� in format string
WARNING: CPU: 1 PID: 5773 at lib/vsprintf.c:2679 format_decode+0xcfd/0x13d0 lib/vsprintf.c:2679
Modules linked in:
CPU: 1 PID: 5773 Comm: syz-executor315 Not tainted 6.6.94-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
RIP: 0010:format_decode+0xcfd/0x13d0 lib/vsprintf.c:2679
Code: ff e8 87 89 2e f7 c6 05 ae 53 dd 03 01 41 0f b6 04 1c 84 c0 0f 85 be 06 00 00 41 0f b6 36 48 c7 c7 20 93 c8 8b e8 63 ee f8 f6 <0f> 0b e9 79 fe ff ff 48 8b 0c 24 80 e1 07 38 c1 0f 8c 46 f3 ff ff
RSP: 0018:ffffc9000463f888 EFLAGS: 00010246
RAX: 120d1b4566783d00 RBX: dffffc0000000000 RCX: ffff8880294f0000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000002
RBP: ffff0000ffffff00 R08: ffffc9000463f587 R09: 1ffff920008c7eb0
R10: dffffc0000000000 R11: fffff520008c7eb1 R12: 1ffff920008c7f55
R13: 0000000000000000 R14: ffffc9000463faac R15: ffff0a00ffffff00
FS:  0000555587413380(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000001000 CR3: 0000000079ff2000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 bstr_printf+0xc4/0xf90 lib/vsprintf.c:3252
 ____bpf_trace_printk kernel/trace/bpf_trace.c:386 [inline]
 bpf_trace_printk+0x10f/0x190 kernel/trace/bpf_trace.c:371
 bpf_prog_12183cdb1cd51dab+0x36/0x3a
 bpf_dispatcher_nop_func include/linux/bpf.h:1213 [inline]
 __bpf_prog_run include/linux/filter.h:612 [inline]
 bpf_prog_run include/linux/filter.h:619 [inline]
 bpf_test_run+0x340/0x8a0 net/bpf/test_run.c:424
 bpf_prog_test_run_skb+0xa67/0x11c0 net/bpf/test_run.c:1050
 bpf_prog_test_run+0x321/0x390 kernel/bpf/syscall.c:4123
 __sys_bpf+0x440/0x800 kernel/bpf/syscall.c:5485
 __do_sys_bpf kernel/bpf/syscall.c:5571 [inline]
 __se_sys_bpf kernel/bpf/syscall.c:5569 [inline]
 __x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5569
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f31c33004a9
Code: 48 83 c4 28 c3 e8 37 17 00 00 0f 1f 80 00 00 00 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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffeb7eac3e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000141
RAX: ffffffffffffffda RBX: 64006ad576d86aa0 RCX: 00007f31c33004a9
RDX: 0000000000000028 RSI: 0000200000000080 RDI: 000000000000000a
RBP: 00007f31c3373610 R08: 0000000000000000 R09: 00007ffeb7eac5b8
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001
R13: 00007ffeb7eac5a8 R14: 0000000000000001 R15: 0000000000000001
 </TASK>

Crashes (19):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/06/24 14:14 linux-6.6.y 6282921b6825 e2f27c35 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf WARNING in format_decode
2025/06/25 07:26 linux-6.6.y 6282921b6825 26d77996 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan WARNING in format_decode
2025/06/25 07:25 linux-6.6.y 6282921b6825 26d77996 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan WARNING in format_decode
2025/06/25 06:17 linux-6.6.y 6282921b6825 26d77996 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf WARNING in format_decode
2025/06/25 06:15 linux-6.6.y 6282921b6825 26d77996 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf WARNING in format_decode
2025/06/25 06:07 linux-6.6.y 6282921b6825 26d77996 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan WARNING in format_decode
2025/06/25 06:07 linux-6.6.y 6282921b6825 26d77996 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan WARNING in format_decode
2025/06/25 04:29 linux-6.6.y 6282921b6825 26d77996 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf WARNING in format_decode
2025/06/25 04:28 linux-6.6.y 6282921b6825 26d77996 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf WARNING in format_decode
2025/06/24 22:56 linux-6.6.y 6282921b6825 26d77996 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf WARNING in format_decode
2025/06/24 22:54 linux-6.6.y 6282921b6825 26d77996 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf WARNING in format_decode
2025/06/24 20:51 linux-6.6.y 6282921b6825 26d77996 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf WARNING in format_decode
2025/06/24 20:48 linux-6.6.y 6282921b6825 26d77996 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf WARNING in format_decode
2025/06/24 20:44 linux-6.6.y 6282921b6825 26d77996 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf WARNING in format_decode
2025/06/24 20:41 linux-6.6.y 6282921b6825 26d77996 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf WARNING in format_decode
2025/06/24 14:22 linux-6.6.y 6282921b6825 e2f27c35 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf WARNING in format_decode
2025/06/24 14:19 linux-6.6.y 6282921b6825 e2f27c35 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf WARNING in format_decode
2025/06/24 14:16 linux-6.6.y 6282921b6825 e2f27c35 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf WARNING in format_decode
2025/06/24 13:40 linux-6.6.y 6282921b6825 e2f27c35 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf WARNING in format_decode
* Struck through repros no longer work on HEAD.