[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20221018131432.434167-1-yukuai3@huawei.com>
Date: Tue, 18 Oct 2022 21:14:30 +0800
From: Yu Kuai <yukuai3@...wei.com>
To: <hch@....de>, <axboe@...nel.dk>, <gregkh@...uxfoundation.org>,
<willy@...radead.org>, <martin.petersen@...cle.com>,
<kch@...dia.com>
CC: <linux-block@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<yukuai3@...wei.com>, <yukuai1@...weicloud.com>,
<yi.zhang@...wei.com>
Subject: [PATCH RFC 0/2] block: fix uaf in bd_link_disk_holder()
Yu Kuai (2):
kobject: add return value for kobject_put()
block: protect slave_dir/bd_holder_dir by open_mutex
block/genhd.c | 8 ++++++--
block/holder.c | 13 ++++++++++++-
block/partitions/core.c | 5 ++++-
include/linux/kobject.h | 2 +-
lib/kobject.c | 7 +++++--
5 files changed, 28 insertions(+), 7 deletions(-)
--
2.31.1
Powered by blists - more mailing lists