Skip to contentSkip to conversation

Patch "nvme-auth: unlock mutex in one place only" has been added to the 6.1-stable tree

DISCUSSION Mark O'Donovan 2 participants 2 messages Dec 16, 2023 – Dec 18, 2023 1 message not in the archive Stable branch

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

This is wrong. This patch should not be applied to 6.1

Mark

Quoted 43 lines · Sasha Levin

This is a note to let you know that I've just added the patch titled

nvme-auth: unlock mutex in one place only

to the 6.1-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
nvme-auth-unlock-mutex-in-one-place-only.patch
and it can be found in the queue-6.1 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

commit e85d53548a98fef7933fc10ff03f588037cafaf9

Author: Mark O'Donovan <[email protected]>
Date:   Wed Oct 11 08:45:11 2023 +0000

nvme-auth: unlock mutex in one place only

[ Upstream commit 616add70bfdc0274a253e84fc78155c27aacde91 ]

drivers/nvme/host/auth.c +1 -0
index 9dfd3d0293054..7c9dfb420c464 100644
@@ -758,6 +758,7 @@ static void nvme_queue_auth_work(struct work_struct *work)
  	dev_dbg(ctrl->device, "%s: qid %d host response\n",
  		__func__, chap->qid);
  	ret = nvme_auth_dhchap_setup_host_response(ctrl, chap);
+	mutex_unlock(&ctrl->dhchap_auth_mutex);
  	if (ret) {
  		chap->error = ret;
  		goto fail2;
maintainer
#2 lore raw
Quoted 1 line · Mark O'Donovan

This is wrong. This patch should not be applied to 6.1

But 6.6.y is ok?

Why one and not both?

Actually why is this really needed? I'll drop it from both trees now...

thanks,

greg k-h