[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210923134631.105719-1-yukuai3@huawei.com>
Date: Thu, 23 Sep 2021 21:46:25 +0800
From: Yu Kuai <yukuai3@...wei.com>
To: <axboe@...nel.dk>, <tj@...nel.org>
CC: <linux-block@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<cgroups@...r.kernel.org>, <yukuai3@...wei.com>,
<yi.zhang@...wei.com>
Subject: [PATCH 0/6] fix uaf in rq_qos_done_io()
This patch set tries to fix the uaf when bio_endio() is called from
error path and is concurrent with blk_cleanup_queue().
Yu Kuai (6):
rq-qos: introduce rq_qos_free()
blk-wbt: introduce wbt_free()
io-cost: introduce ioc_rqos_free()
blk-iolatency: splict blkcg_iolatency_free() from
blkcg_iolatency_exit()
blk-ioprio: introduce blkcg_ioprio_free()
rq-qos: fix uaf in rq_qos_done_io()
block/blk-iocost.c | 7 +++++++
block/blk-iolatency.c | 7 +++++++
block/blk-ioprio.c | 7 ++++++-
block/blk-rq-qos.c | 12 +++++++++++-
block/blk-rq-qos.h | 2 ++
block/blk-sysfs.c | 1 +
block/blk-wbt.c | 7 +++++++
7 files changed, 41 insertions(+), 2 deletions(-)
--
2.31.1
Powered by blists - more mailing lists