Linux SCSI subsystem development
 help / color / mirror / Atom feed
From: "Martin K. Petersen" <martin.petersen@oracle.com>
To: Duoming Zhou <duoming@zju.edu.cn>
Cc: linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org,
	martin.petersen@oracle.com,
	James.Bottomley@HansenPartnership.com
Subject: Re: [PATCH] scsi: imm: fix use-after-free bugs caused by unfinished delayed work
Date: Sat, 29 Nov 2025 15:43:02 -0500	[thread overview]
Message-ID: <yq1fr9wy3ht.fsf@ca-mkp.ca.oracle.com> (raw)
In-Reply-To: <20251028100149.40721-1-duoming@zju.edu.cn> (Duoming Zhou's message of "Tue, 28 Oct 2025 18:01:49 +0800")


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

  reply	other threads:[~2025-11-29 20:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-10-28 10:01 [PATCH] scsi: imm: fix use-after-free bugs caused by unfinished delayed work Duoming Zhou
2025-11-29 20:43 ` Martin K. Petersen [this message]
2025-12-09  3:21 ` Martin K. Petersen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=yq1fr9wy3ht.fsf@ca-mkp.ca.oracle.com \
    --to=martin.petersen@oracle.com \
    --cc=James.Bottomley@HansenPartnership.com \
    --cc=duoming@zju.edu.cn \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox