Received: by 2002:ab2:710b:0:b0:1ef:a325:1205 with SMTP id z11csp309238lql; Mon, 11 Mar 2024 03:33:06 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWFNN6Rb47RVuk4dhJEbJIOeZziSleA5kcjtcIKi5Z6Zs7rGa7wY2uTozWfdfFKLuCKm9tufStLA9IkM5+3RIE9PDy1Jdy5mwIgm8TRGQ== X-Google-Smtp-Source: AGHT+IEBJp1ZmBQ4ca5CALefFCau8rRqTMhMhRdPLflUUvuD0+s9KJK1zOrPW4PimbcXAKrfut4L X-Received: by 2002:a17:907:c30a:b0:a46:2655:ee51 with SMTP id tl10-20020a170907c30a00b00a462655ee51mr2256589ejc.2.1710153186143; Mon, 11 Mar 2024 03:33:06 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710153186; cv=pass; d=google.com; s=arc-20160816; b=kXZiwpeqbuTq4tLfntuS8CUiSv6CkEc+82s/T3ZstpKki9r9hlZ4GErH2EFsfALVe8 duU1KSqENcN3zYxutCFqWDFDYyFD/FRoG2j1MKJ0GTfeon8jviy3qcjtZHLKtAqUOAm5 zd7rCaU8w0lk3F8Qu45CgXthEMzpFa3tZOMbf4Iy3W7ehjrrhIfN8TdfmS9KUUYwGI0Y lonIrp3CRd3skveg44QE3NYSFErCWnyquRvcUs0zwlABAW8zHLE9QszQYVw4lYJhJwUd OjFRlUpSABsPtsc9c5Onmvl1Ct+FMrmIDZ/uUvUb3KbRWGzT+6XbvbJloSULrj5KSwkA ihZg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature:dkim-signature; bh=4YcWnpkr3AVvyBd0JYv/JEgu59vwaca6JStQ0tLDgRo=; fh=zGYODuEIbzrg9mG36MNyJw0Zp/gRPyoTuE0JQNbdEWI=; b=cbQe6Bq2hZu4DL0rAY921iR7+ZeSf0rA807ZaHLASNX8rfM4QPtyDdBhvTQOunw8sn kKRo/pGfsnyVuvfbQkOJzmUp9VSnuQzHjFuwJ1SGSVktEsxQ73XTy/pihelp+5klh7kl G8RgDcTFZQhHKSW9l4dOG+x2S8Rk3rnn7pJBU1A3tnlnyvNWR0bKPgcotrkQMzMe6v5U upq20mXsJ8lMCp//N7ibJBpKtexekg6EgJE5z0ViyLlBniKeft/GcDNRos9Tx+V+BVU1 YeHBqNg8mCuGX0JOPiq3LOl37EOd+bhw5AqjyDvEFyDWTLgpDljmYip0Op5KCzE0Mxsj w4UA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=luUOnhRA; dkim=pass header.i=@suse.com header.s=susede1 header.b=luUOnhRA; arc=pass (i=1 spf=pass spfdomain=suse.com dkim=pass dkdomain=suse.com dkim=pass dkdomain=suse.com dmarc=pass fromdomain=suse.com); spf=pass (google.com: domain of linux-kernel+bounces-98701-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-98701-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id go43-20020a1709070dab00b00a458ad6fde6si2418595ejc.372.2024.03.11.03.33.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Mar 2024 03:33:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-98701-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=luUOnhRA; dkim=pass header.i=@suse.com header.s=susede1 header.b=luUOnhRA; arc=pass (i=1 spf=pass spfdomain=suse.com dkim=pass dkdomain=suse.com dkim=pass dkdomain=suse.com dmarc=pass fromdomain=suse.com); spf=pass (google.com: domain of linux-kernel+bounces-98701-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-98701-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com 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 D70F91F21A69 for ; Mon, 11 Mar 2024 10:33:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 53ADA364BE; Mon, 11 Mar 2024 10:32:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=suse.com header.i=@suse.com header.b="luUOnhRA"; dkim=pass (1024-bit key) header.d=suse.com header.i=@suse.com header.b="luUOnhRA" Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.223.130]) (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 9AC1B2EB08 for ; Mon, 11 Mar 2024 10:32:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.135.223.130 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710153177; cv=none; b=GzddZoISWkwVoPKN2hb1JkCrimBKx+/D/y558SDpylsJ1elkYrs7L08/DlJDWj3H5X9IxtBVcG/NKKJLMLeycE1XyLf4YgQxpOelxtp/Kaf+wjvQJS5lGWHJzqolhMVmPrvxdXr7bsFYszaS//iCFEvu1RnExFqIAvIYmhAjjKk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710153177; c=relaxed/simple; bh=K9fAzrPJPqvu+B2JJF+RlAUiHT2VWJJP/pYMaj9WJy4=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=kcAztOM1WjIKUz0aFLpjZ0sJYNwotkSWrWE4OWwraBAu4M+UPeJAkWglkB04IUB3E26aHwdT+vlCTxFJ93Yn3wydubfb8HZnPLXIErQD1+4mi9FF/POGE0cLGFKDH1lE2JpVCw+EOASJ6trhbaocMGq3RZ4FBOqOBGxBV2stYzU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com; spf=pass smtp.mailfrom=suse.com; dkim=pass (1024-bit key) header.d=suse.com header.i=@suse.com header.b=luUOnhRA; dkim=pass (1024-bit key) header.d=suse.com header.i=@suse.com header.b=luUOnhRA; arc=none smtp.client-ip=195.135.223.130 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=suse.com Received: from imap1.dmz-prg2.suse.org (imap1.dmz-prg2.suse.org [10.150.64.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id C621534B20; Mon, 11 Mar 2024 10:32:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1710153173; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=4YcWnpkr3AVvyBd0JYv/JEgu59vwaca6JStQ0tLDgRo=; b=luUOnhRAVAnPI0tdSYTTUjuEFmhHyUSKsaA+1yAmKxMI/ewU2AwuGAKWdhCGTypd89n0n+ rNqMmuDzUZAalgoTOxpaHXW3ztqDvL11ow+9DqyiT9iaGt8JVtjN3UNzt1W+mZERQonuk3 pTicxi2KGOqisLg0R/GUdZiXPe2Ue14= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1710153173; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=4YcWnpkr3AVvyBd0JYv/JEgu59vwaca6JStQ0tLDgRo=; b=luUOnhRAVAnPI0tdSYTTUjuEFmhHyUSKsaA+1yAmKxMI/ewU2AwuGAKWdhCGTypd89n0n+ rNqMmuDzUZAalgoTOxpaHXW3ztqDvL11ow+9DqyiT9iaGt8JVtjN3UNzt1W+mZERQonuk3 pTicxi2KGOqisLg0R/GUdZiXPe2Ue14= Received: from imap1.dmz-prg2.suse.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by imap1.dmz-prg2.suse.org (Postfix) with ESMTPS id BB9E413777; Mon, 11 Mar 2024 10:32:53 +0000 (UTC) Received: from dovecot-director2.suse.de ([2a07:de40:b281:106:10:150:64:167]) by imap1.dmz-prg2.suse.org with ESMTPSA id PanJLdXd7mWYHAAAD6G6ig (envelope-from ); Mon, 11 Mar 2024 10:32:53 +0000 Date: Mon, 11 Mar 2024 11:32:49 +0100 From: Michal Hocko To: cve@kernel.org, linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , Juergen Gross , Sean Christopherson , Andrew Cooper Subject: Re: CVE-2023-52514: x86/reboot: VMCLEAR active VMCSes before emergency reboot Message-ID: References: <2024030251-CVE-2023-52514-c93d@gregkh> 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=us-ascii Content-Disposition: inline In-Reply-To: <2024030251-CVE-2023-52514-c93d@gregkh> Authentication-Results: smtp-out1.suse.de; none X-Spam-Level: X-Spam-Score: -2.10 X-Spamd-Result: default: False [-2.10 / 50.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; RCPT_COUNT_FIVE(0.00)[6]; RCVD_COUNT_THREE(0.00)[3]; NEURAL_HAM_SHORT(-0.20)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; BAYES_HAM(-1.30)[90.09%]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DKIM_SIGNED(0.00)[suse.com:s=susede1]; FUZZY_BLOCKED(0.00)[rspamd.com]; MID_RHS_NOT_FQDN(0.50)[]; RCVD_TLS_ALL(0.00)[] X-Spam-Flag: NO On Sat 02-03-24 22:52:59, Greg KH wrote: > Description > =========== > > In the Linux kernel, the following vulnerability has been resolved: > > x86/reboot: VMCLEAR active VMCSes before emergency reboot > > VMCLEAR active VMCSes before any emergency reboot, not just if the kernel > may kexec into a new kernel after a crash. Per Intel's SDM, the VMX > architecture doesn't require the CPU to flush the VMCS cache on INIT. If > an emergency reboot doesn't RESET CPUs, cached VMCSes could theoretically > be kept and only be written back to memory after the new kernel is booted, > i.e. could effectively corrupt memory after reboot. > > Opportunistically remove the setting of the global pointer to NULL to make > checkpatch happy. > > The Linux kernel CVE team has assigned CVE-2023-52514 to this issue. I do not really see the security aspect of this fix. Guests systems shouldn't be able to trigger host reboot nor any untrusted entity should on the host either or this would be a serious security hole. Or am I missing something? -- Michal Hocko SUSE Labs