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

From: Martin K. Petersen

Date: Sun Jul 12 2026 - 22:37:53 EST


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