Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp763766rbb; Sun, 25 Feb 2024 02:53:39 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUBTon0PpPdu+a8ZxIEDqvOjZ3AaoZhYACVE2Y6qjWUxTexV1WbsHBkqnY2CDWSnAeKWIbDTTqGXUTbl8wITILs/aQI8B14fec+n/ortQ== X-Google-Smtp-Source: AGHT+IHqWbfkqpFNEeTMzx6SXx4zXOjZRZPyK6813xpj5t7pRYcvvERmtxLRXjoG31dFkLz5GGGf X-Received: by 2002:a05:6512:314d:b0:512:e1e3:cd2c with SMTP id s13-20020a056512314d00b00512e1e3cd2cmr2138289lfi.69.1708858419205; Sun, 25 Feb 2024 02:53:39 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708858419; cv=pass; d=google.com; s=arc-20160816; b=F9HqXkwo9OH2ABXvcWk4v5ItMPZQsCeqiQedDiSRU28YSX8vXZkMB56Qac36h7U3V2 ZjLjKoD9OHtmc/2i6sHpLZ4Kr3vwToatc0e/Q+HvADL95sIxi6U0474lg/xTZpet29Hw pR/8rNH7Yw3vRTRqySGnil4t+UzqwSZBk8a1j/f29wL13IIopQDDK9yJuN0L5a/8B/EC uLfLvVlTzq01+dqZM0dahaKa6RWcBAHKadEUkIi0WCqNTbooTY5LqmMx8vvTfDXVDUkS 6E+u4Qe6O6DX04Z8BWOS7h8CRoxGGHVOD6+Lp1tEUv8ZNcyIVyIX48D6BhcI1W5FWQdK hZHA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-disposition:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:message-id:subject:cc:to:from:date :dkim-signature; bh=VzhZtmJDxXcu6WUzL2Z6aDKOD8My4jQtElr8IuGtEag=; fh=5ZjxVYKXeWzXrQtuvh8WKOTEKQBUJ80ckFoMga5XCYE=; b=wfe/CRbvGzFYhaFNRRQgW2vEo8M8dcb61Y6Dt+TTB327sIWf3wVA35UVAogV6Tr9nN OynRXKfo7NQQtcD8GrJ6sZNd9uUpWZxdMSxXqj3UHFpscsEBdMQIIjB8Or8rXEMqo/Zm WIQWf/SYAdBrqkWU+N9J4BETH+ADLLOE5ekPbCF7xAudOFTRw7HtjZlWAY9/VLSXdEqX 7hLHMPKzpKTGGP5U+bCyY0+Mgkqz0rtOaZhsBhgznF8R2XxdLM76kPbuBij2oHULNptl W6zHJQEcR1O2zSLZoqWHcoIWw5+1Rq7um80hDJT9+50PSfjAgNgSLOfm+B+1pk5RNeh0 e5ng==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@alien8.de header.s=alien8 header.b=IWQ3P+Pd; arc=pass (i=1 spf=pass spfdomain=alien8.de dkim=pass dkdomain=alien8.de dmarc=pass fromdomain=alien8.de); spf=pass (google.com: domain of linux-kernel+bounces-80038-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-80038-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id m1-20020a170906580100b00a4160485d26si1177483ejq.1041.2024.02.25.02.53.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Feb 2024 02:53:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-80038-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@alien8.de header.s=alien8 header.b=IWQ3P+Pd; arc=pass (i=1 spf=pass spfdomain=alien8.de dkim=pass dkdomain=alien8.de dmarc=pass fromdomain=alien8.de); spf=pass (google.com: domain of linux-kernel+bounces-80038-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-80038-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id E54961F214D6 for ; Sun, 25 Feb 2024 10:53:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 665F7FC1A; Sun, 25 Feb 2024 10:53:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (4096-bit key) header.d=alien8.de header.i=@alien8.de header.b="IWQ3P+Pd" Received: from mail.alien8.de (mail.alien8.de [65.109.113.108]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 93A139445 for ; Sun, 25 Feb 2024 10:53:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=65.109.113.108 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708858411; cv=none; b=RSyV8LuCM3YxsSt0r3oGcMmeAwaDKsIFVN8MQYVeLBYoYmwrLW9K9f+DuAIEjvUZPzxHf78xSEHj3I+m7U/Hu7S3qoEIE6WUpNrIc5H6TZnp5eVZ5deGdw2FkLEVZz0PCGOMwENt4R2q/XyI7l8ARW5tiiLgXF2Dfclyn22OYJc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708858411; c=relaxed/simple; bh=FDViOf7yySsA0lA+J0nHOdO54+k5g9sHwCPBqiFyg3E=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=PGv8WXxVnpPfvgTysbl0jtedZiblIsr4UfSSHJHohXlEVUDJdZpnGTbt2uGVwQC9mE+UYTVkUyzV6lpm7Hcf+8CEevAJJvolIY/PkaNuVnAj0Wc0dhRxZ3v0l0ohyl4NNA2kaQxahjvEcm5R8HDJPIMl5kRFEg3g9PT6XRuBl9U= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=alien8.de; spf=pass smtp.mailfrom=alien8.de; dkim=pass (4096-bit key) header.d=alien8.de header.i=@alien8.de header.b=IWQ3P+Pd; arc=none smtp.client-ip=65.109.113.108 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=alien8.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=alien8.de Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.alien8.de (SuperMail on ZX Spectrum 128k) with ESMTP id 6307240E0192; Sun, 25 Feb 2024 10:53:27 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at mail.alien8.de Authentication-Results: mail.alien8.de (amavisd-new); dkim=pass (4096-bit key) header.d=alien8.de Received: from mail.alien8.de ([127.0.0.1]) by localhost (mail.alien8.de [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id mNyxTFXOPTfI; Sun, 25 Feb 2024 10:53:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=alien8; t=1708858404; bh=VzhZtmJDxXcu6WUzL2Z6aDKOD8My4jQtElr8IuGtEag=; h=Date:From:To:Cc:Subject:From; b=IWQ3P+PdvTLgm4YIvxBYJk4zmHlmW/svoml2NP7mDTvS+sw7OqVRWQ7ffo9lgMGn0 NmlMQLaP2edoViaFqBGHiewcV1X74xwl5ZvELKKFEt1fzksAGJgCSP37/z/Q5qL7kE FY/4lczP3DeTKuo2GdLfuQzEK6g4ln53dSWN2hafKfGWduPaIqfS8v/jJK6NjSzooc J0l3OsDpTDIOH6xvzrME9OvALr8Fi3ys8/ZTCXR0wKu7JJhfw2UF/kqyVn8ndlsPOg N0qsjsOex7aN1YmlQ2bXLVkvwoKRQLXYMLkTsqk0muGLwh7qv7wjHN1bDaXLLVA5OO ezDzUqt7Gsm1CwkuTadWEpe1z8OtmvoHuhezV4RFKCl1wDXWxq9H9KL5+xk9fptmTs RmjAM4XWHc9DFBjLPUlK/R04RjyYrn9ozA7Fx/JqzJAEk40hEjW/xEJI1ON9Z68DPR nYd6cs4Q5fMRtrPUpWV8LldwtVzBXzfMDMtS8xsZSyV7d+XzuZiM38hlM0GEDldCUK 3dGEScO3X8J2bEQWKLQ2Y0+Gv65G9zidZet6McFKq2YLF7VSg/KuSeeulWqq+0D8lg gihl7gV8No38PD0WpkjdcKGqWZ6hRXESrUwO07Rpd2UegBk/nUGQiGEQH3Ozznxg3F ZY+U6RmhoaEZzI2f4FU3Z/Lc= Received: from zn.tnic (pd953021b.dip0.t-ipconnect.de [217.83.2.27]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail.alien8.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 4914C40E00B2; Sun, 25 Feb 2024 10:53:21 +0000 (UTC) Date: Sun, 25 Feb 2024 11:53:20 +0100 From: Borislav Petkov To: Linus Torvalds Cc: x86-ml , lkml Subject: [GIT PULL] x86/urgent for v6.8-rc6 Message-ID: <20240225105320.GAZdscIJ3wxkU8_6At@fat_crate.local> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Hi Linus, please pull a bunch of urgent x86 fixes for v6.8-rc6. Thx. --- The following changes since commit b401b621758e46812da61fa58a67c3fd8d91de0d: Linux 6.8-rc5 (2024-02-18 12:56:25 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git tags/x86_urgent_for_v6.8_rc6 for you to fetch changes up to 43fb862de8f628c5db5e96831c915b9aebf62d33: KVM/VMX: Move VERW closer to VMentry for MDS mitigation (2024-02-19 16:31:59 -0800) ---------------------------------------------------------------- - Make sure clearing CPU buffers using VERW happens at the latest possible point in the return-to-userspace path, otherwise memory accesses after the VERW execution could cause data to land in CPU buffers again ---------------------------------------------------------------- Pawan Gupta (5): x86/bugs: Add asm helpers for executing VERW x86/entry_64: Add VERW just before userspace transition x86/entry_32: Add VERW just before userspace transition x86/bugs: Use ALTERNATIVE() instead of mds_user_clear static key KVM/VMX: Move VERW closer to VMentry for MDS mitigation Sean Christopherson (1): KVM/VMX: Use BT+JNC, i.e. EFLAGS.CF to select VMRESUME vs. VMLAUNCH Documentation/arch/x86/mds.rst | 38 +++++++++++++++++++++++++----------- arch/x86/entry/entry.S | 23 ++++++++++++++++++++++ arch/x86/entry/entry_32.S | 3 +++ arch/x86/entry/entry_64.S | 11 +++++++++++ arch/x86/entry/entry_64_compat.S | 1 + arch/x86/include/asm/cpufeatures.h | 2 +- arch/x86/include/asm/entry-common.h | 1 - arch/x86/include/asm/nospec-branch.h | 25 ++++++++++++------------ arch/x86/kernel/cpu/bugs.c | 15 ++++++-------- arch/x86/kernel/nmi.c | 3 --- arch/x86/kvm/vmx/run_flags.h | 7 +++++-- arch/x86/kvm/vmx/vmenter.S | 9 ++++++--- arch/x86/kvm/vmx/vmx.c | 20 +++++++++++++++---- 13 files changed, 112 insertions(+), 46 deletions(-) -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette