From: Sean Christopherson <seanjc@google.com>
To: Jack Wang <jinpu.wang@ionos.com>
Cc: gregkh@linuxfoundation.org, sashal@kernel.org,
stable@vger.kernel.org, Tom Lendacky <thomas.lendacky@amd.com>,
Paolo Bonzini <pbonzini@redhat.com>
Subject: Re: [stable-6.12 v2 1/3] KVM: SEV: Ignore MMIO requests of length '0'
Date: Tue, 30 Jun 2026 07:42:08 -0700 [thread overview]
Message-ID: <akPVwJgnBuCcc4Hm@google.com> (raw)
In-Reply-To: <20260626193343.256956-2-jinpu.wang@ionos.com>
On Fri, Jun 26, 2026, Jack Wang wrote:
> From: Sean Christopherson <seanjc@google.com>
>
> commit 1aa8a6dc7dac8b83234b53518311bf78231f4fa5 upstream.
>
> Explicitly ignore MMIO requests of length '0', so that setting up the
> software scratch area (and other code) doesn't have to worry about
> underflowing the length, and to allow for special casing '0' in the
> future.
>
> Fixes: 8f423a80d299 ("KVM: SVM: Support MMIO for an SEV-ES guest")
> Cc: stable@vger.kernel.org
> Reviewed-by: Tom Lendacky <thomas.lendacky@amd.com>
> Signed-off-by: Sean Christopherson <seanjc@google.com>
> Message-ID: <20260501202250.2115252-3-seanjc@google.com>
> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
When sending backports, please document what was changed. Doing so saves
maintainer time and is very helpful in case there's a problem with the backport.
[Jack: Duplicate the fix to the split READ/WRITE paths]
> Signed-off-by: Jack Wang <jinpu.wang@ionos.com>
Acked-by: Sean Christopherson <seanjc@google.com>
next prev parent reply other threads:[~2026-06-30 14:42 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-26 19:28 [stable-6.12 v2 0/3] 3 SEV fixes backport Jack Wang
2026-06-26 19:28 ` [stable-6.12 v2 1/3] KVM: SEV: Ignore MMIO requests of length '0' Jack Wang
2026-06-30 14:42 ` Sean Christopherson [this message]
2026-07-01 4:10 ` Jinpu Wang
2026-06-26 19:28 ` [stable-6.12 v2 2/3] KVM: SEV: Reject MMIO requests larger than 8 bytes with GHCB v2+ Jack Wang
2026-06-30 14:45 ` Sean Christopherson
2026-06-26 19:28 ` [stable-6.12 v2 3/3] KVM: SEV: Ignore Port I/O requests of length '0' Jack Wang
2026-06-30 14:53 ` Sean Christopherson
2026-06-27 16:35 ` [stable-6.12 v2 0/3] 3 SEV fixes backport Sasha Levin
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=akPVwJgnBuCcc4Hm@google.com \
--to=seanjc@google.com \
--cc=gregkh@linuxfoundation.org \
--cc=jinpu.wang@ionos.com \
--cc=pbonzini@redhat.com \
--cc=sashal@kernel.org \
--cc=stable@vger.kernel.org \
--cc=thomas.lendacky@amd.com \
/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