[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20231116162316.1740402-1-linan666@huaweicloud.com>
Date: Fri, 17 Nov 2023 00:23:13 +0800
From: linan666@...weicloud.com
To: josef@...icpanda.com, axboe@...nel.dk
Cc: linux-block@...r.kernel.org, nbd@...er.debian.org,
linux-kernel@...r.kernel.org, linan122@...wei.com,
yukuai3@...wei.com, yi.zhang@...wei.com, houtao1@...wei.com,
yangerkun@...wei.com
Subject: [PATCH 0/3] fix null-ptr-deref in nbd_open()
From: Li Nan <linan122@...wei.com>
Li Nan (3):
nbd: fold nbd config initialization into nbd_alloc_config()
nbd: factor out a helper to get nbd_config without holding
'config_lock'
nbd: fix null-ptr-dereference while accessing 'nbd->config'
drivers/block/nbd.c | 82 +++++++++++++++++++++++++++++----------------
1 file changed, 53 insertions(+), 29 deletions(-)
--
2.39.2
Powered by blists - more mailing lists