All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Martin K. Petersen" <mkp@kernel.org>
To: Guangshuo Li <liguangshuo@mail.sdu.edu.cn>
Cc: Ram Vegesna <ram.vegesna@broadcom.com>,
	 "James E.J. Bottomley" <James.Bottomley@HansenPartnership.com>,
	 "Martin K. Petersen" <mkp@kernel.org>,
	 linux-scsi@vger.kernel.org, target-devel@vger.kernel.org,
	 linux-kernel@vger.kernel.org
Subject: Re: [PATCH] scsi: efct: Fix potential use-after-free on RQ setup failure
Date: Sat, 05 Dec 2026 20:48:45 -0500	[thread overview]
Message-ID: <yq1ld63dvri.fsf@mail.kernel.org> (raw)
In-Reply-To: <20261112-88a3a7ff32-scsi-efct@mail.sdu.edu.cn>


Guangshuo,

> Receive queues are linked to their completion queues before all tracker
> allocations succeed. On failure, the RQs are freed but CQ teardown still
> walks their list nodes. Publish the RQs only after all allocations succeed.

Applied to 7.5/scsi-staging, thanks!

-- 
Martin K. Petersen

      reply	other threads:[~2026-12-06  1:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-12 13:58 [PATCH] scsi: efct: Fix potential use-after-free on RQ setup failure Guangshuo Li
2026-12-06  1:48 ` Martin K. Petersen [this message]

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=yq1ld63dvri.fsf@mail.kernel.org \
    --to=mkp@kernel.org \
    --cc=James.Bottomley@HansenPartnership.com \
    --cc=liguangshuo@mail.sdu.edu.cn \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=ram.vegesna@broadcom.com \
    --cc=target-devel@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.