Forwarded: [PATCH] nbd: test cpu_hotplug_lock deadlock fix

From: syzbot

Date: Wed Nov 11 2026 - 06:33:42 EST


For archival purposes, forwarding an incoming command email to
linux-kernel@xxxxxxxxxxxxxxx, syzkaller-bugs@xxxxxxxxxxxxxxxx.

***

Subject: [PATCH] nbd: test cpu_hotplug_lock deadlock fix
Author: timo.joannin@xxxxxxxxx

#syz test: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master

nbd: test cpu_hotplug_lock deadlock fix
---
drivers/block/nbd.c | 2 ++
1 file changed, 2 insertions(+)

diff --git a/drivers/block/nbd.c b/drivers/block/nbd.c
index 5112e3a03027..99b129eea598 100644
--- a/drivers/block/nbd.c
+++ b/drivers/block/nbd.c
@@ -1357,6 +1357,8 @@ static int nbd_genl_reconnect_sock_cb(struct nbd_device *nbd, unsigned long arg)
if (!sock)
return err;

+ nbd_reclassify_socket(sock)
+
args = kzalloc_obj(*args);
if (!args) {
sockfd_put(sock);
--
2.56.0