syzbot


WARNING in format_decode

Status: upstream: reported C repro on 2023/11/17 22:49
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+e2e0d959be60c6d0dc32@syzkaller.appspotmail.com
First crash: 106d, last: 7d08h
Bug presence (1)
Date Name Commit Repro Result
2023/11/18 upstream (ToT) 791c8ab095f7 C [report] WARNING in format_decode
Similar bugs (5)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in format_decode reiserfs C 1 2163d 2163d 5/26 fixed on 2018/05/08 18:30
linux-5.15 WARNING in format_decode origin:upstream C 50 7d08h 106d 0/3 upstream: reported C repro on 2023/11/17 23:37
android-49 WARNING in format_decode 1 1957d 1784d 0/3 auto-closed as invalid on 2019/04/28 09:31
upstream WARNING in format_decode (3) bpf trace C done 279 7d08h 102d 0/26 upstream: reported C repro on 2023/11/21 22:43
upstream WARNING in format_decode (2) trace C 16 1932d 2014d 11/26 fixed on 2018/12/07 08:24

Sample crash report:
------------[ cut here ]------------
Please remove unsupported %� in format string
WARNING: CPU: 0 PID: 3544 at lib/vsprintf.c:2661 format_decode+0x12d2/0x1f10 lib/vsprintf.c:2661
Modules linked in:
CPU: 0 PID: 3544 Comm: syz-executor217 Not tainted 6.1.79-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024
RIP: 0010:format_decode+0x12d2/0x1f10 lib/vsprintf.c:2661
Code: da 03 01 48 b8 00 00 00 00 00 fc ff df 41 0f b6 04 07 84 c0 0f 85 30 0c 00 00 41 0f be 36 48 c7 c7 c0 80 07 8c e8 ae 76 cd f6 <0f> 0b e9 01 fa ff ff 48 8b 4c 24 18 80 e1 07 38 c1 0f 8c e3 ed ff
RSP: 0018:ffffc90003a0f680 EFLAGS: 00010246
RAX: ac1e6e2c4121c600 RBX: 00000000ffffffdb RCX: ffff88801fce1dc0
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90003a0f770 R08: ffffffff81527e8e R09: ffffed1017304f1c
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff0a00ffffff00
R13: ffff0000ffffff00 R14: ffffc90003a0f9ac R15: 1ffff92000741f35
FS:  0000555557342380(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020001000 CR3: 0000000021b52000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 bstr_printf+0x130/0x10c0 lib/vsprintf.c:3234
 ____bpf_trace_printk kernel/trace/bpf_trace.c:389 [inline]
 bpf_trace_printk+0x19d/0x220 kernel/trace/bpf_trace.c:374
 bpf_prog_12183cdb1cd51dab+0x2e/0x32
 bpf_dispatcher_nop_func include/linux/bpf.h:989 [inline]
 __bpf_prog_run include/linux/filter.h:600 [inline]
 bpf_prog_run include/linux/filter.h:607 [inline]
 bpf_test_run+0x40f/0x8b0 net/bpf/test_run.c:402
 bpf_prog_test_run_skb+0xaf1/0x13a0 net/bpf/test_run.c:1180
 bpf_prog_test_run+0x32f/0x3a0 kernel/bpf/syscall.c:3670
 __sys_bpf+0x3eb/0x6c0 kernel/bpf/syscall.c:5023
 __do_sys_bpf kernel/bpf/syscall.c:5109 [inline]
 __se_sys_bpf kernel/bpf/syscall.c:5107 [inline]
 __x64_sys_bpf+0x78/0x90 kernel/bpf/syscall.c:5107
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7fcdf51c34e9
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:00007ffe68b30168 EFLAGS: 00000246 ORIG_RAX: 0000000000000141
RAX: ffffffffffffffda RBX: 00007ffe68b30338 RCX: 00007fcdf51c34e9
RDX: 0000000000000028 RSI: 0000000020000080 RDI: 000000000000000a
RBP: 00007fcdf5236610 R08: 0000000000000000 R09: 00007ffe68b30338
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001
R13: 00007ffe68b30328 R14: 0000000000000001 R15: 0000000000000001
 </TASK>

Crashes (54):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/02/24 17:35 linux-6.1.y 81e1dc2f7001 8d446f15 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in format_decode
2024/02/24 03:36 linux-6.1.y 81e1dc2f7001 8d446f15 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in format_decode
2024/02/18 00:11 linux-6.1.y 8b4118fabd6e 578f7538 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in format_decode
2024/02/15 22:21 linux-6.1.y f1bb70486c9c fd39cf6f .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in format_decode
2024/02/10 10:51 linux-6.1.y f1bb70486c9c 77b23aa1 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in format_decode
2024/02/08 05:52 linux-6.1.y f1bb70486c9c 6404acf9 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in format_decode
2024/01/26 16:43 linux-6.1.y 883d1a956208 cc4a4020 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in format_decode
2024/01/16 15:40 linux-6.1.y fec3b1451d5f 2a7bcc7f .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in format_decode
2024/01/12 07:42 linux-6.1.y 7c58bfa711cb dda5a988 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in format_decode
2024/01/04 21:33 linux-6.1.y a507f147e6f0 28c42cff .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in format_decode
2024/01/04 20:24 linux-6.1.y a507f147e6f0 28c42cff .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in format_decode
2023/12/30 22:45 linux-6.1.y 4aa6747d9352 fb427a07 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in format_decode
2023/12/06 01:50 linux-6.1.y c6114c845984 858d62d1 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in format_decode
2023/11/18 03:35 linux-6.1.y fb2635ac69ab cb976f63 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in format_decode
2023/11/18 03:03 linux-6.1.y fb2635ac69ab cb976f63 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in format_decode
2023/11/18 02:32 linux-6.1.y fb2635ac69ab cb976f63 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in format_decode
2023/11/18 02:01 linux-6.1.y fb2635ac69ab cb976f63 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in format_decode
2023/11/18 01:31 linux-6.1.y fb2635ac69ab cb976f63 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in format_decode
2023/11/18 01:00 linux-6.1.y fb2635ac69ab cb976f63 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in format_decode
2023/11/18 00:28 linux-6.1.y fb2635ac69ab cb976f63 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in format_decode
2023/11/17 23:58 linux-6.1.y fb2635ac69ab cb976f63 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in format_decode
2023/11/17 23:16 linux-6.1.y fb2635ac69ab cb976f63 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in format_decode
2024/02/15 04:59 linux-6.1.y f1bb70486c9c d9b1cdd5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in format_decode
2024/02/07 13:38 linux-6.1.y f1bb70486c9c 6404acf9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in format_decode
2024/01/26 09:55 linux-6.1.y 883d1a956208 cc4a4020 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in format_decode
2024/01/24 11:13 linux-6.1.y 8fd7f4462453 1e153dc8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in format_decode
2024/01/16 14:03 linux-6.1.y fec3b1451d5f 2a7bcc7f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in format_decode
2024/01/12 05:25 linux-6.1.y 7c58bfa711cb dda5a988 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in format_decode
2024/01/12 05:25 linux-6.1.y 7c58bfa711cb dda5a988 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in format_decode
2024/01/12 02:40 linux-6.1.y 7c58bfa711cb dda5a988 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in format_decode
2024/01/12 02:40 linux-6.1.y 7c58bfa711cb dda5a988 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in format_decode
2024/01/10 22:48 linux-6.1.y 7c58bfa711cb 04815ef1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in format_decode
2024/01/10 22:01 linux-6.1.y 7c58bfa711cb 04815ef1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in format_decode
2024/01/04 21:22 linux-6.1.y a507f147e6f0 28c42cff .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in format_decode
2024/01/04 19:39 linux-6.1.y a507f147e6f0 28c42cff .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in format_decode
2024/01/04 19:35 linux-6.1.y a507f147e6f0 28c42cff .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in format_decode
2023/12/30 19:34 linux-6.1.y 4aa6747d9352 fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in format_decode
2023/12/17 04:33 linux-6.1.y ba6f5fb46511 3222d10c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in format_decode
2023/12/13 17:05 linux-6.1.y e7cddbb41b63 ebcad15c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in format_decode
2023/12/12 20:43 linux-6.1.y e7cddbb41b63 ebcad15c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in format_decode
2023/12/12 18:47 linux-6.1.y e7cddbb41b63 ebcad15c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in format_decode
2023/12/12 10:13 linux-6.1.y e7cddbb41b63 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in format_decode
2023/12/12 10:08 linux-6.1.y e7cddbb41b63 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in format_decode
2023/12/06 10:16 linux-6.1.y c6114c845984 858d62d1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in format_decode
2023/12/06 10:12 linux-6.1.y c6114c845984 858d62d1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in format_decode
2023/12/01 06:33 linux-6.1.y 6ac30d748bb0 f819d6f7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in format_decode
2023/11/24 06:06 linux-6.1.y 69e434a1cb21 5b429f39 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in format_decode
2023/11/22 11:21 linux-6.1.y 69e434a1cb21 cb976f63 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in format_decode
2023/11/20 01:40 linux-6.1.y fb2635ac69ab cb976f63 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in format_decode
2023/11/18 03:48 linux-6.1.y fb2635ac69ab cb976f63 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in format_decode
2023/11/18 00:33 linux-6.1.y fb2635ac69ab cb976f63 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in format_decode
2023/11/18 00:14 linux-6.1.y fb2635ac69ab cb976f63 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in format_decode
2023/11/17 22:48 linux-6.1.y fb2635ac69ab cb976f63 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in format_decode
* Struck through repros no longer work on HEAD.