From: Florian Fainelli <f.fainelli@gmail.com>
To: linux-arm-kernel@lists.infradead.org, will@kernel.org,
Catalin Marinas <catalin.marinas@arm.com>
Cc: stable@vger.kernel.org, "Will Deacon" <will.deacon@arm.com>,
"Paolo Bonzini" <pbonzini@redhat.com>,
"Radim Krčmář" <rkrcmar@redhat.com>,
"Christoffer Dall" <christoffer.dall@linaro.org>,
"Marc Zyngier" <marc.zyngier@arm.com>,
"open list" <linux-kernel@vger.kernel.org>,
"open list:KERNEL VIRTUAL MACHINE (KVM)" <kvm@vger.kernel.org>,
"open list:KERNEL VIRTUAL MACHINE FOR ARM64 (KVM/arm64)"
<kvmarm@lists.cs.columbia.edu>
Subject: Re: [PATCH stable 4.9] arm64: entry: Place an SB sequence following an ERET instruction
Date: Tue, 23 Jun 2020 11:46:37 -0700 [thread overview]
Message-ID: <2bcebe48-1218-403a-798c-da30d678fdd6@gmail.com> (raw)
In-Reply-To: <20200612044219.31606-1-f.fainelli@gmail.com>
On 6/11/20 9:42 PM, Florian Fainelli wrote:
> From: Will Deacon <will.deacon@arm.com>
>
> commit 679db70801da9fda91d26caf13bf5b5ccc74e8e8 upstream
>
> Some CPUs can speculate past an ERET instruction and potentially perform
> speculative accesses to memory before processing the exception return.
> Since the register state is often controlled by a lower privilege level
> at the point of an ERET, this could potentially be used as part of a
> side-channel attack.
>
> This patch emits an SB sequence after each ERET so that speculation is
> held up on exception return.
>
> Signed-off-by: Will Deacon <will.deacon@arm.com>
> [florian: Adjust hyp-entry.S to account for the label]
> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
> ---
> Will,
>
> Can you confirm that for 4.9 these are the only places that require
> patching? Thank you!
Hi Will, Catalin,
Does this look good to you for a 4.9 backport? I would like to see this
included at some point since this pertains to CVE-2020-13844.
Thanks!
--
Florian
next prev parent reply other threads:[~2020-06-23 18:46 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-12 4:42 [PATCH stable 4.9] arm64: entry: Place an SB sequence following an ERET instruction Florian Fainelli
2020-06-23 18:46 ` Florian Fainelli [this message]
2020-06-24 12:58 ` Will Deacon
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=2bcebe48-1218-403a-798c-da30d678fdd6@gmail.com \
--to=f.fainelli@gmail.com \
--cc=catalin.marinas@arm.com \
--cc=christoffer.dall@linaro.org \
--cc=kvm@vger.kernel.org \
--cc=kvmarm@lists.cs.columbia.edu \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=marc.zyngier@arm.com \
--cc=pbonzini@redhat.com \
--cc=rkrcmar@redhat.com \
--cc=stable@vger.kernel.org \
--cc=will.deacon@arm.com \
--cc=will@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