syzbot


KMSAN: uninit-value in get_stack_info

Status: closed as invalid on 2018/11/09 09:17
Subsystems: kernel
[Documentation on labels]
First crash: 2043d, last: 2043d
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KMSAN: uninit-value in number (4) kernel C 7189 568d 946d 0/28 closed as invalid on 2022/11/28 10:01
upstream KMSAN: uninit-value in get_stack_info (2) kernel 128 2042d 2043d 0/28 auto-closed as invalid on 2019/05/08 18:35
upstream KMSAN: uninit-value in get_stack_info (3) kernel 1 1289d 1289d 0/28 auto-closed as invalid on 2021/03/01 22:48

Sample crash report:
name failslab, interval 1, probability 0, space 0, times 1
CPU: 0 PID: 8308 Comm: syz-executor4 Not tainted 4.19.0+ #80
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
==================================================================
BUG: KMSAN: uninit-value in get_stack_info+0x720/0x9d0 arch/x86/kernel/dumpstack_64.c:139
CPU: 0 PID: 8308 Comm: syz-executor4 Not tainted 4.19.0+ #80
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+0x419/0x480 lib/dump_stack.c:113
 kmsan_report+0x19f/0x300 mm/kmsan/kmsan.c:911
 __msan_warning+0x76/0xd0 mm/kmsan/kmsan_instr.c:415
 get_stack_info+0x720/0x9d0 arch/x86/kernel/dumpstack_64.c:139
 __unwind_start+0x7d/0xe0 arch/x86/kernel/unwind_frame.c:402
 unwind_start arch/x86/include/asm/unwind.h:54 [inline]
 show_trace_log_lvl+0x20e/0x11e0 arch/x86/kernel/dumpstack.c:173
 show_stack+0x12e/0x170 arch/x86/kernel/dumpstack.c:293
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x32d/0x480 lib/dump_stack.c:113
 fail_dump lib/fault-inject.c:51 [inline]
 should_fail+0x11e5/0x13c0 lib/fault-inject.c:149
 __should_failslab+0x278/0x2a0 mm/failslab.c:32
 should_failslab+0x29/0x70 mm/slab_common.c:1557
 slab_pre_alloc_hook mm/slab.h:423 [inline]
 slab_alloc_node mm/slub.c:2653 [inline]
 slab_alloc mm/slub.c:2735 [inline]
 kmem_cache_alloc+0x146/0xe20 mm/slub.c:2740
 anon_vma_chain_alloc mm/rmap.c:129 [inline]
 __anon_vma_prepare+0x106/0xdd0 mm/rmap.c:183
 anon_vma_prepare include/linux/rmap.h:153 [inline]
 do_huge_pmd_anonymous_page+0x4ce/0x3070 mm/huge_memory.c:675
 create_huge_pmd mm/memory.c:3876 [inline]
 __handle_mm_fault mm/memory.c:4080 [inline]
 handle_mm_fault+0x5f54/0xa560 mm/memory.c:4146
 __do_page_fault+0x10f8/0x1bb0 arch/x86/mm/fault.c:1396
 do_page_fault+0x98/0xd0 arch/x86/mm/fault.c:1473
 page_fault+0x1e/0x30 arch/x86/entry/entry_64.S:1170
RIP: 0010:copy_user_generic_unrolled+0x89/0xc0 arch/x86/lib/copy_user_64.S:66
Code: 38 4c 89 47 20 4c 89 4f 28 4c 89 57 30 4c 89 5f 38 48 8d 76 40 48 8d 7f 40 ff c9 75 b6 89 d1 83 e2 07 c1 e9 03 74 12 4c 8b 06 <4c> 89 07 48 8d 76 08 48 8d 7f 08 ff c9 75 ee 21 d2 74 10 89 d1 8a
RSP: 0018:ffff88016bd9fc70 EFLAGS: 00010206
RAX: f8fca5aa4cc25800 RBX: 0000000000000028 RCX: 0000000000000005
RDX: 0000000000000000 RSI: ffff88016bd9fd48 RDI: 0000000020000340
RBP: ffff88016bd9fce8 R08: 00007d003d090000 R09: ffff8801462d2010
R10: 0000000000000000 R11: ffffffff841e5700 R12: ffff880138e42788
R13: 0000000000000000 R14: 0000000020000340 R15: ffff88016bd9fd48
 copy_to_user include/linux/uaccess.h:183 [inline]
 semctl_info+0x520/0x630 ipc/sem.c:1323
 ksys_semctl+0x497/0x740 ipc/sem.c:1654
 __do_sys_semctl ipc/sem.c:1694 [inline]
 __se_sys_semctl+0xb8/0xd0 ipc/sem.c:1692
 __x64_sys_semctl+0x56/0x70 ipc/sem.c:1692
 do_syscall_64+0xcf/0x110 arch/x86/entry/common.c:291
 entry_SYSCALL_64_after_hwframe+0x63/0xe7
RIP: 0033:0x457569
Code: fd b3 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 cb b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007fbc9338dc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000042
RAX: ffffffffffffffda RBX: 00007fbc9338dc90 RCX: 0000000000457569
RDX: 0000000000000003 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 000000000072bf00 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000020000340 R11: 0000000000000246 R12: 00007fbc9338e6d4
R13: 00000000004c369f R14: 00000000004d5680 R15: 0000000000000003

Local variable description: ----state@show_trace_log_lvl
Variable was created at:
 show_trace_log_lvl+0xb3/0x11e0 arch/x86/kernel/dumpstack.c:164
 show_stack+0x12e/0x170 arch/x86/kernel/dumpstack.c:293
==================================================================

Crashes (49):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/11/09 08:57 https://github.com/google/kmsan.git master c9658ff8d68d 8fd01d3a .config console log report ci-upstream-kmsan-gce
2018/11/09 08:51 https://github.com/google/kmsan.git master c9658ff8d68d 8fd01d3a .config console log report ci-upstream-kmsan-gce
2018/11/09 08:50 https://github.com/google/kmsan.git master c9658ff8d68d 8fd01d3a .config console log report ci-upstream-kmsan-gce
2018/11/09 08:49 https://github.com/google/kmsan.git master c9658ff8d68d 8fd01d3a .config console log report ci-upstream-kmsan-gce
2018/11/09 08:48 https://github.com/google/kmsan.git master c9658ff8d68d 8fd01d3a .config console log report ci-upstream-kmsan-gce
2018/11/09 08:42 https://github.com/google/kmsan.git master c9658ff8d68d 8fd01d3a .config console log report ci-upstream-kmsan-gce
2018/11/09 08:41 https://github.com/google/kmsan.git master c9658ff8d68d 8fd01d3a .config console log report ci-upstream-kmsan-gce
2018/11/09 08:39 https://github.com/google/kmsan.git master c9658ff8d68d 8fd01d3a .config console log report ci-upstream-kmsan-gce
2018/11/09 08:37 https://github.com/google/kmsan.git master c9658ff8d68d 8fd01d3a .config console log report ci-upstream-kmsan-gce
2018/11/09 08:36 https://github.com/google/kmsan.git master c9658ff8d68d 8fd01d3a .config console log report ci-upstream-kmsan-gce
2018/11/09 08:34 https://github.com/google/kmsan.git master c9658ff8d68d 8fd01d3a .config console log report ci-upstream-kmsan-gce
2018/11/09 08:32 https://github.com/google/kmsan.git master c9658ff8d68d 8fd01d3a .config console log report ci-upstream-kmsan-gce
2018/11/09 08:31 https://github.com/google/kmsan.git master c9658ff8d68d 8fd01d3a .config console log report ci-upstream-kmsan-gce
2018/11/09 08:29 https://github.com/google/kmsan.git master c9658ff8d68d 8fd01d3a .config console log report ci-upstream-kmsan-gce
2018/11/09 08:28 https://github.com/google/kmsan.git master c9658ff8d68d 8fd01d3a .config console log report ci-upstream-kmsan-gce
2018/11/09 08:24 https://github.com/google/kmsan.git master c9658ff8d68d 8fd01d3a .config console log report ci-upstream-kmsan-gce
2018/11/09 08:24 https://github.com/google/kmsan.git master c9658ff8d68d 8fd01d3a .config console log report ci-upstream-kmsan-gce
2018/11/09 08:22 https://github.com/google/kmsan.git master c9658ff8d68d 8fd01d3a .config console log report ci-upstream-kmsan-gce
2018/11/09 08:14 https://github.com/google/kmsan.git master c9658ff8d68d 8fd01d3a .config console log report ci-upstream-kmsan-gce
2018/11/09 08:14 https://github.com/google/kmsan.git master c9658ff8d68d 8fd01d3a .config console log report ci-upstream-kmsan-gce
2018/11/09 07:46 https://github.com/google/kmsan.git master c9658ff8d68d 8fd01d3a .config console log report ci-upstream-kmsan-gce
2018/11/09 07:46 https://github.com/google/kmsan.git master c9658ff8d68d 8fd01d3a .config console log report ci-upstream-kmsan-gce
2018/11/09 07:46 https://github.com/google/kmsan.git master c9658ff8d68d 8fd01d3a .config console log report ci-upstream-kmsan-gce
2018/11/09 07:45 https://github.com/google/kmsan.git master c9658ff8d68d 8fd01d3a .config console log report ci-upstream-kmsan-gce
2018/11/09 07:45 https://github.com/google/kmsan.git master c9658ff8d68d 8fd01d3a .config console log report ci-upstream-kmsan-gce
2018/11/09 07:45 https://github.com/google/kmsan.git master c9658ff8d68d 8fd01d3a .config console log report ci-upstream-kmsan-gce
2018/11/09 07:45 https://github.com/google/kmsan.git master c9658ff8d68d 8fd01d3a .config console log report ci-upstream-kmsan-gce
2018/11/09 07:40 https://github.com/google/kmsan.git master c9658ff8d68d 8fd01d3a .config console log report ci-upstream-kmsan-gce
2018/11/09 07:35 https://github.com/google/kmsan.git master c9658ff8d68d 8fd01d3a .config console log report ci-upstream-kmsan-gce
2018/11/09 07:34 https://github.com/google/kmsan.git master c9658ff8d68d 8fd01d3a .config console log report ci-upstream-kmsan-gce
2018/11/09 07:29 https://github.com/google/kmsan.git master c9658ff8d68d 8fd01d3a .config console log report ci-upstream-kmsan-gce
2018/11/09 07:19 https://github.com/google/kmsan.git master c9658ff8d68d 8fd01d3a .config console log report ci-upstream-kmsan-gce
2018/11/09 07:16 https://github.com/google/kmsan.git master c9658ff8d68d 8fd01d3a .config console log report ci-upstream-kmsan-gce
2018/11/09 07:11 https://github.com/google/kmsan.git master c9658ff8d68d 8fd01d3a .config console log report ci-upstream-kmsan-gce
2018/11/09 07:03 https://github.com/google/kmsan.git master c9658ff8d68d 8fd01d3a .config console log report ci-upstream-kmsan-gce
2018/11/09 06:56 https://github.com/google/kmsan.git master c9658ff8d68d 8fd01d3a .config console log report ci-upstream-kmsan-gce
2018/11/09 06:45 https://github.com/google/kmsan.git master c9658ff8d68d 8fd01d3a .config console log report ci-upstream-kmsan-gce
2018/11/09 06:42 https://github.com/google/kmsan.git master c9658ff8d68d 8fd01d3a .config console log report ci-upstream-kmsan-gce
2018/11/09 06:37 https://github.com/google/kmsan.git master c9658ff8d68d 8fd01d3a .config console log report ci-upstream-kmsan-gce
2018/11/09 06:23 https://github.com/google/kmsan.git master c9658ff8d68d 8fd01d3a .config console log report ci-upstream-kmsan-gce
2018/11/09 06:08 https://github.com/google/kmsan.git master c9658ff8d68d 8fd01d3a .config console log report ci-upstream-kmsan-gce
* Struck through repros no longer work on HEAD.