syzbot


KMSAN: uninit-value in sprintf

Status: auto-closed as invalid on 2022/09/28 11:13
Subsystems: batman usb
[Documentation on labels]
First crash: 1101d, last: 916d
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream Internal error in sprintf (3) net 5 52d 52d 0/28 upstream: reported on 2024/08/19 16:36
upstream Internal error in sprintf net 2 340d 339d 0/28 auto-obsoleted due to no activity on 2024/02/03 13:23
upstream Internal error in sprintf (2) net 4 150d 165d 0/28 auto-obsoleted due to no activity on 2024/08/11 12:14
Last patch testing requests (1)
Created Duration User Patch Repo Result
2022/09/28 09:30 19m retest repro https://github.com/google/kmsan.git master OK log

Sample crash report:
=====================================================
BUG: KMSAN: uninit-value in check_pointer lib/vsprintf.c:705 [inline]
BUG: KMSAN: uninit-value in string+0x3cf/0x6f0 lib/vsprintf.c:717
 check_pointer lib/vsprintf.c:705 [inline]
 string+0x3cf/0x6f0 lib/vsprintf.c:717
 vsnprintf+0x2222/0x3650 lib/vsprintf.c:2795
 sprintf+0x214/0x260 lib/vsprintf.c:2997
 batadv_mcast_flags_log net/batman-adv/multicast.c:811 [inline]
 batadv_mcast_mla_flags_update net/batman-adv/multicast.c:846 [inline]
 __batadv_mcast_mla_update net/batman-adv/multicast.c:889 [inline]
 batadv_mcast_mla_update+0x4f5b/0x5790 net/batman-adv/multicast.c:915
 process_one_work+0xdb6/0x1820 kernel/workqueue.c:2307
 worker_thread+0x10b3/0x21e0 kernel/workqueue.c:2454
 kthread+0x3c7/0x500 kernel/kthread.c:377
 ret_from_fork+0x1f/0x30

Local variable vfork created at:
 kernel_clone+0x77/0x1130 kernel/fork.c:2519
 kernel_thread+0x17a/0x240 kernel/fork.c:2609

CPU: 0 PID: 51 Comm: kworker/u4:2 Not tainted 5.17.0-rc4-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: bat_events batadv_mcast_mla_update
=====================================================

Crashes (18):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/03/09 01:03 https://github.com/google/kmsan.git master 724946410067 9e8eaa75 .config console log report syz ci-upstream-kmsan-gce KMSAN: uninit-value in sprintf
2022/04/08 06:12 https://github.com/google/kmsan.git master 33d9269ef6e0 c6ff3e05 .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in sprintf
2022/04/02 00:40 https://github.com/google/kmsan.git master 1978a14f70af 79a2a8fc .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in sprintf
2022/03/23 18:44 https://github.com/google/kmsan.git master 97c7732c2bb6 5ff41e94 .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in sprintf
2022/03/21 05:21 https://github.com/google/kmsan.git master 97c7732c2bb6 e2d91b1d .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in sprintf
2022/02/09 23:39 https://github.com/google/kmsan.git master 85cfd6e539bd 0b33604d .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in sprintf
2022/01/27 01:45 https://github.com/google/kmsan.git master 85cfd6e539bd 2cbffd88 .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in sprintf
2022/01/23 00:03 https://github.com/google/kmsan.git master 85cfd6e539bd 214351e1 .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in sprintf
2021/12/14 02:06 https://github.com/google/kmsan.git master d82a8a8ca942 5d14b1ea .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in sprintf
2021/12/06 04:17 https://github.com/google/kmsan.git master b0f85c4ccdd4 a617004c .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in sprintf
2021/11/21 03:35 https://github.com/google/kmsan.git master 425295055ce6 4eb20a4e .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in sprintf
2021/10/17 17:15 https://github.com/google/kmsan.git master d6493d2046c4 0c5d9412 .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in sprintf
2021/10/04 17:53 https://github.com/google/kmsan.git master 90f502f5d016 ce697b49 .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in sprintf
2022/01/25 06:15 https://github.com/google/kmsan.git master 85cfd6e539bd 2cbffd88 .config console log report info ci-upstream-kmsan-gce-386 KMSAN: uninit-value in sprintf
2021/12/29 19:55 https://github.com/google/kmsan.git master 81c325bbf94e 6cc879d4 .config console log report info ci-upstream-kmsan-gce-386 KMSAN: uninit-value in sprintf
2021/11/01 15:51 https://github.com/google/kmsan.git master 59bd88c25ffc 098b5d53 .config console log report info ci-upstream-kmsan-gce-386 KMSAN: uninit-value in sprintf
2021/10/26 09:16 https://github.com/google/kmsan.git master 0f36cda66082 c1132b49 .config console log report info ci-upstream-kmsan-gce-386 KMSAN: uninit-value in sprintf
2021/10/11 04:46 https://github.com/google/kmsan.git master c7f84f4e1147 838e7e2c .config console log report info ci-upstream-kmsan-gce-386 KMSAN: uninit-value in sprintf
* Struck through repros no longer work on HEAD.