mbox series

[v2,resend,0/2] Fix out-of-bound read in resp_readcap16 and resp_report_tgtpgs

Message ID 20211013033913.2551004-1-yebin10@huawei.com (mailing list archive)
Headers show
Series Fix out-of-bound read in resp_readcap16 and resp_report_tgtpgs | expand

Message

yebin (H) Oct. 13, 2021, 3:39 a.m. UTC
Ye Bin (2):
  scsi:scsi_debug: Fix out-of-bound read in resp_readcap16
  scsi:scsi_debug:Fix out-of-bound read in resp_report_tgtpgs

 drivers/scsi/scsi_debug.c | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

Comments

Martin K. Petersen Oct. 17, 2021, 2:38 a.m. UTC | #1
Ye,

>   scsi:scsi_debug: Fix out-of-bound read in resp_readcap16
>   scsi:scsi_debug:Fix out-of-bound read in resp_report_tgtpgs

Applied to 5.16/scsi-staging, thanks!
Martin K. Petersen Oct. 21, 2021, 3:42 a.m. UTC | #2
On Wed, 13 Oct 2021 11:39:11 +0800, Ye Bin wrote:

> Ye Bin (2):
>   scsi:scsi_debug: Fix out-of-bound read in resp_readcap16
>   scsi:scsi_debug:Fix out-of-bound read in resp_report_tgtpgs
> 
> drivers/scsi/scsi_debug.c | 11 ++++++-----
>  1 file changed, 6 insertions(+), 5 deletions(-)
> 
> [...]

Applied to 5.16/scsi-queue, thanks!

[1/2] scsi:scsi_debug: Fix out-of-bound read in resp_readcap16
      https://git.kernel.org/mkp/scsi/c/4e3ace0051e7
[2/2] scsi:scsi_debug:Fix out-of-bound read in resp_report_tgtpgs
      https://git.kernel.org/mkp/scsi/c/f347c26836c2