Re: [PATCH] scsi: elx: efct: Fix IO leak on unsupported additional CDB

"Martin K. Petersen" <[email protected]> Sun, 12 Jul 2026 22:32:33 -0400
Newsgroups org.kernel.vger.target-devel,org.kernel.vger.linux-kernel,org.kernel.vger.linux-scsi,org.kernel.vger.stable
Message-ID <[email protected]>
On Mon, 22 Jun 2026 15:58:44 +0800, Haoxiang Li wrote:

> efct_dispatch_fcp_cmd() allocates an efct_io before dispatching an
> unsolicited FCP command. If the command has an unsupported additional
> CDB, the function returns -EIO before handing the IO to the SCSI layer.
> 
> Free the allocated IO before returning from this error path.
> 
> 
> [...]

Applied to 7.2/scsi-fixes, thanks!

[1/1] scsi: elx: efct: Fix IO leak on unsupported additional CDB
      https://git.kernel.org/mkp/scsi/c/9cb2d5291dbf

-- 
Martin K. Petersen