syzbot


KMSAN: uninit-value in show_trace_log_lvl (2)

Status: closed as invalid on 2018/11/16 09:28
Subsystems: kernel
[Documentation on labels]
First crash: 2050d, last: 2048d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KMSAN: uninit-value in number (4) kernel C 7189 576d 954d 0/27 closed as invalid on 2022/11/28 10:01
upstream KMSAN: uninit-value in show_trace_log_lvl mm 43 2253d 2266d 0/27 closed as invalid on 2018/06/27 14:58

Sample crash report:
name failslab, interval 1, probability 0, space 0, times 1
CPU: 0 PID: 6877 Comm: syz-executor084 Not tainted 4.19.0+ #82
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
==================================================================
BUG: KMSAN: uninit-value in show_trace_log_lvl+0x53f/0x11e0 arch/x86/kernel/dumpstack.c:212
CPU: 0 PID: 6877 Comm: syz-executor084 Not tainted 4.19.0+ #82
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
 show_trace_log_lvl+0x53f/0x11e0 arch/x86/kernel/dumpstack.c:212
 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]
 __kmalloc_node+0x257/0x1520 mm/slub.c:3830
 kmalloc_node include/linux/slab.h:555 [inline]
 kzalloc_node include/linux/slab.h:718 [inline]
 __get_vm_area_node+0x28c/0x820 mm/vmalloc.c:1390
 __vmalloc_node_range+0x290/0x12a0 mm/vmalloc.c:1747
 __vmalloc_node mm/vmalloc.c:1797 [inline]
 __vmalloc+0xe2/0x100 mm/vmalloc.c:1803
 bpf_prog_alloc+0xe1/0x4f0 kernel/bpf/core.c:85
 bpf_prog_load kernel/bpf/syscall.c:1373 [inline]
 __do_sys_bpf+0x6584/0xf9a0 kernel/bpf/syscall.c:2372
 __se_sys_bpf+0x8e/0xa0 kernel/bpf/syscall.c:2334
 __x64_sys_bpf+0x4a/0x70 kernel/bpf/syscall.c:2334
 do_syscall_64+0xcf/0x110 arch/x86/entry/common.c:291
 entry_SYSCALL_64_after_hwframe+0x63/0xe7
RIP: 0033:0x440529
Code: 18 89 d0 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 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 5b 14 fc ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007ffd438ea0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000141
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000440529
RDX: 0000000000000018 RSI: 0000000020b7a000 RDI: 0000000000000005
RBP: 00000000006cb018 R08: 0000000000000001 R09: 0000000000000031
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000003
R13: ffffffffffffffff R14: 0000000000000000 R15: 0000000000000000

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 (1433):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/11/11 10:46 https://github.com/google/kmsan.git master 746f11553795 f3c4e618 .config console log report syz C ci-upstream-kmsan-gce
2018/11/09 22:49 https://github.com/google/kmsan.git master 746f11553795 f9815aaf .config console log report syz C ci-upstream-kmsan-gce
2018/11/12 09:33 https://github.com/google/kmsan.git master 746f11553795 7b5f8621 .config console log report ci-upstream-kmsan-gce
2018/11/12 08:53 https://github.com/google/kmsan.git master 746f11553795 7b5f8621 .config console log report ci-upstream-kmsan-gce
2018/11/12 07:56 https://github.com/google/kmsan.git master 746f11553795 7b5f8621 .config console log report ci-upstream-kmsan-gce
2018/11/12 07:26 https://github.com/google/kmsan.git master 746f11553795 7b5f8621 .config console log report ci-upstream-kmsan-gce
2018/11/12 06:50 https://github.com/google/kmsan.git master 746f11553795 7b5f8621 .config console log report ci-upstream-kmsan-gce
2018/11/12 06:08 https://github.com/google/kmsan.git master 746f11553795 7b5f8621 .config console log report ci-upstream-kmsan-gce
2018/11/12 05:32 https://github.com/google/kmsan.git master 746f11553795 7b5f8621 .config console log report ci-upstream-kmsan-gce
2018/11/12 04:45 https://github.com/google/kmsan.git master 746f11553795 7b5f8621 .config console log report ci-upstream-kmsan-gce
2018/11/12 04:05 https://github.com/google/kmsan.git master 746f11553795 7b5f8621 .config console log report ci-upstream-kmsan-gce
2018/11/12 03:21 https://github.com/google/kmsan.git master 746f11553795 7b5f8621 .config console log report ci-upstream-kmsan-gce
2018/11/12 02:42 https://github.com/google/kmsan.git master 746f11553795 7b5f8621 .config console log report ci-upstream-kmsan-gce
2018/11/12 02:08 https://github.com/google/kmsan.git master 746f11553795 7b5f8621 .config console log report ci-upstream-kmsan-gce
2018/11/12 01:28 https://github.com/google/kmsan.git master 746f11553795 7b5f8621 .config console log report ci-upstream-kmsan-gce
2018/11/12 00:42 https://github.com/google/kmsan.git master 746f11553795 7b5f8621 .config console log report ci-upstream-kmsan-gce
2018/11/11 23:59 https://github.com/google/kmsan.git master 746f11553795 7b5f8621 .config console log report ci-upstream-kmsan-gce
2018/11/11 23:07 https://github.com/google/kmsan.git master 746f11553795 7b5f8621 .config console log report ci-upstream-kmsan-gce
2018/11/11 22:26 https://github.com/google/kmsan.git master 746f11553795 7b5f8621 .config console log report ci-upstream-kmsan-gce
2018/11/11 21:47 https://github.com/google/kmsan.git master 746f11553795 7b5f8621 .config console log report ci-upstream-kmsan-gce
2018/11/11 20:49 https://github.com/google/kmsan.git master 746f11553795 7b5f8621 .config console log report ci-upstream-kmsan-gce
2018/11/11 19:52 https://github.com/google/kmsan.git master 746f11553795 7b5f8621 .config console log report ci-upstream-kmsan-gce
2018/11/11 19:08 https://github.com/google/kmsan.git master 746f11553795 7b5f8621 .config console log report ci-upstream-kmsan-gce
2018/11/11 18:16 https://github.com/google/kmsan.git master 746f11553795 7b5f8621 .config console log report ci-upstream-kmsan-gce
2018/11/11 16:42 https://github.com/google/kmsan.git master 746f11553795 f3c4e618 .config console log report ci-upstream-kmsan-gce
2018/11/11 16:11 https://github.com/google/kmsan.git master 746f11553795 f3c4e618 .config console log report ci-upstream-kmsan-gce
2018/11/11 15:32 https://github.com/google/kmsan.git master 746f11553795 f3c4e618 .config console log report ci-upstream-kmsan-gce
2018/11/11 14:52 https://github.com/google/kmsan.git master 746f11553795 f3c4e618 .config console log report ci-upstream-kmsan-gce
2018/11/11 14:10 https://github.com/google/kmsan.git master 746f11553795 f3c4e618 .config console log report ci-upstream-kmsan-gce
2018/11/11 13:15 https://github.com/google/kmsan.git master 746f11553795 f3c4e618 .config console log report ci-upstream-kmsan-gce
2018/11/11 12:33 https://github.com/google/kmsan.git master 746f11553795 f3c4e618 .config console log report ci-upstream-kmsan-gce
2018/11/11 11:42 https://github.com/google/kmsan.git master 746f11553795 f3c4e618 .config console log report ci-upstream-kmsan-gce
2018/11/11 10:53 https://github.com/google/kmsan.git master 746f11553795 f3c4e618 .config console log report ci-upstream-kmsan-gce
2018/11/11 09:50 https://github.com/google/kmsan.git master 746f11553795 f3c4e618 .config console log report ci-upstream-kmsan-gce
2018/11/11 09:02 https://github.com/google/kmsan.git master 746f11553795 f3c4e618 .config console log report ci-upstream-kmsan-gce
2018/11/11 08:25 https://github.com/google/kmsan.git master 746f11553795 f3c4e618 .config console log report ci-upstream-kmsan-gce
2018/11/11 07:39 https://github.com/google/kmsan.git master 746f11553795 f3c4e618 .config console log report ci-upstream-kmsan-gce
2018/11/11 06:54 https://github.com/google/kmsan.git master 746f11553795 f3c4e618 .config console log report ci-upstream-kmsan-gce
2018/11/11 05:59 https://github.com/google/kmsan.git master 746f11553795 f3c4e618 .config console log report ci-upstream-kmsan-gce
2018/11/11 05:18 https://github.com/google/kmsan.git master 746f11553795 f3c4e618 .config console log report ci-upstream-kmsan-gce
2018/11/11 04:22 https://github.com/google/kmsan.git master 746f11553795 f3c4e618 .config console log report ci-upstream-kmsan-gce
2018/11/11 03:36 https://github.com/google/kmsan.git master 746f11553795 f3c4e618 .config console log report ci-upstream-kmsan-gce
2018/11/09 12:51 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.