[PATCH 0/2] fix request uaf in nbd_read_stat()
From: Yu Kuai
Date: Sat Aug 07 2021 - 23:07:47 EST
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