Linux kernel -stable discussions
 help / color / mirror / Atom feed
From: Sasha Levin <sashal@kernel.org>
To: Adam Dunlap <acdunlap@google.com>
Cc: stable@vger.kernel.org, Peter Gonda <pgonda@google.com>,
	Jacob Xu <jacobhxu@google.com>,
	Dave Hansen <dave.hansen@linux.intel.com>
Subject: Re: Backport f79936545fb12 ("x86/sev-es: Allow copy_from_kernel_nofault() in earlier boot")
Date: Sun, 12 Nov 2023 13:45:35 -0500	[thread overview]
Message-ID: <ZVEdT6MwMH2ElB_f@sashalap> (raw)
In-Reply-To: <CAMBK9=YqXa11BUPBLnitvHRFYGdEX=J3S1ssq=iBWRYpGCynBA@mail.gmail.com>

On Fri, Nov 10, 2023 at 09:05:19AM -0800, Adam Dunlap wrote:
>commit f79936545fb122856bd78b189d3c7ee59928c751 upstream.
>
>This patch fixes a boot failure that happens with VMs running with
>SEV-ES or SEV-SNP when the guest kernel is compiled with a gcc version
>past 12.3 (or possibly earlier) due to undefined behavior. As far as I
>know, the UB has existed ever since SEV-ES guest support was merged in
>(I believe 5.9), but only started causing boot failures with the
>updated compiler. Thus, I propose backporting this patch to stable
>branches since 5.9.

Looks like its already queued for 5.15+, and needed some minor massaging
to get to 5.10.

-- 
Thanks,
Sasha

      reply	other threads:[~2023-11-12 18:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-10 17:05 Backport f79936545fb12 ("x86/sev-es: Allow copy_from_kernel_nofault() in earlier boot") Adam Dunlap
2023-11-12 18:45 ` Sasha Levin [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ZVEdT6MwMH2ElB_f@sashalap \
    --to=sashal@kernel.org \
    --cc=acdunlap@google.com \
    --cc=dave.hansen@linux.intel.com \
    --cc=jacobhxu@google.com \
    --cc=pgonda@google.com \
    --cc=stable@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox