Re: [PATCH] scsi: qla2xxx: Fix improper freeing of purex item
From: Martin K. Petersen
Date: Fri Nov 28 2025 - 22:30:35 EST
On Thu, 13 Nov 2025 15:12:46 +0000, Zilin Guan wrote:
> In qla2xxx_process_purls_iocb(), an item is allocated via
> qla27xx_copy_multiple_pkt(), which internally calls
> qla24xx_alloc_purex_item().
>
> The qla24xx_alloc_purex_item() function may return a pre-allocated item
> from a per-adapter pool for small allocations, instead of dynamically
> allocating memory with kzalloc().
>
> [...]
Applied to 6.19/scsi-queue, thanks!
[1/1] scsi: qla2xxx: Fix improper freeing of purex item
https://git.kernel.org/mkp/scsi/c/78b1a242fe61
--
Martin K. Petersen