From: Sasha Levin <sashal@kernel.org>
To: gregkh@linuxfoundation.org
Cc: pbonzini@redhat.com, bgardon@google.com, stable@vger.kernel.org
Subject: Re: FAILED: patch "[PATCH] KVM: x86: fix overlap between SPTE_MMIO_MASK and generation" failed to apply to 5.4-stable tree
Date: Sun, 9 Feb 2020 15:21:57 -0500 [thread overview]
Message-ID: <20200209202157.GB3584@sasha-vm> (raw)
In-Reply-To: <1581251651184158@kroah.com>
On Sun, Feb 09, 2020 at 01:34:11PM +0100, gregkh@linuxfoundation.org wrote:
>
>The patch below does not apply to the 5.4-stable tree.
>If someone wants it applied there, or to any other stable or longterm
>tree, then please email the backport, including the original git commit
>id to <stable@vger.kernel.org>.
>
>thanks,
>
>greg k-h
>
>------------------ original commit in Linus's tree ------------------
>
>From 56871d444bc4d7ea66708775e62e2e0926384dbc Mon Sep 17 00:00:00 2001
>From: Paolo Bonzini <pbonzini@redhat.com>
>Date: Sat, 18 Jan 2020 20:09:03 +0100
>Subject: [PATCH] KVM: x86: fix overlap between SPTE_MMIO_MASK and generation
>
>The SPTE_MMIO_MASK overlaps with the bits used to track MMIO
>generation number. A high enough generation number would overwrite the
>SPTE_SPECIAL_MASK region and cause the MMIO SPTE to be misinterpreted.
>
>Likewise, setting bits 52 and 53 would also cause an incorrect generation
>number to be read from the PTE, though this was partially mitigated by the
>(useless if it weren't for the bug) removal of SPTE_SPECIAL_MASK from
>the spte in get_mmio_spte_generation. Drop that removal, and replace
>it with a compile-time assertion.
>
>Fixes: 6eeb4ef049e7 ("KVM: x86: assign two bits to track SPTE kinds")
>Reported-by: Ben Gardon <bgardon@google.com>
>Cc: stable@vger.kernel.org
>Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Conflict due to file rename. I've fixed it up and queued up.
--
Thanks,
Sasha
prev parent reply other threads:[~2020-02-09 20:22 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-09 12:34 FAILED: patch "[PATCH] KVM: x86: fix overlap between SPTE_MMIO_MASK and generation" failed to apply to 5.4-stable tree gregkh
2020-02-09 20:21 ` 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=20200209202157.GB3584@sasha-vm \
--to=sashal@kernel.org \
--cc=bgardon@google.com \
--cc=gregkh@linuxfoundation.org \
--cc=pbonzini@redhat.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