From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-io1-f72.google.com (mail-io1-f72.google.com [209.85.166.72]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3452D3C063 for ; Tue, 9 Jan 2024 18:18:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=syzkaller.appspotmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com Received: by mail-io1-f72.google.com with SMTP id ca18e2360f4ac-7bbb3de4dcbso471388939f.1 for ; Tue, 09 Jan 2024 10:18:34 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704824313; x=1705429113; h=to:from:subject:message-id:date:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=DncZn6c+GlUDS3Eow4E7Ee0E3U2sIs+h4+zjPxDgTfI=; b=LZ3Hwv2LsHz5LxO7cAyTwuRY23sDzqtXc+yPBq7454kcMqPoUD1T/qQdg12SAiwngL OEUs2pbvpKI/CnfcmboX0DV4S1l5o7uYocOxgyEXHurSZDl2qwmWiQli0flhj3hcJvol uW5lbdRT6+ec+2/6wofNr/suwl9JEei6LSM++XaLljdAzBVcvF9tEo5HgUiamYuj8Ci1 uxk0bMcQYSdJcOP/SUhoe4AHO7JltXYEJQCuPdrkbITpSzW6tDNDJm17Wau33wnXWjHj fnwe9q4mHA/qgYP1xjyEN2yRfBlZNJThghYln3mh+toEZpOqLiAj8mVTMY/6RgJ8xMVL 2bAg== X-Gm-Message-State: AOJu0YzP9b0x2M/JwhsSp9fwGc+mZj3p4azjakYHitikNGnjcTwODtCB DZQClVY8sruIn/6poxIU343+O3AzCi/LRnO7GutkEy+3K209 X-Google-Smtp-Source: AGHT+IFlViT9UFojL/xBSsgtudTqUVqAd4XNZUn9f5XZtPcETMuDBkcLuv+ue5DhMTwhMGQUq+zXOUs9MzN9b7HMVZDR/Elja8Nm Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Received: by 2002:a05:6e02:1c49:b0:35f:ece8:8e4d with SMTP id d9-20020a056e021c4900b0035fece88e4dmr820326ilg.1.1704824313514; Tue, 09 Jan 2024 10:18:33 -0800 (PST) Date: Tue, 09 Jan 2024 10:18:33 -0800 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <0000000000009c91ce060e87575b@google.com> Subject: [syzbot] [kvm?] KMSAN: uninit-value in em_ret_far From: syzbot To: bp@alien8.de, dave.hansen@linux.intel.com, hpa@zytor.com, kvm@vger.kernel.org, linux-kernel@vger.kernel.org, mingo@redhat.com, pbonzini@redhat.com, seanjc@google.com, syzkaller-bugs@googlegroups.com, tglx@linutronix.de, x86@kernel.org Content-Type: text/plain; charset="UTF-8" Hello, syzbot found the following issue on: HEAD commit: 2cf4f94d8e86 Merge tag 'scsi-fixes' of git://git.kernel.or.. git tree: upstream console+strace: https://syzkaller.appspot.com/x/log.txt?x=144e8d01e80000 kernel config: https://syzkaller.appspot.com/x/.config?x=4a65fa9f077ead01 dashboard link: https://syzkaller.appspot.com/bug?extid=579eb95e588b48b4499c compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 Unfortunately, I don't have any reproducer for this issue yet. Downloadable assets: disk image: https://storage.googleapis.com/syzbot-assets/589557edbfd5/disk-2cf4f94d.raw.xz vmlinux: https://storage.googleapis.com/syzbot-assets/f2480533f00e/vmlinux-2cf4f94d.xz kernel image: https://storage.googleapis.com/syzbot-assets/9463e8eac2ed/bzImage-2cf4f94d.xz IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+579eb95e588b48b4499c@syzkaller.appspotmail.com ===================================================== BUG: KMSAN: uninit-value in em_ret_far+0x332/0x340 arch/x86/kvm/emulate.c:2258 em_ret_far+0x332/0x340 arch/x86/kvm/emulate.c:2258 x86_emulate_insn+0x1d81/0x5800 arch/x86/kvm/emulate.c:5289 x86_emulate_instruction+0x13c5/0x3090 arch/x86/kvm/x86.c:9101 kvm_mmu_page_fault+0x100a/0x1120 arch/x86/kvm/mmu/mmu.c:5778 handle_ept_violation+0x4ef/0x7e0 arch/x86/kvm/vmx/vmx.c:5788 __vmx_handle_exit arch/x86/kvm/vmx/vmx.c:6567 [inline] vmx_handle_exit+0x1b01/0x2130 arch/x86/kvm/vmx/vmx.c:6584 vcpu_enter_guest arch/x86/kvm/x86.c:10992 [inline] vcpu_run arch/x86/kvm/x86.c:11095 [inline] kvm_arch_vcpu_ioctl_run+0x9d4f/0xc680 arch/x86/kvm/x86.c:11321 kvm_vcpu_ioctl+0xbfc/0x1770 arch/x86/kvm/../../../virt/kvm/kvm_main.c:4155 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:871 [inline] __se_sys_ioctl+0x225/0x410 fs/ioctl.c:857 __x64_sys_ioctl+0x96/0xe0 fs/ioctl.c:857 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x44/0x110 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b Local variable eip created at: em_ret_far+0x3a/0x340 arch/x86/kvm/emulate.c:2243 x86_emulate_insn+0x1d81/0x5800 arch/x86/kvm/emulate.c:5289 CPU: 0 PID: 5010 Comm: syz-executor207 Not tainted 6.7.0-rc6-syzkaller-00010-g2cf4f94d8e86 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 ===================================================== --- This report is generated by a bot. It may contain errors. See https://goo.gl/tpsmEJ for more information about syzbot. syzbot engineers can be reached at syzkaller@googlegroups.com. syzbot will keep track of this issue. See: https://goo.gl/tpsmEJ#status for how to communicate with syzbot. If the report is already addressed, let syzbot know by replying with: #syz fix: exact-commit-title If you want to overwrite report's subsystems, reply with: #syz set subsystems: new-subsystem (See the list of subsystem names on the web dashboard) If the report is a duplicate of another one, reply with: #syz dup: exact-subject-of-another-report If you want to undo deduplication, reply with: #syz undup