From: "Martin K. Petersen" <martin.petersen@oracle.com>
To: Xie Yongji <xieyongji@bytedance.com>
Cc: mst@redhat.com, jasowang@redhat.com, stefanha@redhat.com,
jejb@linux.ibm.com, martin.petersen@oracle.com,
virtualization@lists.linux-foundation.org,
linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2] virtio_scsi: Add validation for residual bytes from response
Date: Tue, 29 Jun 2021 16:54:19 -0400 [thread overview]
Message-ID: <yq1pmw4ie8a.fsf@ca-mkp.ca.oracle.com> (raw)
In-Reply-To: <20210615105218.214-1-xieyongji@bytedance.com> (Xie Yongji's message of "Tue, 15 Jun 2021 18:52:18 +0800")
Xie,
> This ensures that the residual bytes in response (might come
> from an untrusted device) will not exceed the data buffer length.
Applied to 5.14/scsi-staging, thanks!
--
Martin K. Petersen Oracle Linux Engineering
prev parent reply other threads:[~2021-06-29 20:54 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-15 10:52 [PATCH v2] virtio_scsi: Add validation for residual bytes from response Xie Yongji
2021-06-29 20:54 ` Martin K. Petersen [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=yq1pmw4ie8a.fsf@ca-mkp.ca.oracle.com \
--to=martin.petersen@oracle.com \
--cc=jasowang@redhat.com \
--cc=jejb@linux.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=mst@redhat.com \
--cc=stefanha@redhat.com \
--cc=virtualization@lists.linux-foundation.org \
--cc=xieyongji@bytedance.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