syzbot


KMSAN: uninit-value in kernel_text_address

Status: closed as invalid on 2018/05/14 09:33
Subsystems: kernel
[Documentation on labels]
First crash: 2488d, last: 2474d

Sample crash report:
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:17 [inline]
 dump_stack+0x185/0x1d0 lib/dump_stack.c:53
 fail_dump lib/fault-inject.c:51 [inline]
 should_fail+0x87b/0xab0 lib/fault-inject.c:149
==================================================================
BUG: KMSAN: uninit-value in core_kernel_text kernel/extable.c:77 [inline]
BUG: KMSAN: uninit-value in kernel_text_address+0x248/0x3a0 kernel/extable.c:127
CPU: 0 PID: 3586 Comm: syzkaller401524 Not tainted 4.16.0+ #84
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:17 [inline]
 dump_stack+0x14a/0x1d0 lib/dump_stack.c:53
 kmsan_report+0x142/0x240 mm/kmsan/kmsan.c:1067
 __msan_warning_32+0x6c/0xb0 mm/kmsan/kmsan_instr.c:676
 core_kernel_text kernel/extable.c:77 [inline]
 kernel_text_address+0x248/0x3a0 kernel/extable.c:127
 __kernel_text_address+0x34/0xe0 kernel/extable.c:107
 show_trace_log_lvl+0x954/0x1030 arch/x86/kernel/dumpstack.c:175
 show_stack+0xfc/0x150 arch/x86/kernel/dumpstack.c:236
 __dump_stack lib/dump_stack.c:17 [inline]
 dump_stack+0x185/0x1d0 lib/dump_stack.c:53
 fail_dump lib/fault-inject.c:51 [inline]
 should_fail+0x87b/0xab0 lib/fault-inject.c:149
 should_failslab+0x279/0x2a0 mm/failslab.c:32
 slab_pre_alloc_hook mm/slab.h:422 [inline]
 slab_alloc_node mm/slub.c:2663 [inline]
 slab_alloc mm/slub.c:2745 [inline]
 kmem_cache_alloc+0x136/0xb90 mm/slub.c:2750
 kmem_cache_zalloc include/linux/slab.h:691 [inline]
 mmap_region+0x1c90/0x33b0 mm/mmap.c:1673
 do_mmap+0x16ac/0x1830 mm/mmap.c:1483
 do_mmap_pgoff include/linux/mm.h:2223 [inline]
 vm_mmap_pgoff+0x31b/0x430 mm/util.c:355
 SYSC_mmap_pgoff+0x260/0xaf0 mm/mmap.c:1533
 SyS_mmap_pgoff+0x8a/0xb0 mm/mmap.c:1491
 SYSC_mmap+0x172/0x1a0 arch/x86/kernel/sys_x86_64.c:100
 SyS_mmap+0x85/0xb0 arch/x86/kernel/sys_x86_64.c:91
 do_syscall_64+0x309/0x430 arch/x86/entry/common.c:287
 entry_SYSCALL_64_after_hwframe+0x3d/0xa2
RIP: 0033:0x440459
RSP: 002b:00007ffeb1c7a918 EFLAGS: 00000216 ORIG_RAX: 0000000000000009
RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 0000000000440459
RDX: 0000000000000003 RSI: 0000000001000000 RDI: 0000000020000000
RBP: 00000000006cb018 R08: 00000000ffffffff R09: 0000000000000000
R10: 0000000000000032 R11: 0000000000000216 R12: 0000000000401d40
R13: 0000000000401dd0 R14: 0000000000000000 R15: 0000000000000000

Local variable description: ----name@__fsnotify_parent
Variable was created at:
 __fsnotify_parent+0x75/0x560 fs/notify/fsnotify.c:147
 fsnotify_parent include/linux/fsnotify.h:26 [inline]
 fsnotify_perm include/linux/fsnotify.h:52 [inline]
 security_file_open+0x28f/0x3c0 security/security.c:975
==================================================================

Crashes (8445):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/04/21 04:08 https://github.com/google/kmsan.git master 48c6a2b0ab1b ca03d688 .config console log report syz C ci-upstream-kmsan-gce
2018/04/20 11:57 https://github.com/google/kmsan.git master 48c6a2b0ab1b eae05cb0 .config console log report syz C ci-upstream-kmsan-gce
2018/04/20 10:50 https://github.com/google/kmsan.git master 48c6a2b0ab1b eae05cb0 .config console log report syz C ci-upstream-kmsan-gce
2018/04/19 21:36 https://github.com/google/kmsan.git master 48c6a2b0ab1b 3642839c .config console log report syz C ci-upstream-kmsan-gce
2018/04/19 15:52 https://github.com/google/kmsan.git master 48c6a2b0ab1b 3642839c .config console log report syz C ci-upstream-kmsan-gce
2018/04/19 10:23 https://github.com/google/kmsan.git master 48c6a2b0ab1b d1b2ef69 .config console log report syz C ci-upstream-kmsan-gce
2018/04/19 04:25 https://github.com/google/kmsan.git master 48c6a2b0ab1b 829f0234 .config console log report syz C ci-upstream-kmsan-gce
2018/04/18 15:51 https://github.com/google/kmsan.git master 48c6a2b0ab1b 52643b44 .config console log report syz C ci-upstream-kmsan-gce
2018/04/18 03:16 https://github.com/google/kmsan.git master 48c6a2b0ab1b b80fd3b5 .config console log report syz C ci-upstream-kmsan-gce
2018/04/17 02:04 https://github.com/google/kmsan.git master 48c6a2b0ab1b b80fd3b5 .config console log report syz C ci-upstream-kmsan-gce
2018/04/16 22:13 https://github.com/google/kmsan.git master 48c6a2b0ab1b 802ac912 .config console log report syz C ci-upstream-kmsan-gce
2018/04/16 00:24 https://github.com/google/kmsan.git master 35ff515e4bda 7a67784c .config console log report syz C ci-upstream-kmsan-gce
2018/04/15 01:07 https://github.com/google/kmsan.git master 35ff515e4bda 7a67784c .config console log report syz C ci-upstream-kmsan-gce
2018/04/14 18:34 https://github.com/google/kmsan.git master 35ff515e4bda 7a67784c .config console log report syz C ci-upstream-kmsan-gce
2018/04/13 18:25 https://github.com/google/kmsan.git master 35ff515e4bda 0a0c5db6 .config console log report syz C ci-upstream-kmsan-gce
2018/04/12 23:06 https://github.com/google/kmsan.git master 35ff515e4bda eb2295de .config console log report syz C ci-upstream-kmsan-gce
2018/04/12 18:45 https://github.com/google/kmsan.git master 35ff515e4bda eb2295de .config console log report syz C ci-upstream-kmsan-gce
2018/04/12 18:26 https://github.com/google/kmsan.git master 35ff515e4bda eb2295de .config console log report syz C ci-upstream-kmsan-gce
2018/04/12 06:49 https://github.com/google/kmsan.git master 35ff515e4bda 9cd56d71 .config console log report syz C ci-upstream-kmsan-gce
2018/04/12 05:48 https://github.com/google/kmsan.git master 35ff515e4bda 9cd56d71 .config console log report syz C ci-upstream-kmsan-gce
2018/04/12 00:37 https://github.com/google/kmsan.git master 35ff515e4bda 9cd56d71 .config console log report syz C ci-upstream-kmsan-gce
2018/04/11 19:07 https://github.com/google/kmsan.git master 35ff515e4bda 8b8de427 .config console log report syz C ci-upstream-kmsan-gce
2018/04/11 17:49 https://github.com/google/kmsan.git master 35ff515e4bda 8b8de427 .config console log report syz C ci-upstream-kmsan-gce
2018/04/11 10:32 https://github.com/google/kmsan.git master 35ff515e4bda 8b8de427 .config console log report syz C ci-upstream-kmsan-gce
2018/04/11 04:19 https://github.com/google/kmsan.git master 35ff515e4bda 8b8de427 .config console log report syz C ci-upstream-kmsan-gce
2018/04/11 00:48 https://github.com/google/kmsan.git master 35ff515e4bda 8b8de427 .config console log report syz C ci-upstream-kmsan-gce
2018/04/10 23:51 https://github.com/google/kmsan.git master 35ff515e4bda 8b8de427 .config console log report syz C ci-upstream-kmsan-gce
2018/04/10 06:15 https://github.com/google/kmsan.git master e2ab7e8abba4 b9f65507 .config console log report syz C ci-upstream-kmsan-gce
2018/04/09 23:47 https://github.com/google/kmsan.git master e2ab7e8abba4 b9f65507 .config console log report syz C ci-upstream-kmsan-gce
2018/04/09 13:22 https://github.com/google/kmsan.git master e2ab7e8abba4 f13fb445 .config console log report syz C ci-upstream-kmsan-gce
2018/04/08 23:00 https://github.com/google/kmsan.git master e2ab7e8abba4 77bd5117 .config console log report syz C ci-upstream-kmsan-gce
2018/04/08 21:42 https://github.com/google/kmsan.git master e2ab7e8abba4 77bd5117 .config console log report syz C ci-upstream-kmsan-gce
2018/04/08 18:21 https://github.com/google/kmsan.git master e2ab7e8abba4 77bd5117 .config console log report syz C ci-upstream-kmsan-gce
2018/04/08 17:10 https://github.com/google/kmsan.git master e2ab7e8abba4 77bd5117 .config console log report syz C ci-upstream-kmsan-gce
2018/04/08 11:40 https://github.com/google/kmsan.git master e2ab7e8abba4 66f22a7f .config console log report syz C ci-upstream-kmsan-gce
2018/04/08 11:13 https://github.com/google/kmsan.git master e2ab7e8abba4 66f22a7f .config console log report syz C ci-upstream-kmsan-gce
2018/04/08 06:46 https://github.com/google/kmsan.git master e2ab7e8abba4 66f22a7f .config console log report syz C ci-upstream-kmsan-gce
2018/04/07 19:56 https://github.com/google/kmsan.git master e2ab7e8abba4 66f22a7f .config console log report syz C ci-upstream-kmsan-gce
2018/04/13 03:53 https://github.com/google/kmsan.git master 35ff515e4bda eb2295de .config console log report syz ci-upstream-kmsan-gce
2018/04/20 20:46 https://github.com/google/kmsan.git master 48c6a2b0ab1b cc402841 .config console log report ci-upstream-kmsan-gce
2018/04/20 03:33 https://github.com/google/kmsan.git master 48c6a2b0ab1b eae05cb0 .config console log report ci-upstream-kmsan-gce
2018/04/16 12:50 https://github.com/google/kmsan.git master 48c6a2b0ab1b 802ac912 .config console log report ci-upstream-kmsan-gce
2018/04/13 21:18 https://github.com/google/kmsan.git master 35ff515e4bda 7a67784c .config console log report ci-upstream-kmsan-gce
2018/04/13 15:28 https://github.com/google/kmsan.git master 35ff515e4bda 0a0c5db6 .config console log report ci-upstream-kmsan-gce
2018/04/13 09:00 https://github.com/google/kmsan.git master 35ff515e4bda 0a0c5db6 .config console log report ci-upstream-kmsan-gce
2018/04/12 17:55 https://github.com/google/kmsan.git master 35ff515e4bda eb2295de .config console log report ci-upstream-kmsan-gce
2018/04/11 15:20 https://github.com/google/kmsan.git master 35ff515e4bda 8b8de427 .config console log report ci-upstream-kmsan-gce
2018/04/11 12:12 https://github.com/google/kmsan.git master 35ff515e4bda 8b8de427 .config console log report ci-upstream-kmsan-gce
2018/04/11 10:24 https://github.com/google/kmsan.git master 35ff515e4bda 8b8de427 .config console log report ci-upstream-kmsan-gce
2018/04/10 22:30 https://github.com/google/kmsan.git master 35ff515e4bda 8b8de427 .config console log report ci-upstream-kmsan-gce
2018/04/08 15:11 https://github.com/google/kmsan.git master e2ab7e8abba4 77bd5117 .config console log report ci-upstream-kmsan-gce
2018/04/07 13:56 https://github.com/google/kmsan.git master e2ab7e8abba4 66f22a7f .config console log report ci-upstream-kmsan-gce
2018/04/07 04:37 https://github.com/google/kmsan.git master e2ab7e8abba4 d613535f .config console log report ci-upstream-kmsan-gce
2018/04/07 04:32 https://github.com/google/kmsan.git master e2ab7e8abba4 d613535f .config console log report ci-upstream-kmsan-gce
2018/04/07 04:25 https://github.com/google/kmsan.git master e2ab7e8abba4 d613535f .config console log report ci-upstream-kmsan-gce
2018/04/07 04:17 https://github.com/google/kmsan.git master e2ab7e8abba4 d613535f .config console log report ci-upstream-kmsan-gce
2018/04/07 04:17 https://github.com/google/kmsan.git master e2ab7e8abba4 d613535f .config console log report ci-upstream-kmsan-gce
2018/04/07 04:02 https://github.com/google/kmsan.git master e2ab7e8abba4 d613535f .config console log report ci-upstream-kmsan-gce
2018/04/07 04:02 https://github.com/google/kmsan.git master e2ab7e8abba4 d613535f .config console log report ci-upstream-kmsan-gce
2018/04/07 03:33 https://github.com/google/kmsan.git master e2ab7e8abba4 d613535f .config console log report ci-upstream-kmsan-gce
2018/04/07 03:18 https://github.com/google/kmsan.git master e2ab7e8abba4 d613535f .config console log report ci-upstream-kmsan-gce
2018/04/07 03:09 https://github.com/google/kmsan.git master e2ab7e8abba4 d613535f .config console log report ci-upstream-kmsan-gce
2018/04/07 02:58 https://github.com/google/kmsan.git master e2ab7e8abba4 d613535f .config console log report ci-upstream-kmsan-gce
2018/04/07 02:42 https://github.com/google/kmsan.git master e2ab7e8abba4 d613535f .config console log report ci-upstream-kmsan-gce
2018/04/07 02:37 https://github.com/google/kmsan.git master e2ab7e8abba4 d613535f .config console log report ci-upstream-kmsan-gce
2018/04/07 02:24 https://github.com/google/kmsan.git master e2ab7e8abba4 d613535f .config console log report ci-upstream-kmsan-gce
2018/04/07 02:18 https://github.com/google/kmsan.git master e2ab7e8abba4 d613535f .config console log report ci-upstream-kmsan-gce
2018/04/07 02:17 https://github.com/google/kmsan.git master e2ab7e8abba4 d613535f .config console log report ci-upstream-kmsan-gce
2018/04/07 02:15 https://github.com/google/kmsan.git master e2ab7e8abba4 d613535f .config console log report ci-upstream-kmsan-gce
2018/04/07 02:14 https://github.com/google/kmsan.git master e2ab7e8abba4 d613535f .config console log report ci-upstream-kmsan-gce
2018/04/07 02:13 https://github.com/google/kmsan.git master e2ab7e8abba4 d613535f .config console log report ci-upstream-kmsan-gce
2018/04/07 02:08 https://github.com/google/kmsan.git master e2ab7e8abba4 d613535f .config console log report ci-upstream-kmsan-gce
2018/04/07 02:03 https://github.com/google/kmsan.git master e2ab7e8abba4 d613535f .config console log report ci-upstream-kmsan-gce
2018/04/07 02:01 https://github.com/google/kmsan.git master e2ab7e8abba4 d613535f .config console log report ci-upstream-kmsan-gce
2018/04/07 01:59 https://github.com/google/kmsan.git master e2ab7e8abba4 d613535f .config console log report ci-upstream-kmsan-gce
2018/04/07 01:47 https://github.com/google/kmsan.git master e2ab7e8abba4 d613535f .config console log report ci-upstream-kmsan-gce
2018/04/07 01:15 https://github.com/google/kmsan.git master e2ab7e8abba4 d613535f .config console log report ci-upstream-kmsan-gce
2018/04/07 01:15 https://github.com/google/kmsan.git master e2ab7e8abba4 d613535f .config console log report ci-upstream-kmsan-gce
2018/04/07 01:15 https://github.com/google/kmsan.git master e2ab7e8abba4 d613535f .config console log report ci-upstream-kmsan-gce
2018/04/07 00:43 https://github.com/google/kmsan.git master e2ab7e8abba4 d613535f .config console log report ci-upstream-kmsan-gce
2018/04/06 23:56 https://github.com/google/kmsan.git master e2ab7e8abba4 d613535f .config console log report ci-upstream-kmsan-gce
* Struck through repros no longer work on HEAD.