RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00007fd04bac2850 RBP: 000000000072bea0 R08: 000000000000000f R09: 0000000000000000 R10: 0000000020000000 R11: 0000000000000293 R12: 0000000000000015 R13: 0000000000000769 R14: 0000000000700278 R15: 0000000000000006 ================================================================== BUG: KMSAN: uninit-value in syslog_print kernel/printk/printk.c:1341 [inline] BUG: KMSAN: uninit-value in do_syslog+0x39c1/0x3be0 kernel/printk/printk.c:1467 CPU: 0 PID: 4395 Comm: rsyslogd Not tainted 4.17.0-rc5+ #103 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+0x149/0x260 mm/kmsan/kmsan.c:1084 __msan_warning_32+0x6e/0xc0 mm/kmsan/kmsan_instr.c:686 syslog_print kernel/printk/printk.c:1341 [inline] do_syslog+0x39c1/0x3be0 kernel/printk/printk.c:1467 kmsg_read+0x142/0x1a0 fs/proc/kmsg.c:40 proc_reg_read+0x1de/0x2f0 fs/proc/inode.c:230 __vfs_read+0x1a5/0x9b0 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+0x152/0x230 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7f69283781fd RSP: 002b:00007f6925917e30 EFLAGS: 00000293 ORIG_RAX: 0000000000000000 RAX: ffffffffffffffda RBX: 0000000001fbb670 RCX: 00007f69283781fd RDX: 0000000000000fff RSI: 00007f692714c5a0 RDI: 0000000000000004 RBP: 0000000000000000 R08: 0000000001fa6260 R09: 0000000000000000 R10: 0000000000000011 R11: 0000000000000293 R12: 000000000065e420 R13: 00007f69259189c0 R14: 00007f69289bd040 R15: 0000000000000003 Uninit was stored to memory at: kmsan_save_stack_with_flags mm/kmsan/kmsan.c:279 [inline] kmsan_save_stack mm/kmsan/kmsan.c:294 [inline] kmsan_internal_chain_origin+0x12b/0x210 mm/kmsan/kmsan.c:685 __msan_chain_origin+0x69/0xc0 mm/kmsan/kmsan_instr.c:529 log_store+0x13fc/0x14b0 kernel/printk/printk.c:641 log_output kernel/printk/printk.c:1832 [inline] vprintk_emit+0xc44/0xff0 kernel/printk/printk.c:1897 vprintk_default+0x90/0xa0 kernel/printk/printk.c:1955 vprintk_func+0x517/0x700 kernel/printk/printk_safe.c:379 printk+0x1b6/0x1f0 kernel/printk/printk.c:1991 printk_stack_address arch/x86/kernel/dumpstack.c:69 [inline] show_trace_log_lvl+0xb5c/0x10a0 arch/x86/kernel/dumpstack.c:205 show_stack+0xfc/0x150 arch/x86/kernel/dumpstack.c:241 __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_futex kernel/futex.c:306 [inline] get_futex_key+0x46f/0x1ce0 kernel/futex.c:538 futex_wake+0x189/0xba0 kernel/futex.c:1526 do_futex+0x28d1/0x6ad0 kernel/futex.c:3531 mm_release+0x297/0x600 kernel/fork.c:1203 exit_mm+0xcb/0x7a0 kernel/exit.c:500 do_exit+0xc01/0x38d0 kernel/exit.c:854 do_group_exit+0x1a0/0x360 kernel/exit.c:970 get_signal+0xfcb/0x1f40 kernel/signal.c:2482 do_signal+0xb8/0x1cf0 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/0x700 arch/x86/entry/common.c:265 do_syscall_64+0x1af/0x230 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Local variable description: ----comm.i.i@do_futex Variable was created at: do_futex+0x325/0x6ad0 kernel/futex.c:3499 mm_release+0x297/0x600 kernel/fork.c:1203 ==================================================================