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: 7731 Comm: syz-executor7 Not tainted 4.16.0+ #83 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 anon_vma_chain_alloc mm/rmap.c:128 [inline] __anon_vma_prepare+0xc9/0xb10 mm/rmap.c:182 anon_vma_prepare include/linux/rmap.h:153 [inline] do_huge_pmd_anonymous_page+0x3e8/0x2520 mm/huge_memory.c:679 create_huge_pmd mm/memory.c:3870 [inline] __handle_mm_fault mm/memory.c:4074 [inline] handle_mm_fault+0x30ba/0x7ba0 mm/memory.c:4140 __do_page_fault+0xec4/0x1a10 arch/x86/mm/fault.c:1423 do_page_fault+0xd3/0x260 arch/x86/mm/fault.c:1500 page_fault+0x25/0x50 arch/x86/entry/entry_64.S:1151 RIP: 0010:copy_user_enhanced_fast_string+0xe/0x20 arch/x86/lib/copy_user_64.S:180 RSP: 0018:ffff880164a7fce0 EFLAGS: 00010202 RAX: ffffffff82b97deb RBX: 0000000020000000 RCX: 0000000000000078 RDX: 0000000000000078 RSI: ffff880164a7fd58 RDI: 0000000020000000 RBP: ffff880164a7fd48 R08: 0000000001080020 R09: 0000000000000002 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: ffff880164a7fce8 R14: 0000000000000000 R15: ffff880167c4c418 copy_to_user include/linux/uaccess.h:183 [inline] copy_msqid_to_user ipc/msg.c:288 [inline] SYSC_msgctl+0x2c2/0x5e0 ipc/msg.c:565 SyS_msgctl+0x54/0x80 ipc/msg.c:536 do_syscall_64+0x309/0x430 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x3d/0xa2 RIP: 0033:0x455279 RSP: 002b:00007f06f4475c68 EFLAGS: 00000246 ORIG_RAX: 0000000000000047 RAX: ffffffffffffffda RBX: 00007f06f44766d4 RCX: 0000000000455279 RDX: 0000000020000000 RSI: 0000000000000002 RDI: 0000000000000000 RBP: 000000000072bea0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000013 R13: 0000000000000408 R14: 00000000006f9160 R15: 0000000000000000 Local variable description: ----success.i.i.i@should_fail Variable was created at: should_fail+0x57/0xab0 lib/fault-inject.c:109 should_failslab+0x279/0x2a0 mm/failslab.c:32 ==================================================================