syzbot


KMSAN: uninit-value in bcmp

Status: upstream: reported C repro on 2019/06/08 15:03
Reported-by: syzbot+d8b02c920ae8f3e0be75@syzkaller.appspotmail.com
First crash: 1253d, last: 1d15h
similar bugs (4):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KMSAN: kernel-infoleak in _copy_to_iter (7) C 1420 2h12m 211d 23/24 internal: reported C repro on 2022/03/09 07:32
upstream KMSAN: uninit-value in tipc_sk_lookup 8 246d 299d 0/24 auto-closed as invalid on 2022/05/03 21:09
upstream KMSAN: kernel-infoleak in _copy_to_iter (6) C 748 212d 301d 22/24 fixed on 2022/03/08 16:11
upstream KASAN: stack-out-of-bounds Read in __show_regs C unreliable unreliable 410 3h16m 476d 0/24 upstream: reported C repro on 2021/06/17 03:08
Patch testing requests:
Created Duration User Patch Repo Result
2021/06/13 15:40 19m phind.uet@gmail.com https://github.com/google/kmsan.git master OK

Sample crash report:
=====================================================
BUG: KMSAN: uninit-value in memcmp lib/string.c:765 [inline]
BUG: KMSAN: uninit-value in bcmp+0xbf/0x1c0 lib/string.c:797
 memcmp lib/string.c:765 [inline]
 bcmp+0xbf/0x1c0 lib/string.c:797
 ____sys_sendmsg+0x7f3/0xe90 net/socket.c:2477
 ___sys_sendmsg+0x2a1/0x3f0 net/socket.c:2536
 __sys_sendmmsg+0x40d/0xa40 net/socket.c:2622
 __do_sys_sendmmsg net/socket.c:2651 [inline]
 __se_sys_sendmmsg net/socket.c:2648 [inline]
 __x64_sys_sendmmsg+0xb8/0x120 net/socket.c:2648
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd

Uninit was stored to memory at:
 ____sys_sendmsg+0xc46/0xe90 net/socket.c:2490
 ___sys_sendmsg+0x2a1/0x3f0 net/socket.c:2536
 __sys_sendmmsg+0x40d/0xa40 net/socket.c:2622
 __do_sys_sendmmsg net/socket.c:2651 [inline]
 __se_sys_sendmmsg net/socket.c:2648 [inline]
 __x64_sys_sendmmsg+0xb8/0x120 net/socket.c:2648
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd

Local variable sin created at:
 udpv6_sendmsg+0x56/0x4440 net/ipv6/udp.c:1298
 inet6_sendmsg+0x101/0x180 net/ipv6/af_inet6.c:653

CPU: 1 PID: 3487 Comm: syz-executor289 Not tainted 6.0.0-rc5-syzkaller-48539-g523d2ce66d07 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022
=====================================================

Crashes (889):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kmsan-gce 2022/09/23 05:10 https://github.com/google/kmsan.git master 523d2ce66d07 0042f2b4 .config log report syz C KMSAN: uninit-value in bcmp
ci-upstream-kmsan-gce 2020/07/09 20:29 https://github.com/google/kmsan.git master f0d5ec902b23 bc238812 .config log report syz C
ci-upstream-kmsan-gce 2019/06/16 05:29 https://github.com/google/kmsan.git master 14cf4e4151b0 442206d7 .config log report syz C
ci-upstream-kmsan-gce 2019/05/02 23:44 https://github.com/google/kmsan.git master d062d017e907 e9039493 .config log report syz C
ci-upstream-kmsan-gce-386 2020/07/29 04:07 https://github.com/google/kmsan.git master 93f54a72361a cb93dc6a .config log report syz C
ci-upstream-kmsan-gce 2022/09/23 04:03 https://github.com/google/kmsan.git master 523d2ce66d07 0042f2b4 .config log report info KMSAN: uninit-value in bcmp
ci-upstream-kmsan-gce 2022/03/02 01:47 https://github.com/google/kmsan.git master 724946410067 45a13a73 .config log report info KMSAN: uninit-value in bcmp
ci-upstream-kmsan-gce 2021/12/25 19:55 https://github.com/google/kmsan.git master 81c325bbf94e 6caa12e4 .config log report info KMSAN: uninit-value in bcmp
ci-upstream-kmsan-gce-386 2022/06/14 09:15 https://github.com/google/kmsan.git master 2f3064574275 0f087040 .config log report info KMSAN: uninit-value in bcmp
ci-upstream-kmsan-gce-386 2022/06/14 07:44 https://github.com/google/kmsan.git master 2f3064574275 0f087040 .config log report info KMSAN: uninit-value in bcmp
ci-upstream-kmsan-gce-386 2022/06/13 23:19 https://github.com/google/kmsan.git master 2f3064574275 0f087040 .config log report info KMSAN: uninit-value in bcmp
ci-upstream-kmsan-gce-386 2022/06/13 20:37 https://github.com/google/kmsan.git master 2f3064574275 0d5abf15 .config log report info KMSAN: uninit-value in bcmp
ci-upstream-kmsan-gce-386 2022/04/06 22:47 https://github.com/google/kmsan.git master 33d9269ef6e0 97582466 .config log report info KMSAN: uninit-value in bcmp
ci-upstream-kmsan-gce-386 2022/04/06 21:35 https://github.com/google/kmsan.git master 33d9269ef6e0 97582466 .config log report info KMSAN: uninit-value in bcmp
ci-upstream-kmsan-gce-386 2022/03/12 00:39 https://github.com/google/kmsan.git master 724946410067 9e8eaa75 .config log report info KMSAN: uninit-value in bcmp
ci-upstream-kmsan-gce-386 2022/02/23 04:15 https://github.com/google/kmsan.git master 724946410067 6e821dbf .config log report info KMSAN: uninit-value in bcmp
ci-upstream-kmsan-gce-386 2022/02/06 20:54 https://github.com/google/kmsan.git master 85cfd6e539bd a7dab638 .config log report info KMSAN: uninit-value in bcmp
ci-upstream-kmsan-gce-386 2022/02/04 05:09 https://github.com/google/kmsan.git master 85cfd6e539bd 30646bfe .config log report info KMSAN: uninit-value in bcmp
ci-upstream-kmsan-gce-386 2022/02/03 20:48 https://github.com/google/kmsan.git master 85cfd6e539bd 4ebb2798 .config log report info KMSAN: uninit-value in bcmp
ci-upstream-kmsan-gce-386 2022/02/03 13:10 https://github.com/google/kmsan.git master 85cfd6e539bd 4ebb2798 .config log report info KMSAN: uninit-value in bcmp
ci-upstream-kmsan-gce-386 2022/02/02 06:25 https://github.com/google/kmsan.git master 85cfd6e539bd 4ebb2798 .config log report info KMSAN: uninit-value in bcmp
ci-upstream-kmsan-gce-386 2022/02/01 18:15 https://github.com/google/kmsan.git master 85cfd6e539bd c1c1631d .config log report info KMSAN: uninit-value in bcmp
ci-upstream-kmsan-gce-386 2022/01/31 16:24 https://github.com/google/kmsan.git master 85cfd6e539bd 6b7c57fe .config log report info KMSAN: uninit-value in bcmp
ci-upstream-kmsan-gce-386 2022/01/28 02:33 https://github.com/google/kmsan.git master 85cfd6e539bd 64a8e201 .config log report info KMSAN: uninit-value in bcmp
ci-upstream-kmsan-gce-386 2022/01/25 13:19 https://github.com/google/kmsan.git master 85cfd6e539bd 2cbffd88 .config log report info KMSAN: uninit-value in bcmp
ci-upstream-kmsan-gce-386 2022/01/25 05:22 https://github.com/google/kmsan.git master 85cfd6e539bd 2cbffd88 .config log report info KMSAN: uninit-value in bcmp
ci-upstream-kmsan-gce-386 2022/01/23 03:28 https://github.com/google/kmsan.git master 85cfd6e539bd 214351e1 .config log report info KMSAN: uninit-value in bcmp
ci-upstream-kmsan-gce-386 2022/01/21 22:26 https://github.com/google/kmsan.git master 85cfd6e539bd 214351e1 .config log report info KMSAN: uninit-value in bcmp
ci-upstream-kmsan-gce-386 2022/01/20 23:15 https://github.com/google/kmsan.git master 85cfd6e539bd b838eb76 .config log report info KMSAN: uninit-value in bcmp
ci-upstream-kmsan-gce-386 2022/01/18 15:22 https://github.com/google/kmsan.git master fa3879a274df 731a2d23 .config log report info KMSAN: uninit-value in bcmp
ci-upstream-kmsan-gce-386 2022/01/17 14:35 https://github.com/google/kmsan.git master fa3879a274df 731a2d23 .config log report info KMSAN: uninit-value in bcmp
ci-upstream-kmsan-gce-386 2022/01/17 07:55 https://github.com/google/kmsan.git master fa3879a274df 723cfaf0 .config log report info KMSAN: uninit-value in bcmp
ci-upstream-kmsan-gce-386 2022/01/17 06:16 https://github.com/google/kmsan.git master fa3879a274df 723cfaf0 .config log report info KMSAN: uninit-value in bcmp
ci-upstream-kmsan-gce-386 2022/01/17 02:49 https://github.com/google/kmsan.git master fa3879a274df 723cfaf0 .config log report info KMSAN: uninit-value in bcmp
ci-upstream-kmsan-gce-386 2022/01/17 00:35 https://github.com/google/kmsan.git master fa3879a274df 723cfaf0 .config log report info KMSAN: uninit-value in bcmp
ci-upstream-kmsan-gce-386 2022/01/16 13:08 https://github.com/google/kmsan.git master fa3879a274df 723cfaf0 .config log report info KMSAN: uninit-value in bcmp
ci-upstream-kmsan-gce-386 2022/01/15 07:24 https://github.com/google/kmsan.git master fa3879a274df 723cfaf0 .config log report info KMSAN: uninit-value in bcmp
ci-upstream-kmsan-gce-386 2022/01/07 21:55 https://github.com/google/kmsan.git master 81c325bbf94e 2ca0d385 .config log report info KMSAN: uninit-value in bcmp
ci-upstream-kmsan-gce-386 2022/01/03 21:27 https://github.com/google/kmsan.git master 81c325bbf94e 4a3f34f2 .config log report info KMSAN: uninit-value in bcmp
ci-upstream-kmsan-gce-386 2022/01/02 01:22 https://github.com/google/kmsan.git master 81c325bbf94e e1768e9c .config log report info KMSAN: uninit-value in bcmp
ci-upstream-kmsan-gce-386 2022/01/01 21:38 https://github.com/google/kmsan.git master 81c325bbf94e e1768e9c .config log report info KMSAN: uninit-value in bcmp
ci-upstream-kmsan-gce-386 2022/01/01 01:56 https://github.com/google/kmsan.git master 81c325bbf94e e1768e9c .config log report info KMSAN: uninit-value in bcmp
ci-upstream-kmsan-gce-386 2021/12/29 21:31 https://github.com/google/kmsan.git master 81c325bbf94e 6cc879d4 .config log report info KMSAN: uninit-value in bcmp
ci-upstream-kmsan-gce-386 2021/12/29 19:36 https://github.com/google/kmsan.git master 81c325bbf94e 6cc879d4 .config log report info KMSAN: uninit-value in bcmp
ci-upstream-kmsan-gce-386 2021/12/29 07:24 https://github.com/google/kmsan.git master 81c325bbf94e 76c8cf06 .config log report info KMSAN: uninit-value in bcmp
ci-upstream-kmsan-gce-386 2021/12/28 22:48 https://github.com/google/kmsan.git master 81c325bbf94e 76c8cf06 .config log report info KMSAN: uninit-value in bcmp
ci-upstream-kmsan-gce-386 2021/12/22 09:22 https://github.com/google/kmsan.git master 81c325bbf94e 6caa12e4 .config log report info KMSAN: uninit-value in bcmp
ci-upstream-kmsan-gce-386 2021/12/21 04:44 https://github.com/google/kmsan.git master 81c325bbf94e 62bd192b .config log report info KMSAN: uninit-value in bcmp
ci-upstream-kmsan-gce-386 2021/12/21 01:25 https://github.com/google/kmsan.git master 81c325bbf94e 62bd192b .config log report info KMSAN: uninit-value in bcmp
ci-upstream-kmsan-gce-386 2021/12/17 16:28 https://github.com/google/kmsan.git master b0a8b5053e8b 44068e19 .config log report info KMSAN: uninit-value in bcmp
ci-upstream-kmsan-gce-386 2021/12/16 07:55 https://github.com/google/kmsan.git master cc9a49821cdb 572bcb40 .config log report info KMSAN: uninit-value in bcmp
ci-upstream-kmsan-gce-386 2021/12/16 05:52 https://github.com/google/kmsan.git master cc9a49821cdb 572bcb40 .config log report info KMSAN: uninit-value in bcmp
ci-upstream-kmsan-gce-386 2021/12/14 23:06 https://github.com/google/kmsan.git master b1e1bb6f7a2e d018dd31 .config log report info KMSAN: uninit-value in bcmp
ci2-upstream-fs 2022/10/05 08:35 upstream 0326074ff465 267e3bb1 .config log report info KASAN: use-after-free Read in bcmp
ci-upstream-kasan-gce-smack-root 2022/09/11 20:02 upstream b96fbd602d35 356d8217 .config log report info KASAN: slab-out-of-bounds Read in bcmp
ci-upstream-kasan-gce-smack-root 2022/01/27 03:07 upstream 0280e3c58f92 2cbffd88 .config log report info KASAN: use-after-free Read in bcmp
ci-upstream-kasan-gce-smack-root 2021/11/17 15:05 upstream 8ab774587903 cafff8b6 .config log report info KASAN: use-after-free Read in bcmp
ci-upstream-kmsan-gce 2021/01/16 09:59 https://github.com/google/kmsan.git master 73d62e81b476 65a7a854 .config log report info
ci-upstream-kmsan-gce 2019/05/02 14:52 https://github.com/google/kmsan.git master d062d017e907 7516d9fa .config log report
* Struck through repros no longer work on HEAD.