Received: by 2002:ab2:7855:0:b0:1f9:5764:f03e with SMTP id m21csp955919lqp; Thu, 23 May 2024 05:21:18 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWk0fxdh2ao7E2xul1WBXxcxTwWhJ6uzBYrgqe1tknlgiTgS1bdApCShBZYf4n1qxYWB38mayRce0ZL3mniGM+qbmuDKqBUWDBXfty2yg== X-Google-Smtp-Source: AGHT+IGvUWx+e+wLFoz1Q5DCCC8QUW1JQpORFui3lOvhmoqPpXBYam5HpI1nLpNxQH1CaqBe1Z6L X-Received: by 2002:a17:902:6545:b0:1f3:33f1:ff5 with SMTP id d9443c01a7336-1f333f115c7mr24926975ad.3.1716466878053; Thu, 23 May 2024 05:21:18 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716466878; cv=pass; d=google.com; s=arc-20160816; b=JDFx0e1buHbM6F3n/EFrwlGC3IHmgEFjpyyeIAcynSZZOO1fb9Lw/Ta/I/Ep5wetpp 42f64LGRQtr5uS+OCELHmUCg4AVWMwpmPHLSWHUPZBt/2KdJ0MTW8cRqE85pGT2br1PG Mmhr5kw/OcgQkO+Aoma6SgrISGeEnexfhPJIwgOZl8bfjpjp08KMMwk4/GEq56FZpgBL XP/45M/Pw6VwsqGD+vDj8nqMhFQdn4/HwTLvBGmHi8g+piYQsV2VC+VYdc529LiZ81Vb YIxhPSIus+OgQrd2rR+2Cor/7Ur99HjfxldYCZpyn7olyepHd8rRpeJ/WhVSVkp+Oaq1 +LiA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=3IX0krlB3YCXm71EJEDxuBOgVIuxuBFthhIi0sRnDic=; fh=TIqASEtNyaqKJZZ07nEE9e+2pgLGFGbWwEzXJVN7O1w=; b=nWA3bm4xoShmv4+0SBk7+ClQlJbn4zQopb4KhsVGZGQlszwt6VyQl1WvrUkKLPmlF8 +aVhkBXyb8nFkwp9L6vulTRs6DXn2mMNGTS43wxK9prQ92uGGMYCkv4rjHAHzgrCgNnK 6al7ptAcSz7GLJc3Vytj9Qr0NpCP9Fhir2knb6ig75X+ZisjbaUM5vyVdUleb1abcqCT 3JJgh2bUu4MQM/oekq27305Cv7spLv1xSvZ17unTqoE/F7lKemAyB7DWjEGB6WhDWsWI qbAirKLzUkl7THwNRzbIBWa+fUUxPPWmaAZ2AudOzJ7nojyOhePaspHVaBmhoKIkiczr YJjw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@suse.com header.s=google header.b=NOx7YY4m; arc=pass (i=1 spf=pass spfdomain=suse.com dkim=pass dkdomain=suse.com dmarc=pass fromdomain=suse.com); spf=pass (google.com: domain of linux-kernel+bounces-187464-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-187464-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id d9443c01a7336-1f2fd33a87fsi75856315ad.319.2024.05.23.05.21.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 May 2024 05:21:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-187464-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.com header.s=google header.b=NOx7YY4m; arc=pass (i=1 spf=pass spfdomain=suse.com dkim=pass dkdomain=suse.com dmarc=pass fromdomain=suse.com); spf=pass (google.com: domain of linux-kernel+bounces-187464-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-187464-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 6B635283E59 for ; Thu, 23 May 2024 12:21:17 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9D2BF13C3E7; Thu, 23 May 2024 12:21:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=suse.com header.i=@suse.com header.b="NOx7YY4m" Received: from mail-wr1-f43.google.com (mail-wr1-f43.google.com [209.85.221.43]) (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 C1D1C13B5A6 for ; Thu, 23 May 2024 12:21:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.43 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716466872; cv=none; b=mk5lbEgKjsKfcSEHO6h9voVnZQoWQxrkEeghUyNzfHp+dZMVLG2FkiwL0ysNful2O+3HXbIu7RkY++b8fGcCOPT6ZL0UguyMfx+u+ljbuIYdewDmibrMIGxmfJxKSAuX2DsDttTVTBcTuCYPD1eg+qzhRVwXuIj+1TavItsa3RQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716466872; c=relaxed/simple; bh=n6t2n1Fr2QiCnyke8eJIa2ZdZQq/wiNoudAwWv5SMok=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=VViDpjIysfgDNDRTXm2SL8IaAWFA/k+j+WmPVG/9HfvOpgFzWhY/fIwOFptSRWDAVFVirrIU2fO7/1MghJlbeKIxCVhc5k1htzDx/gmrkU/fIiFAF4ou4Dn5r6lCzNhKNyamcpGVV3GcBXk5T67DA5c+fKNEI4v/VqPxyUpGI1g= 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 (2048-bit key) header.d=suse.com header.i=@suse.com header.b=NOx7YY4m; arc=none smtp.client-ip=209.85.221.43 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: by mail-wr1-f43.google.com with SMTP id ffacd0b85a97d-354f69934feso509774f8f.0 for ; Thu, 23 May 2024 05:21:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=google; t=1716466867; x=1717071667; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=3IX0krlB3YCXm71EJEDxuBOgVIuxuBFthhIi0sRnDic=; b=NOx7YY4mnzGUHJZ7MsziujWc6TggNeVnj3TGd8sSjtELlNNDOi1BtvGbU1fZV03ZXv 3DBNiazy3KVo5GM659+ZktGA2JpfIiX40JztMuafo35MM1iwm6WqQPm+lPBMJO+uAzmu /GV7qi+YFLfiwOsynArUklKi3fRx1zkMouH24BqbgfFsud/mAw9H1m7zYx2hT/eSHTHY rwLnagceFzDvV3cb+cKQIUYcLcw2ZG2eosx+3xZc/jhQVCxxy2p34iJqKQOSI9tBHhCr qyIPdO1Jq/F6cFtrfPwQ1maIsKWCxyc49TUQf0mDwlklKmMeQH70kS10PH57PV7H/yAb wQwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716466867; x=1717071667; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=3IX0krlB3YCXm71EJEDxuBOgVIuxuBFthhIi0sRnDic=; b=KZkFZ7/ZqKDeP9+yJ+CKRukMCN5hiXd3aIEJaxS6FuDUmRGVIpLmJeyZzFyCQHVbU6 NLUkn4Xti102LDzDb5C12YPQQlOA5h4HbP7571W9VS/GTvjSdhWoAI6B/v334tHTSqQn x08mQnJbY8LvQeAB+j0zcpduQ+xhRmVNJmecu1NPdj3/ZklvZWRRPuBdCa0a2o/OtFxR mxnzhtbpnknS7ugN3OOv0c+uu1u590hiD0AAWDxmyVKTP7HQLcVNA1DP+SeyMD/JcCnH V/s870zTzURj2yZ9WOBhAfoip5uwi8tTp3R3NYGJNvH+k7kDJkfnT2Aex5V9hQo54BUH cXWA== X-Forwarded-Encrypted: i=1; AJvYcCU516hVxuBsz4rhLJ0Pdl6B6B67hUDbPo2EzH1DIR/mL07haaPIq7vfUdclPsC8IGMgRs1H3o6utedXAVTNn1yn1B4Z29kqUZ24beME X-Gm-Message-State: AOJu0YxHMkdeL4NBPOtYLQbR4xORklJKcgrIzj86F4f9+NZxxTTOTWUO o30nWTjy2exN8Bbhyj5ZgT+oaABXmJPcH11EM+MyqA3UOem8tD5lkn4FMPeDVagmIVGD70Cyuwa g X-Received: by 2002:a05:6000:118b:b0:354:f729:c3e7 with SMTP id ffacd0b85a97d-354f75baa66mr1833469f8f.34.1716466867136; Thu, 23 May 2024 05:21:07 -0700 (PDT) Received: from ?IPV6:2a10:bac0:b000:7315:e681:bab5:4646:cf21? ([2a10:bac0:b000:7315:e681:bab5:4646:cf21]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3502b79bc3bsm36540643f8f.13.2024.05.23.05.21.06 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 23 May 2024 05:21:06 -0700 (PDT) Message-ID: Date: Thu, 23 May 2024 15:21:05 +0300 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: CVE-2024-35802: x86/sev: Fix position dependent variable references in startup code To: Greg Kroah-Hartman Cc: cve@kernel.org, linux-kernel@vger.kernel.org References: <2024051738-CVE-2024-35802-959d@gregkh> <2024052334-cable-serotonin-fa2b@gregkh> <5ea91ae6-091d-4378-950b-833561eef48c@suse.com> <2024052310-undermost-cramp-5d81@gregkh> Content-Language: en-US From: Nikolay Borisov In-Reply-To: <2024052310-undermost-cramp-5d81@gregkh> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 23.05.24 г. 15:17 ч., Greg Kroah-Hartman wrote: > On Thu, May 23, 2024 at 03:01:56PM +0300, Nikolay Borisov wrote: >> >> >> On 23.05.24 г. 14:21 ч., Greg Kroah-Hartman wrote: >>> Isn't crashing SEV guests a problem with "availability"? That term >>> comes from the CVE definition of what we need to mark as a CVE, which is >>> why this one was picked. >> >> But availability has never been one of the tenets of CoCo, in fact in >> sev-snp/tdx the VMM is explicitly considered outside of the TCB so >> availability cannot be guaranteed. > > This has nothing to do with CoCo (but really, ability of the host to > crash the guest seems like it should be as I would assume that CoCo > guests would want to be able to be run...) > > Official CVE definition of vulnerability from cve.org: > An instance of one or more weaknesses in a Product that can be > exploited, causing a negative impact to confidentiality, integrity, or I don't see how this is exactly "explotaible" i.e if a guest is run and it crashes during bootup it simply won't run. Can this be considered active exploitation of an issue? > availability; a set of conditions or behaviors that allows the > violation of an explicit or implicit security policy. > > I think "able to crash SEV guests" is a direct weakness that has to do > with availability here which is why I marked it as such (as did other > reviewers.) Now if CoCo wants to claim it as part of their security > implicit or explicit security policy, all the better :) > > thanks, > > greg k-h