stable.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Greg KH <greg@kroah.com>
To: Giuliano Procida <gprocida@google.com>
Cc: stable@vger.kernel.org
Subject: Re: backport request for use-after-free blk_mq_queue_tag_busy_iter
Date: Fri, 3 Apr 2020 11:20:32 +0200	[thread overview]
Message-ID: <20200403092032.GE3740897@kroah.com> (raw)
In-Reply-To: <CAGvU0HkVUE_mQY8AUjieRcRrD38gdJRE+CbDuenMxnU6DAFOSA@mail.gmail.com>

On Wed, Apr 01, 2020 at 05:47:02PM +0000, Giuliano Procida wrote:
> This issue was found in 4.14 and is present in earlier kernels.
> 
> Please backport
> 
> f5bbbbe4d635 blk-mq: sync the update nr_hw_queues with
> blk_mq_queue_tag_busy_iter
> 530ca2c9bd69 blk-mq: Allow blocking queue tag iter callbacks
> 
> onto the stable branches that don't have these. The second is a fix
> for the first. Thank you.
> 
> 4.19.y and later - commits already present
> 4.14.y - f5bbbbe4d635 doesn't patch cleanly but it's still
> straightforward, just drop the comment and code mentioning switching
> to 'none' in the trailing context
> 4.9.y - ditto
> 4.4.y - there was a refactoring of the code in commit
> 0bf6cd5b9531bcc29c0a5e504b6ce2984c6fd8d8 making this non-trivial
> 3.16.y - ditto
> 
> I am happy to try to produce clean patches, but it may be a day or so.

I have done this for 4.14.y and 4.9.y, can you please provide a backport
for 4.4.y that I can queue up?

thanks,

greg k-h

  parent reply	other threads:[~2020-04-03  9:20 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-01 17:47 backport request for use-after-free blk_mq_queue_tag_busy_iter Giuliano Procida
2020-04-01 17:55 ` Greg KH
2020-04-03  9:20 ` Greg KH [this message]
2020-04-03 22:30   ` Giuliano Procida
2020-04-07 16:31     ` Giuliano Procida
2020-04-07 16:55       ` [PATCH 0/4] " Giuliano Procida
2020-04-10  9:04         ` Greg KH
2020-04-07 16:55       ` [PATCH 1/4] block: more locking around delayed work Giuliano Procida
2020-04-10  9:03         ` Greg KH
2020-04-15 12:03           ` Giuliano Procida
2020-04-07 16:55       ` [PATCH 2/4] blk-mq: Allow timeouts to run while queue is freezing Giuliano Procida
2020-04-07 16:55       ` [PATCH 3/4] blk-mq: sync things with blk_mq_queue_tag_busy_iter Giuliano Procida
2020-04-07 16:55       ` [PATCH 4/4] blk-mq: Allow blocking queue tag iter callbacks Giuliano Procida
2020-04-07 21:02       ` backport request for use-after-free blk_mq_queue_tag_busy_iter Giuliano Procida
2020-04-15 13:00       ` [PATCH v2 0/4] " Giuliano Procida
2020-05-18  7:27         ` Greg KH
2020-04-15 13:00       ` [PATCH v2 1/4] block: more locking around delayed work Giuliano Procida
2020-04-15 13:00       ` [PATCH v2 2/4] blk-mq: Allow timeouts to run while queue is freezing Giuliano Procida
2020-04-15 13:00       ` [PATCH v2 3/4] blk-mq: sync the update nr_hw_queues with blk_mq_queue_tag_busy_iter Giuliano Procida
2020-04-15 13:00       ` [PATCH v2 4/4] blk-mq: Allow blocking queue tag iter callbacks Giuliano Procida

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=20200403092032.GE3740897@kroah.com \
    --to=greg@kroah.com \
    --cc=gprocida@google.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).