[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210808031752.579882-1-yukuai3@huawei.com>
Date: Sun, 8 Aug 2021 11:17:50 +0800
From: Yu Kuai <yukuai3@...wei.com>
To: <axboe@...nel.dk>, <josef@...icpanda.com>, <ming.lei@...hat.com>
CC: <linux-block@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<nbd@...er.debian.org>, <yukuai3@...wei.com>, <yi.zhang@...wei.com>
Subject: [PATCH 0/2] fix request uaf in nbd_read_stat()
Yu Kuai (2):
blk-mq: add two interfaces to lock/unlock blk_mq_tags->lock
nbd: hold tags->lock to prevent access freed request through
blk_mq_tag_to_rq()
block/blk-mq-tag.c | 12 ++++++++++++
drivers/block/nbd.c | 22 ++++++++++++++++------
include/linux/blk-mq.h | 2 ++
3 files changed, 30 insertions(+), 6 deletions(-)
--
2.31.1
Powered by blists - more mailing lists