RDX: 0000000020000240 RSI: 0000000040bc5311 RDI: 0000000000000013 RBP: 000000000072bff0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000014 R13: 00000000004c5888 R14: 00000000004cd458 R15: 0000000000000000 ================================================================== BUG: KMSAN: uninit-value in syslog_print kernel/printk/printk.c:1341 [inline] BUG: KMSAN: uninit-value in do_syslog+0x3a2d/0x3c20 kernel/printk/printk.c:1467 CPU: 0 PID: 4472 Comm: rsyslogd Not tainted 4.17.0+ #18 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+0x185/0x1d0 lib/dump_stack.c:113 kmsan_report+0x188/0x2a0 mm/kmsan/kmsan.c:1465 __msan_warning_32+0x70/0xc0 mm/kmsan/kmsan_instr.c:650 syslog_print kernel/printk/printk.c:1341 [inline] do_syslog+0x3a2d/0x3c20 kernel/printk/printk.c:1467 kmsg_read+0x142/0x1a0 fs/proc/kmsg.c:40 proc_reg_read+0x1e3/0x2f0 fs/proc/inode.c:230 __vfs_read+0x1b2/0x9d0 fs/read_write.c:416 vfs_read+0x36c/0x6b0 fs/read_write.c:452 ksys_read fs/read_write.c:578 [inline] __do_sys_read fs/read_write.c:588 [inline] __se_sys_read fs/read_write.c:586 [inline] __x64_sys_read+0x1bf/0x3e0 fs/read_write.c:586 do_syscall_64+0x15b/0x230 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x63/0xe7 RIP: 0033:0x7fa5d1b481fd RSP: 002b:00007fa5cf0e7e30 EFLAGS: 00000293 ORIG_RAX: 0000000000000000 RAX: ffffffffffffffda RBX: 0000000000bf2670 RCX: 00007fa5d1b481fd RDX: 0000000000000fff RSI: 00007fa5d091c5a0 RDI: 0000000000000004 RBP: 0000000000000000 R08: 0000000000bdd260 R09: 0000000000000000 R10: 207974696c696261 R11: 0000000000000293 R12: 000000000065e420 R13: 00007fa5cf0e89c0 R14: 00007fa5d218d040 R15: 0000000000000003 FAULT_INJECTION: forcing a failure. name fail_page_alloc, interval 1, probability 0, space 0, times 0 Uninit was stored to memory at: kmsan_save_stack_with_flags mm/kmsan/kmsan.c:312 [inline] kmsan_save_stack mm/kmsan/kmsan.c:327 [inline] kmsan_internal_chain_origin+0x12b/0x210 mm/kmsan/kmsan.c:717 CPU: 1 PID: 12085 Comm: syz-executor1 Not tainted 4.17.0+ #18 __msan_chain_origin+0x69/0xc0 mm/kmsan/kmsan_instr.c:494 log_store+0x13fc/0x14b0 kernel/printk/printk.c:641 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 log_output kernel/printk/printk.c:1832 [inline] vprintk_emit+0xca5/0x1060 kernel/printk/printk.c:1897 vprintk_default+0x90/0xa0 kernel/printk/printk.c:1955 Call Trace: vprintk_func+0x517/0x700 kernel/printk/printk_safe.c:379 printk+0x1e4/0x210 kernel/printk/printk.c:1991 __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x185/0x1d0 lib/dump_stack.c:113 printk_stack_address arch/x86/kernel/dumpstack.c:69 [inline] show_trace_log_lvl+0xb5c/0x10a0 arch/x86/kernel/dumpstack.c:207 show_stack+0xfc/0x150 arch/x86/kernel/dumpstack.c:245 fail_dump lib/fault-inject.c:51 [inline] should_fail+0x87b/0xab0 lib/fault-inject.c:149 __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x185/0x1d0 lib/dump_stack.c:113 fail_dump lib/fault-inject.c:51 [inline] should_fail+0x87b/0xab0 lib/fault-inject.c:149 should_fail_alloc_page mm/page_alloc.c:3069 [inline] prepare_alloc_pages mm/page_alloc.c:4328 [inline] __alloc_pages_nodemask+0x600/0x5cc0 mm/page_alloc.c:4367 should_fail_futex kernel/futex.c:306 [inline] get_futex_key+0x355/0x1ce0 kernel/futex.c:519 futex_wake+0x189/0xba0 kernel/futex.c:1526 do_futex+0xaa8/0x6c20 kernel/futex.c:3531 mm_release+0x297/0x600 kernel/fork.c:1203 exit_mm+0xcb/0x7a0 kernel/exit.c:500 do_exit+0xc12/0x3930 kernel/exit.c:854 do_group_exit+0x1a0/0x360 kernel/exit.c:970 get_signal+0x1405/0x1ec0 kernel/signal.c:2482 do_signal+0xb8/0x1d20 arch/x86/kernel/signal.c:810 exit_to_usermode_loop arch/x86/entry/common.c:162 [inline] prepare_exit_to_usermode+0x271/0x3a0 arch/x86/entry/common.c:196 syscall_return_slowpath+0xe9/0x710 arch/x86/entry/common.c:265 do_syscall_64+0x1ad/0x230 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x63/0xe7