public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: "Martin K. Petersen" <martin.petersen@oracle.com>
To: Himanshu Madhani <hmadhani@marvell.com>
Cc: <James.Bottomley@HansenPartnership.com>,
	<martin.petersen@oracle.com>, <linux-scsi@vger.kernel.org>
Subject: Re: [PATCH v4] qla2xxx: Fix unbound NVME response length
Date: Wed, 22 Jan 2020 18:18:07 -0500	[thread overview]
Message-ID: <yq1pnfbf5cg.fsf@oracle.com> (raw)
In-Reply-To: <20200121192710.32314-1-hmadhani@marvell.com> (Himanshu Madhani's message of "Tue, 21 Jan 2020 11:27:10 -0800")


Himanshu,

> On certain cases when response length is less than 32, NVME response
> data is supplied inline in IOCB. This is indicated by some combination
> of state flags. There was an instance when a high, and incorrect,
> response length was indicated causing driver to overrun buffers. Fix
> this by checking and limiting the response payload length.

Applied to 5.5/scsi-fixes, thanks!

-- 
Martin K. Petersen	Oracle Linux Engineering

  parent reply	other threads:[~2020-01-22 23:19 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-21 19:27 [PATCH v4] qla2xxx: Fix unbound NVME response length Himanshu Madhani
2020-01-22 21:23 ` Ewan D. Milne
2020-01-22 23:18 ` Martin K. Petersen [this message]
2020-01-22 23:59 ` Elliott, Robert (Servers)
2020-01-23  0:20   ` Arun Easi
2020-01-23  2:06     ` Martin K. Petersen
2020-01-23 22:51       ` [EXT] " Arun Easi
2020-01-23 23:21     ` Ewan D. Milne

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=yq1pnfbf5cg.fsf@oracle.com \
    --to=martin.petersen@oracle.com \
    --cc=James.Bottomley@HansenPartnership.com \
    --cc=hmadhani@marvell.com \
    --cc=linux-scsi@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