mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: 성병찬 <tjdqudcks0424@naver.com>
To: "Michael S. Tsirkin" <mst@redhat.com>
Cc: "James E . J . Bottomley" <James.Bottomley@hansenpartnership.com>,
	"Martin K . Petersen" <mkp@kernel.org>,
	"Jason Wang" <jasowangio@gmail.com>,
	linux-scsi@vger.kernel.org, virtualization@lists.linux.dev,
	linux-kernel@vger.kernel.org, security@kernel.org
Subject: Re: [BUG] scsi: short virtio-scsi VPD response exposes stale heap data
Date: Tue, 06 Oct 2026 18:40:54 +0900	[thread overview]
Message-ID: <96622e4086e5fb77b8148631fa6ca16e@cweb003.nm> (raw)
In-Reply-To: <20261006052300-mutt-send-email-mst@kernel.org>

Yes, that is a fair summary.

More precisely, a short successful virtio-scsi response causes the
guest kernel to cache bytes that were not supplied by the device and
expose them through the world-readable VPD sysfs attribute.

The guest-kernel heap disclosure is reproducible. I agree that its
security classification depends on whether the virtio-scsi
device/backend is considered trusted in the relevant threat model.

Would validating and propagating the actual virtqueue used length be
worthwhile as a robustness fix?

Regards,
sungbyeongchan

  reply	other threads:[~2026-10-06  9:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-06  9:11 sungbyeongchan
2026-10-06  9:25 ` Michael S. Tsirkin
2026-10-06  9:40   ` 성병찬 [this message]
2026-10-06  9:49     ` Michael S. Tsirkin

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=96622e4086e5fb77b8148631fa6ca16e@cweb003.nm \
    --to=tjdqudcks0424@naver.com \
    --cc=James.Bottomley@hansenpartnership.com \
    --cc=jasowangio@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=mkp@kernel.org \
    --cc=mst@redhat.com \
    --cc=security@kernel.org \
    --cc=virtualization@lists.linux.dev \
    /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

all inboxes | Powered by JetHome®