public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH -nect RFC v2 0/2] block: fix uaf in bd_link_disk_holder()
@ 2022-10-20 13:20 Yu Kuai
  2022-10-20 13:20 ` [PATCH -nect RFC v2 1/2] block: add helpers for bd_holder_dir refcount management Yu Kuai
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Yu Kuai @ 2022-10-20 13:20 UTC (permalink / raw)
  To: axboe, hch, willy, kch, martin.petersen, johannes.thumshirn,
	yukuai3, ming.lei
  Cc: linux-block, linux-kernel, yukuai1, yi.zhang

Changes in v2:
 - in order to know when bd_holder_dir will be freed, instead of changing
kobject_put(), add a new field in block_device.

Yu Kuai (2):
  block: add helpers for bd_holder_dir refcount management
  block: fix uaf for bd_holder_dir

 block/blk.h               |  3 +++
 block/genhd.c             | 33 ++++++++++++++++++++++++++++++++-
 block/holder.c            | 19 +++++++++++++------
 block/partitions/core.c   |  5 ++++-
 include/linux/blk_types.h |  1 +
 5 files changed, 53 insertions(+), 8 deletions(-)

-- 
2.31.1


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-10-31  1:08 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-20 13:20 [PATCH -nect RFC v2 0/2] block: fix uaf in bd_link_disk_holder() Yu Kuai
2022-10-20 13:20 ` [PATCH -nect RFC v2 1/2] block: add helpers for bd_holder_dir refcount management Yu Kuai
2022-10-20 13:20 ` [PATCH -nect RFC v2 2/2] block: fix uaf for bd_holder_dir Yu Kuai
2022-10-20 16:47 ` [PATCH -nect RFC v2 0/2] block: fix uaf in bd_link_disk_holder() Christoph Hellwig
2022-10-21  3:15   ` Yu Kuai
2022-10-26 11:16     ` Yu Kuai
2022-10-30 15:30     ` Christoph Hellwig
2022-10-31  1:08       ` Yu Kuai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox