syzbot


KMSAN: uninit-value in __se_sys_waitid (3)

Status: closed as invalid on 2019/03/15 09:01
Subsystems: kernel
[Documentation on labels]
First crash: 1884d, last: 1884d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KMSAN: uninit-value in __se_sys_waitid kernel C 8593 2082d 2100d 0/26 closed as invalid on 2018/09/19 14:13
upstream KMSAN: uninit-value in __se_sys_waitid (2) kernel C 4005 1884d 1946d 0/26 closed as invalid on 2019/03/14 15:21

Sample crash report:
==================================================================
BUG: KMSAN: uninit-value in __do_sys_waitid kernel/exit.c:1621 [inline]
BUG: KMSAN: uninit-value in __se_sys_waitid+0x32c/0xb30 kernel/exit.c:1601
CPU: 0 PID: 11307 Comm: syz-executor.2 Not tainted 5.0.0+ #12
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x173/0x1d0 lib/dump_stack.c:113
 kmsan_report+0x12e/0x2a0 mm/kmsan/kmsan.c:600
 kmsan_internal_check_memory+0xa62/0xb80 mm/kmsan/kmsan.c:694
 kmsan_check_memory+0xd/0x10 mm/kmsan/kmsan.c:701
 __do_sys_waitid kernel/exit.c:1621 [inline]
 __se_sys_waitid+0x32c/0xb30 kernel/exit.c:1601
 __x64_sys_waitid+0x62/0x80 kernel/exit.c:1601
 do_syscall_64+0xbc/0xf0 arch/x86/entry/common.c:291
 entry_SYSCALL_64_after_hwframe+0x63/0xe7
RIP: 0033:0x458079
Code: ad b8 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 0f 83 7b b8 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007fefde861c78 EFLAGS: 00000246 ORIG_RAX: 00000000000000f7
RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 0000000000458079
RDX: 0000000020000200 RSI: 0000000000000000 RDI: e3f26eaf363b7978
RBP: 000000000073bf00 R08: 0000000020000280 R09: 0000000000000000
R10: 0000000020000000 R11: 0000000000000246 R12: 00007fefde8626d4
R13: 00000000004c6e22 R14: 00000000004dc670 R15: 00000000ffffffff

Local variable description: ----__pu_val120.i@__se_sys_waitid
Variable was created at:
 __se_sys_waitid+0x18c/0xb30 kernel/exit.c:1601
 __x64_sys_waitid+0x62/0x80 kernel/exit.c:1601

Bytes 0-3 of 4 are uninitialized
Memory access of size 4 starts at ffff8880462efe78
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/03/14 15:24 https://github.com/google/kmsan.git master c530a275757b d09a902e .config console log report ci-upstream-kmsan-gce
* Struck through repros no longer work on HEAD.