All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sasha Levin <sashal@kernel.org>
To: linux-kernel@vger.kernel.org, stable@vger.kernel.org
Cc: Sasha Levin <sashal@kernel.org>, Keith Busch <kbusch@kernel.org>,
	Jens Axboe <axboe@kernel.dk>, Simon Liebold <simonlie@amazon.de>
Subject: Re: [PATCH 6.18.y 1/2] blk-mq: pop cached request if it is usable
Date: Fri, 14 Aug 2026 22:33:02 -0400	[thread overview]
Message-ID: <20260814193000.2@kernel.org> (raw)
In-Reply-To: <20260812112545.2630000-1-simonlie@amazon.de>

> [ Upstream commit dc278e9bf2b9513a763353e6b9cc21e0f532954e ]
>
> When submitting a bio to blk-mq, if the task should sleep after peeking
> a cached request, but before it pops it, the plug flushes and calls
> blk_mq_free_plug_rqs, freeing the cached_rqs. This creates a
> use-after-free bug.

Queued the series for 6.18, thanks.

-- 
Thanks,
Sasha

      parent reply	other threads:[~2026-08-15  2:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-12 11:25 [PATCH 6.18.y 1/2] blk-mq: pop cached request if it is usable Simon Liebold
2026-08-12 11:25 ` [PATCH 6.18.y 2/2] blk-mq: reinsert cached request to the list Simon Liebold
2026-08-15  2:33 ` Sasha Levin [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=20260814193000.2@kernel.org \
    --to=sashal@kernel.org \
    --cc=axboe@kernel.dk \
    --cc=kbusch@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=simonlie@amazon.de \
    --cc=stable@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.