All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@kernel.dk>
To: Christoph Hellwig <hch@lst.de>
Cc: yukuai3@huawei.com, linux-block@vger.kernel.org,
	dan.j.williams@intel.com, ming.lei@redhat.com,
	shinichiro.kawasaki@wdc.com
Subject: Re: fix tag freeing use after free and debugfs name reuse
Date: Fri, 17 Jun 2022 07:31:27 -0600	[thread overview]
Message-ID: <165547268742.360172.6417506114396990966.b4-ty@kernel.dk> (raw)
In-Reply-To: <20220614074827.458955-1-hch@lst.de>

On Tue, 14 Jun 2022 09:48:23 +0200, Christoph Hellwig wrote:
> the first patch fixes a use after free, and the others deal with debugfs
> name reuse that spews warnings and makes debugfs use impossible for
> quickly reused gendisk instances.  Both of those are rooted in sloppy
> life time rules for block device tear down.
> 
> Compared to the previous separate postings this adds a missing queue
> quiesce and documents debugfs_mutex better.
> 
> [...]

Applied, thanks!

[1/4] block: disable the elevator int del_gendisk
      commit: 50e34d78815e474d410f342fbe783b18192ca518
[2/4] block: serialize all debugfs operations using q->debugfs_mutex
      commit: 5cf9c91ba927119fc6606b938b1895bb2459d3bc
[3/4] block: remove per-disk debugfs files in blk_unregister_queue
      commit: 99d055b4fd4bbb309c6cdb51a0d420669f777944
[4/4] block: freeze the queue earlier in del_gendisk
      commit: a09b314005f3a0956ebf56e01b3b80339df577cc

Best regards,
-- 
Jens Axboe



      parent reply	other threads:[~2022-06-17 13:31 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-14  7:48 fix tag freeing use after free and debugfs name reuse Christoph Hellwig
2022-06-14  7:48 ` [PATCH 1/4] block: disable the elevator int del_gendisk Christoph Hellwig
2022-06-14  8:23   ` Ming Lei
2022-06-14  8:34     ` Christoph Hellwig
2022-06-14 11:27       ` Ming Lei
2022-06-17 12:50         ` Jens Axboe
2022-06-17 13:26           ` Christoph Hellwig
2022-06-17 13:27             ` Jens Axboe
2022-06-14  7:48 ` [PATCH 2/4] block: serialize all debugfs operations using q->debugfs_mutex Christoph Hellwig
2022-06-14  7:48 ` [PATCH 3/4] block: remove per-disk debugfs files in blk_unregister_queue Christoph Hellwig
2022-06-14  7:48 ` [PATCH 4/4] block: freeze the queue earlier in del_gendisk Christoph Hellwig
2022-07-08  5:41   ` REGRESSION: " Logan Gunthorpe
2022-07-08  6:01     ` Christoph Hellwig
2022-07-08 15:55       ` Logan Gunthorpe
2022-07-09  8:17         ` Christoph Hellwig
2022-07-11  3:33           ` Logan Gunthorpe
2022-07-11  4:33             ` Christoph Hellwig
2022-06-17 13:31 ` Jens Axboe [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=165547268742.360172.6417506114396990966.b4-ty@kernel.dk \
    --to=axboe@kernel.dk \
    --cc=dan.j.williams@intel.com \
    --cc=hch@lst.de \
    --cc=linux-block@vger.kernel.org \
    --cc=ming.lei@redhat.com \
    --cc=shinichiro.kawasaki@wdc.com \
    --cc=yukuai3@huawei.com \
    /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.