Re: [PATCH] scsi: imm: fix use-after-free bugs caused by unfinished delayed work

From: Martin K. Petersen

Date: Sat Nov 29 2025 - 15:43:10 EST



Duoming,

> The delayed work item imm_tq is initialized in imm_attach() and
> scheduled via imm_queuecommand() for processing SCSI commands. When
> the IMM parallel port SCSI host adapter is detached through
> imm_detach(), the imm_struct device instance is deallocated.

Applied to 6.19/scsi-staging, thanks!

--
Martin K. Petersen