diff options
| author | Haoxiang Li <haoxiang_li2024@163.com> | 2026-06-22 15:58:44 +0800 |
|---|---|---|
| committer | Martin K. Petersen <martin.petersen@oracle.com> | 2026-07-12 22:21:22 -0400 |
| commit | 9cb2d5291dbfe7bed565ead3337047dee9ed1064 (patch) | |
| tree | 4017c54868a1a2c6dd7d666987161d02d47cbc63 /scripts | |
| parent | dccf3b1798b70f94e958b3d00b83010399e6fb05 (diff) | |
scsi: elx: efct: Fix I/O leak on unsupported additional CDB
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.
Fixes: f45ae6aac0a0 ("scsi: elx: efct: Unsolicited FC frame processing routines")
Cc: stable@vger.kernel.org
Signed-off-by: Haoxiang Li <haoxiang_li2024@163.com>
Reviewed-by: Daniel Wagner <dwagner@suse.de>
Link: https://patch.msgid.link/20260622075844.832871-1-haoxiang_li2024@163.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
