syzbot


KMSAN: uninit-value in emulate_vsyscall

Status: auto-closed as invalid on 2020/11/22 21:34
Subsystems: kernel
[Documentation on labels]
First crash: 1311d, last: 1311d

Sample crash report:
=====================================================
BUG: KMSAN: uninit-value in warn_bad_vsyscall arch/x86/entry/vsyscall/vsyscall_64.c:79 [inline]
BUG: KMSAN: uninit-value in emulate_vsyscall+0x28b2/0x2f20 arch/x86/entry/vsyscall/vsyscall_64.c:142
CPU: 0 PID: 10850 Comm: syz-executor.5 Not tainted 5.8.0-rc5-syzkaller #0
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+0x21c/0x280 lib/dump_stack.c:118
 kmsan_report+0xf7/0x1e0 mm/kmsan/kmsan_report.c:121
 __msan_warning+0x58/0xa0 mm/kmsan/kmsan_instr.c:215
 warn_bad_vsyscall arch/x86/entry/vsyscall/vsyscall_64.c:79 [inline]
 emulate_vsyscall+0x28b2/0x2f20 arch/x86/entry/vsyscall/vsyscall_64.c:142
 __exc_page_fault+0xac/0x450 arch/x86/mm/fault.c:1428
 exc_page_fault+0x45/0x50 arch/x86/mm/fault.c:1390
 asm_exc_page_fault+0x1e/0x30 arch/x86/include/asm/idtentry.h:550
RIP: 0010:vdso_mremap+0x3ab/0x460 arch/x86/entry/vdso/vma.c:99
Code: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 <00> 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
RSP: 0018:ffff8881c7e938e8 EFLAGS: 00010086
RAX: 00000000c7e93988 RBX: ffff8881c7e93ce0 RCX: c7e93988c7e93988
RDX: ffff8881c7a93ce0 RSI: 0000000000000000 RDI: 00000000c7e93988
RBP: ffff8881c7e93900 R08: ffffea000000000f R09: ffff88812fffa000
R10: 0000000000000000 R11: 0000000000000000 R12: ffff8881c7e93988
R13: ffff8881c7e938c8 R14: ffff8881c7e93838 R15: ffff888100000000
 __exc_page_fault+0xac/0x450 arch/x86/mm/fault.c:1428
 exc_page_fault+0x45/0x50 arch/x86/mm/fault.c:1390
 asm_exc_page_fault+0x1e/0x30 arch/x86/include/asm/idtentry.h:550
RIP: 0010:vvar_fault+0x418/0xca0 arch/x86/entry/vdso/vma.c:220
Code: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 <00> 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
RSP: 0018:ffff8881c7e93a38 EFLAGS: 00010086
RAX: 0000000000000000 RBX: ffff8881c7e93a18 RCX: 0000000000000000
RDX: 0000000000012b52 RSI: ffff8881c7e93c28 RDI: ffffffff8236bb06
RBP: ffff8881c7e93a50 R08: ffffea000000000f R09: ffff88812fffa000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: ffff8881c7e93c28 R15: 0000000000012b52
 __exc_page_fault+0xac/0x450 arch/x86/mm/fault.c:1428
 exc_page_fault+0x45/0x50 arch/x86/mm/fault.c:1390
 asm_exc_page_fault+0x1e/0x30 arch/x86/include/asm/idtentry.h:550
RIP: 0010:vdso_addr arch/x86/entry/vdso/vma.c:342 [inline]
RIP: 0010:map_vdso_randomized arch/x86/entry/vdso/vma.c:365 [inline]
RIP: 0010:compat_arch_setup_additional_pages+0x1a7/0x370 arch/x86/entry/vdso/vma.c:423
Code: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 <00> 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
RSP: 0018:ffff8881c7e93b88 EFLAGS: 00010082
RAX: ffff888105ec92ea RBX: ffff8881c7e93c28 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff888105ec1e80
RBP: ffff8881c7e93ba0 R08: ffffea000000000f R09: ffff88812fffa000
R10: 0000000000000000 R11: 0000000000000000 R12: ffff8881c7e93c28
R13: 0000000a9f7990ab R14: ffff888105ec2858 R15: ffff888105ec2858
 __exc_page_fault+0xac/0x450 arch/x86/mm/fault.c:1428
 exc_page_fault+0x45/0x50 arch/x86/mm/fault.c:1390
 asm_exc_page_fault+0x1e/0x30 arch/x86/include/asm/idtentry.h:550
RIP: 0010:trace_raw_output_sys_enter+0x29a/0x4b0 include/trace/events/syscalls.h:18
Code: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 <00> 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
RSP: 0018:ffff8881c7e93cd0 EFLAGS: 00010003
RAX: ffff88821fef0cd8 RBX: 0000000000000000 RCX: 000000021fe51cd8
RDX: ffff88821fe51cd8 RSI: ffff888124a7db80 RDI: ffff888105ec1e80
RBP: ffff8881c7e93d30 R08: ffffea000000000f R09: ffff88812fffa000
R10: 0000000000000004 R11: 0000000000000000 R12: ffff88812fc94cd8
R13: ffff888105ec2858 R14: ffff888105ec1e80 R15: ffff88812fc94340

------------[ cut here ]------------
slab index 10328 out of bounds (432) for stack id 05ec2858
WARNING: CPU: 0 PID: 10850 at lib/stackdepot.c:235 stack_depot_fetch+0x2d/0x60 lib/stackdepot.c:234

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