sd 0:0:1:0: [sg0] tag#2202 FAILED Result: hostbyte=DID_ABORT driverbyte=DRIVER_OK cmd_age=0s ===================================================== BUG: KMSAN: uninit-value in update_stack_state+0x1ee/0xb40 arch/x86/kernel/unwind_frame.c:202 CPU: 0 PID: 9 Comm: ksoftirqd/0 Not tainted 5.8.0-rc5-syzkaller #0 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+0x21c/0x280 lib/dump_stack.c:118 kmsan_report+0xf7/0x1e0 mm/kmsan/kmsan_report.c:121 __msan_warning+0x58/0xa0 mm/kmsan/kmsan_instr.c:215 update_stack_state+0x1ee/0xb40 arch/x86/kernel/unwind_frame.c:202 unwind_next_frame+0x8c6/0xed0 arch/x86/kernel/unwind_frame.c:305 arch_stack_walk+0x338/0x3d0 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x117/0x1a0 kernel/stacktrace.c:123 kmsan_save_stack_with_flags mm/kmsan/kmsan.c:144 [inline] kmsan_internal_chain_origin+0xad/0x130 mm/kmsan/kmsan.c:310 kmsan_memcpy_memmove_metadata+0x272/0x2e0 mm/kmsan/kmsan.c:247 kmsan_memmove_metadata+0xe/0x10 mm/kmsan/kmsan.c:272 __msan_memmove+0x43/0x50 mm/kmsan/kmsan_instr.c:92 move_right lib/vsprintf.c:566 [inline] widen_string+0x52b/0x910 lib/vsprintf.c:589 string+0x6be/0x6d0 lib/vsprintf.c:616 vsnprintf+0x2053/0x35c0 lib/vsprintf.c:2620 sprintf+0x210/0x260 lib/vsprintf.c:2822 print_caller kernel/printk/printk.c:1311 [inline] print_prefix kernel/printk/printk.c:1328 [inline] msg_print_text+0x4f2/0xb50 kernel/printk/printk.c:1345 console_unlock+0xbb9/0x1e10 kernel/printk/printk.c:2475 vprintk_emit+0x48f/0x990 kernel/printk/printk.c:2028 dev_vprintk_emit+0xa3a/0xc0d drivers/base/core.c:3883 dev_printk_emit+0x1db/0x21d drivers/base/core.c:3894 __dev_printk+0x3af/0x460 drivers/base/core.c:3906 dev_printk+0x22b/0x273 drivers/base/core.c:3923 scsi_print_result+0xfd3/0x10e0 drivers/scsi/scsi_logging.c:445 scsi_io_completion_action drivers/scsi/scsi_lib.c:786 [inline] scsi_io_completion+0x282c/0x2f20 drivers/scsi/scsi_lib.c:953 scsi_finish_command+0x85b/0x880 drivers/scsi/scsi.c:214 scsi_softirq_done+0x683/0xa80 drivers/scsi/scsi_lib.c:1460 blk_done_softirq+0x2fe/0x4e0 block/blk-softirq.c:37 __do_softirq+0x2ea/0x7f5 kernel/softirq.c:293 asm_call_on_stack+0xf/0x20 arch/x86/entry/entry_64.S:711 __run_on_irqstack arch/x86/include/asm/irq_stack.h:23 [inline] run_on_irqstack_cond arch/x86/include/asm/irq_stack.h:50 [inline] do_softirq_own_stack+0x7c/0xa0 arch/x86/kernel/irq_64.c:77 invoke_softirq kernel/softirq.c:390 [inline] __irq_exit_rcu+0x226/0x270 kernel/softirq.c:420 irq_exit_rcu+0xe/0x10 kernel/softirq.c:432 sysvec_call_function_single+0x107/0x130 arch/x86/kernel/smp.c:243 asm_sysvec_call_function_single+0x12/0x20 arch/x86/include/asm/idtentry.h:601 RIP: 0010:metadata_is_contiguous+0x1f/0x1b0 mm/kmsan/kmsan.c:469 Code: 5e 41 5f 5d c3 0f 0b 0f 1f 40 00 55 48 89 e5 41 57 41 56 41 55 41 54 53 48 83 ec 28 48 c7 c0 6a 4e 02 92 49 c7 c6 12 f6 de 91 <85> d2 4c 0f 45 f0 41 b7 01 48 85 f6 0f 84 67 01 00 00 49 89 f4 48 RSP: 0018:ffff88812df7bd68 EFLAGS: 00000292 RAX: ffffffff92024e6a RBX: 0000000000000000 RCX: 0000000000000008 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff88812df7be80 RBP: ffff88812df7bdb8 R08: ffffea000000000f R09: ffff88812fffa000 R10: 0000000000000004 R11: 0000000000000000 R12: ffff88812df7be80 R13: 0000000000000000 R14: ffffffff91def612 R15: 0000000000000000 kmsan_get_shadow_origin_ptr+0x5e/0xb0 mm/kmsan/kmsan_shadow.c:148 __msan_metadata_ptr_for_load_8+0x10/0x20 mm/kmsan/kmsan_instr.c:55 smpboot_thread_fn+0x75d/0xa90 kernel/smpboot.c:113 kthread+0x551/0x590 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:293 Local variable ----heads@__run_timers created at: __run_timers+0x61/0xd30 kernel/time/timer.c:1742 __run_timers+0x61/0xd30 kernel/time/timer.c:1742 =====================================================