Linux-NVME Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/5] nvme: target and host fixes from a drivers/nvme audit
@ 2026-12-02 11:58 Guixin Liu
  2026-12-02 11:58 ` [PATCH v2 1/5] nvme: mask the status before checking for Host Identifier Inconsistent Guixin Liu
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: Guixin Liu @ 2026-12-02 11:58 UTC (permalink / raw)
  To: Keith Busch, Jens Axboe, Christoph Hellwig, Sagi Grimberg,
	Nilay Shroff, Daniel Wagner, Hannes Reinecke
  Cc: linux-nvme

A static audit of drivers/nvme turned up these independent bugs. Each
patch has its own reproducer and regression run, described in the notes
below its diff.

  nvme: mask the status before checking for Host Identifier Inconsistent
    The EDS->legacy reservation report fallback never triggers when the
    controller sets DNR.

  nvmet: read CRTO from the capability register
    The CRTO property is extracted from CSTS and always reads zero.

  nvmet: complete the passthru request after applying command effects
    nvme_passthru_end() reads req->cmd after the loop host request has
    been freed.

  nvmet-auth: reject negotiation when the configured DH group is not
    offered
    DH group negotiation advertises a group the host did not offer.

  nvmet-auth: require a DH value when a DH group was negotiated
    A reply with dhvlen == 0 bypasses the negotiated DH key exchange.

Testing: QEMU/KVM guest, 7.3.0 kernel with KASAN, nvmet-tcp, nvme-loop
and nvmet passthru to a QEMU nvme backend. Each fix was reproduced on
the unpatched code, verified with the same recipe after patching, and
regression-tested with the test-only injections removed. The
passthru use-after-free is evidenced by free/read address tracking; the
test kernel's module-side KASAN does not splat on that access, as noted
in patch 3. The test-only injections live in the test environment only,
not in these patches.

---
Changes since v1:
- passthru: apply the command effects before completing the target
  request instead of snapshotting req->cmd, which also keeps the
  passthru reference alive across nvme_passthru_end() (Sashiko).
- auth negotiation: drop the fallback to another offered group; it
  races on the controller-wide DH context across queues and downgrades
  to NULL DH. Require the configured group to be offered instead
  (Sashiko).
- Add a fix for a pre-existing DH exchange bypass: a reply with
  dhvlen == 0 was accepted even when a non-null DH group was negotiated
  (Sashiko).

v1: https://lore.kernel.org/all/20261202034707.3844378-1-kanie@linux.alibaba.com/

Guixin Liu (5):
  nvme: mask the status before checking for Host Identifier Inconsistent
  nvmet: read CRTO from the capability register
  nvmet: complete the passthru request after applying command effects
  nvmet-auth: reject negotiation when the configured DH group is not
    offered
  nvmet-auth: require a DH value when a DH group was negotiated

 drivers/nvme/host/pr.c                 |  2 +-
 drivers/nvme/target/fabrics-cmd-auth.c | 32 ++++++++------------------
 drivers/nvme/target/fabrics-cmd.c      |  2 +-
 drivers/nvme/target/passthru.c         | 10 +++++++-
 4 files changed, 20 insertions(+), 26 deletions(-)

-- 
2.43.7



^ permalink raw reply	[flat|nested] 11+ messages in thread

* [PATCH v2 1/5] nvme: mask the status before checking for Host Identifier Inconsistent
  2026-12-02 11:58 [PATCH v2 0/5] nvme: target and host fixes from a drivers/nvme audit Guixin Liu
@ 2026-12-02 11:58 ` Guixin Liu
  2026-12-03  8:05   ` Christoph Hellwig
  2026-12-02 11:58 ` [PATCH v2 2/5] nvmet: read CRTO from the capability register Guixin Liu
                   ` (3 subsequent siblings)
  4 siblings, 1 reply; 11+ messages in thread
From: Guixin Liu @ 2026-12-02 11:58 UTC (permalink / raw)
  To: Keith Busch, Jens Axboe, Christoph Hellwig, Sagi Grimberg,
	Nilay Shroff, Daniel Wagner, Hannes Reinecke
  Cc: linux-nvme

nvme_pr_resv_report() retries with the legacy data structure when the
controller returns Host Identifier Inconsistent, but compares the raw
status returned by nvme_execute_rq(). A controller that sets the DNR
bit on that status never matches, so the fallback never happens and
the reservation report fails against such controllers.

Mask the status with NVME_SCT_SC_MASK, like nvme_status_to_pr_err()
already does.

Fixes: 5fd96a4e15de8 ("nvme: Add pr_ops read_keys support")
Cc: stable@vger.kernel.org
Signed-off-by: Guixin Liu <kanie@linux.alibaba.com>
---

Reproduced in a QEMU/KVM guest with nvmet-tcp loopback. A TEST-ONLY
injection in the test target (not part of this patch) makes it reject
Extended Data Structure reservation reports with Host Identifier
Inconsistent | DNR, emulating a third-party controller, while accepting
the legacy structure.

Unpatched: nvme_pr_resv_report() compares the raw status, the DNR bit
prevents the match, and no legacy retry is sent (one resv_report, eds=1;
read-keys fails). Patched: the masked comparison matches, a second
resv_report with eds=0 is sent and read-keys succeeds.

Regression without the injection: EDS reservation report and read-keys
succeed directly.
 drivers/nvme/host/pr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/nvme/host/pr.c b/drivers/nvme/host/pr.c
index f5711702b16a..f0aebf890e07 100644
--- a/drivers/nvme/host/pr.c
+++ b/drivers/nvme/host/pr.c
@@ -219,7 +219,7 @@ static int nvme_pr_resv_report(struct block_device *bdev, void *data,
 retry:
 	ret = __nvme_send_pr_command(bdev, cdw10, cdw11, nvme_cmd_resv_report,
 			data, data_len);
-	if (ret == NVME_SC_HOST_ID_INCONSIST &&
+	if ((ret & NVME_SCT_SC_MASK) == NVME_SC_HOST_ID_INCONSIST &&
 	    cdw11 == NVME_EXTENDED_DATA_STRUCT) {
 		cdw11 = 0;
 		*eds = false;
-- 
2.43.7



^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [PATCH v2 2/5] nvmet: read CRTO from the capability register
  2026-12-02 11:58 [PATCH v2 0/5] nvme: target and host fixes from a drivers/nvme audit Guixin Liu
  2026-12-02 11:58 ` [PATCH v2 1/5] nvme: mask the status before checking for Host Identifier Inconsistent Guixin Liu
@ 2026-12-02 11:58 ` Guixin Liu
  2026-12-03  8:05   ` Christoph Hellwig
  2026-12-02 11:58 ` [PATCH v2 3/5] nvmet: complete the passthru request after applying command effects Guixin Liu
                   ` (2 subsequent siblings)
  4 siblings, 1 reply; 11+ messages in thread
From: Guixin Liu @ 2026-12-02 11:58 UTC (permalink / raw)
  To: Keith Busch, Jens Axboe, Christoph Hellwig, Sagi Grimberg,
	Nilay Shroff, Daniel Wagner, Hannes Reinecke
  Cc: linux-nvme

The CRTO property reports the controller ready timeout, which lives in
the CAP register. nvmet_execute_prop_get() extracts it from CSTS
instead, where only the low bits are defined, so the property always
reads zero. Any host or tool that reads CRTO directly then gets 0
rather than the advertised CAP.TO.

Read NVME_CAP_TIMEOUT() from ctrl->cap.

Fixes: 1e058089d28f5 ("nvmet: implement crto property")
Cc: stable@vger.kernel.org
Signed-off-by: Guixin Liu <kanie@linux.alibaba.com>
---

Reproduced in a QEMU/KVM guest with nvmet-tcp loopback by issuing a
fabrics Property Get for CRTO (offset 0x68) and CAP via
NVME_IOCTL_ADMIN_CMD. Unpatched: CRTO reads 0 while CAP.TO is 15.
Patched: CRTO reads 15, matching CAP.TO. No injection needed.
 drivers/nvme/target/fabrics-cmd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/nvme/target/fabrics-cmd.c b/drivers/nvme/target/fabrics-cmd.c
index 6f0fc695e649..35d8c2abfcaf 100644
--- a/drivers/nvme/target/fabrics-cmd.c
+++ b/drivers/nvme/target/fabrics-cmd.c
@@ -69,7 +69,7 @@ static void nvmet_execute_prop_get(struct nvmet_req *req)
 			val = ctrl->csts;
 			break;
 		case NVME_REG_CRTO:
-			val = NVME_CAP_TIMEOUT(ctrl->csts);
+			val = NVME_CAP_TIMEOUT(ctrl->cap);
 			break;
 		default:
 			status = NVME_SC_INVALID_FIELD | NVME_STATUS_DNR;
-- 
2.43.7



^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [PATCH v2 3/5] nvmet: complete the passthru request after applying command effects
  2026-12-02 11:58 [PATCH v2 0/5] nvme: target and host fixes from a drivers/nvme audit Guixin Liu
  2026-12-02 11:58 ` [PATCH v2 1/5] nvme: mask the status before checking for Host Identifier Inconsistent Guixin Liu
  2026-12-02 11:58 ` [PATCH v2 2/5] nvmet: read CRTO from the capability register Guixin Liu
@ 2026-12-02 11:58 ` Guixin Liu
  2026-12-03  8:05   ` Christoph Hellwig
  2026-12-02 11:58 ` [PATCH v2 4/5] nvmet-auth: reject negotiation when the configured DH group is not offered Guixin Liu
  2026-12-02 11:58 ` [PATCH v2 5/5] nvmet-auth: require a DH value when a DH group was negotiated Guixin Liu
  4 siblings, 1 reply; 11+ messages in thread
From: Guixin Liu @ 2026-12-02 11:58 UTC (permalink / raw)
  To: Keith Busch, Jens Axboe, Christoph Hellwig, Sagi Grimberg,
	Nilay Shroff, Daniel Wagner, Hannes Reinecke
  Cc: linux-nvme

nvmet_passthru_execute_cmd_work() completes the target request before
applying the command effects. With the loop transport the nvmet_req is
embedded in the host request's pdu, and completing it lets the submitter
free that request, so the subsequent nvme_passthru_end() read of
req->cmd is a use-after-free. Completing early also drops the passthru
reference that keeps the backend controller alive across
nvme_passthru_end().

Apply the effects before completing the target request. The backend
request is still freed first, so it is idle before nvme_passthru_end()
flushes scan_work and the reset deadlock does not return.

Fixes: bc8fb906b0ff9 ("nvme: handle effects after freeing the request")
Cc: stable@vger.kernel.org
Signed-off-by: Guixin Liu <kanie@linux.alibaba.com>
---

Reproduced in a QEMU/KVM guest with nvme-loop and nvmet passthru to a
QEMU nvme backend. Identify Controller takes the passthru work path
(use_workqueue) with non-zero command effects, so nvme_passthru_end()
runs after nvmet_req_complete(). A TEST-ONLY msleep after completion
(not part of this patch) widens the window.

Address tracking shows the host loop request, whose pdu embeds the
nvmet_req, is freed by the submitter ~0.6ms after the completion wakes
it, while the work reads req->cmd ~100ms later (stale opcode returned).
This is a use-after-free. KASAN does not print a splat for this access
in the test kernel (a known module-side detection gap, also seen
elsewhere); the free/read ordering of the same object is the evidence.

Patched: the effects are applied and req->cmd is read before
nvmet_req_complete(), so the request is still alive; the backend
request is freed first to keep the reset deadlock fix intact.

Regression: identify and I/O over loop passthru work, and eight rounds
of backend controller reset concurrent with passthru identify complete
without deadlock or use-after-free.

Changes since v1:
- Apply the effects before completing the target request instead of
  snapshotting req->cmd onto the stack. This also keeps the passthru
  reference alive across nvme_passthru_end(), avoiding a use-after-free
  on the backend controller (Sashiko).
 drivers/nvme/target/passthru.c | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/drivers/nvme/target/passthru.c b/drivers/nvme/target/passthru.c
index 2d1aeb84637c..26d16f4e0df2 100644
--- a/drivers/nvme/target/passthru.c
+++ b/drivers/nvme/target/passthru.c
@@ -253,11 +253,19 @@ static void nvmet_passthru_execute_cmd_work(struct work_struct *w)
 		status = NVME_SC_INTERNAL;
 
 	req->cqe->result = nvme_req(rq)->result;
-	nvmet_req_complete(req, status);
 	blk_mq_free_request(rq);
 
+	/*
+	 * Apply the command effects before completing the target request:
+	 * nvmet_req_complete() may free req (the loop transport embeds it in
+	 * the host request pdu) and drops the passthru reference keeping ctrl
+	 * alive. Free the backend request first so it is idle before
+	 * nvme_passthru_end() flushes scan_work, or a concurrent reset of ctrl
+	 * deadlocks.
+	 */
 	if (effects)
 		nvme_passthru_end(ctrl, ns, effects, req->cmd, status);
+	nvmet_req_complete(req, status);
 }
 
 static enum rq_end_io_ret nvmet_passthru_req_done(struct request *rq,
-- 
2.43.7



^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [PATCH v2 4/5] nvmet-auth: reject negotiation when the configured DH group is not offered
  2026-12-02 11:58 [PATCH v2 0/5] nvme: target and host fixes from a drivers/nvme audit Guixin Liu
                   ` (2 preceding siblings ...)
  2026-12-02 11:58 ` [PATCH v2 3/5] nvmet: complete the passthru request after applying command effects Guixin Liu
@ 2026-12-02 11:58 ` Guixin Liu
  2026-12-03  8:07   ` Christoph Hellwig
  2026-12-02 11:58 ` [PATCH v2 5/5] nvmet-auth: require a DH value when a DH group was negotiated Guixin Liu
  4 siblings, 1 reply; 11+ messages in thread
From: Guixin Liu @ 2026-12-02 11:58 UTC (permalink / raw)
  To: Keith Busch, Jens Axboe, Christoph Hellwig, Sagi Grimberg,
	Nilay Shroff, Daniel Wagner, Hannes Reinecke
  Cc: linux-nvme

The DH group negotiation loop stores the first offered group that
differs from the configured one in a local variable that is never
used, so the controller keeps the configured group even when the host
did not offer it and advertises a group outside the host's list. The
fallback path is only reached for entries equal to the configured
group, which defeats its purpose.

The DH key pair is set up for the configured group at controller
initialization and is shared across all queues, so switching to a
different group during per-queue negotiation would require regenerating
controller-wide DH state. Instead, check that the host offers the
configured group and fail negotiation if it does not, leaving the
configured DH context intact.

Fixes: 7a277c37d3522 ("nvmet-auth: Diffie-Hellman key exchange support")
Cc: stable@vger.kernel.org
Signed-off-by: Guixin Liu <kanie@linux.alibaba.com>
---

Reproduced in a QEMU/KVM guest with nvmet-tcp and DH-HMAC-CHAP
authentication. The target host is configured for ffdhe2048; a
TEST-ONLY injection in the test host (not part of this patch) makes it
offer only ffdhe3072.

Unpatched: the negotiation loop keeps the configured ffdhe2048 and
advertises it in the challenge even though the host did not offer it.
Patched: negotiation fails with DHGROUP_UNUSABLE because the configured
group is not in the host's list.

Regression without the injection (host offers the full group list,
including the configured ffdhe2048): authentication succeeds.

Changes since v1:
- Drop the fallback to another offered group entirely. Regenerating the
  controller-wide DH key pair from per-queue negotiation races with
  other queues using it, and falling back to the NULL group downgrades
  the configured FFDHE security. Instead just require the configured
  group to be offered and fail otherwise (Sashiko).
 drivers/nvme/target/fabrics-cmd-auth.c | 30 ++++++--------------------
 1 file changed, 7 insertions(+), 23 deletions(-)

diff --git a/drivers/nvme/target/fabrics-cmd-auth.c b/drivers/nvme/target/fabrics-cmd-auth.c
index 34c2e14d0bd9..cfd6cdeab3c3 100644
--- a/drivers/nvme/target/fabrics-cmd-auth.c
+++ b/drivers/nvme/target/fabrics-cmd-auth.c
@@ -47,7 +47,7 @@ static u8 nvmet_auth_negotiate(struct nvmet_req *req, void *d, u32 tl)
 {
 	struct nvmet_ctrl *ctrl = req->sq->ctrl;
 	struct nvmf_auth_dhchap_negotiate_data *data = d;
-	int i, hash_id = 0, fallback_hash_id = 0, dhgid, fallback_dhgid;
+	int i, hash_id = 0, fallback_hash_id = 0;
 
 	if (tl < sizeof(*data) +
 			sizeof(struct nvmf_auth_dhchap_protocol_descriptor))
@@ -114,32 +114,16 @@ static u8 nvmet_auth_negotiate(struct nvmet_req *req, void *d, u32 tl)
 		ctrl->shash_id = fallback_hash_id;
 	}
 
-	dhgid = -1;
-	fallback_dhgid = -1;
 	for (i = 0; i < data->auth_protocol[0].dhchap.dhlen; i++) {
-		int tmp_dhgid = data->auth_protocol[0].dhchap.idlist[i + 30];
-
-		if (tmp_dhgid != ctrl->dh_gid) {
-			dhgid = tmp_dhgid;
+		if (data->auth_protocol[0].dhchap.idlist[i + 30] ==
+		    ctrl->dh_gid)
 			break;
-		}
-		if (fallback_dhgid < 0) {
-			const char *kpp = nvme_auth_dhgroup_kpp(tmp_dhgid);
-
-			if (crypto_has_kpp(kpp, 0, 0))
-				fallback_dhgid = tmp_dhgid;
-		}
 	}
-	if (dhgid < 0) {
-		if (fallback_dhgid < 0) {
-			pr_debug("%s: ctrl %d qid %d: no usable DH group found\n",
-				 __func__, ctrl->cntlid, req->sq->qid);
-			return NVME_AUTH_DHCHAP_FAILURE_DHGROUP_UNUSABLE;
-		}
-		pr_debug("%s: ctrl %d qid %d: configured DH group %s not found\n",
+	if (i == data->auth_protocol[0].dhchap.dhlen) {
+		pr_debug("%s: ctrl %d qid %d: configured DH group %s not offered\n",
 			 __func__, ctrl->cntlid, req->sq->qid,
-			 nvme_auth_dhgroup_name(fallback_dhgid));
-		ctrl->dh_gid = fallback_dhgid;
+			 nvme_auth_dhgroup_name(ctrl->dh_gid));
+		return NVME_AUTH_DHCHAP_FAILURE_DHGROUP_UNUSABLE;
 	}
 	if (ctrl->dh_gid == NVME_AUTH_DHGROUP_NULL && ctrl->concat) {
 		pr_debug("%s: ctrl %d qid %d: NULL DH group invalid "
-- 
2.43.7



^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [PATCH v2 5/5] nvmet-auth: require a DH value when a DH group was negotiated
  2026-12-02 11:58 [PATCH v2 0/5] nvme: target and host fixes from a drivers/nvme audit Guixin Liu
                   ` (3 preceding siblings ...)
  2026-12-02 11:58 ` [PATCH v2 4/5] nvmet-auth: reject negotiation when the configured DH group is not offered Guixin Liu
@ 2026-12-02 11:58 ` Guixin Liu
  2026-12-03  8:08   ` Christoph Hellwig
  4 siblings, 1 reply; 11+ messages in thread
From: Guixin Liu @ 2026-12-02 11:58 UTC (permalink / raw)
  To: Keith Busch, Jens Axboe, Christoph Hellwig, Sagi Grimberg,
	Nilay Shroff, Daniel Wagner, Hannes Reinecke
  Cc: linux-nvme

nvmet_auth_reply() only processes the host's DH value when dhvlen is
non-zero. If a non-null DH group was negotiated (ctrl->dh_tfm is set)
but the host sends a reply with dhvlen == 0, the session key derivation
is skipped and req->sq->dhchap_skey stays NULL. nvmet_auth_host_hash()
then builds the augmented challenge from an empty session key, so the
response no longer depends on the DH shared secret, and with secure
channel concatenation the TLS PSK is derived without any DH entropy.

Reject a reply that carries no DH value when a DH group was negotiated,
mirroring the existing check that rejects a DH value when no group was
negotiated.

Fixes: 7a277c37d3522 ("nvmet-auth: Diffie-Hellman key exchange support")
Cc: stable@vger.kernel.org
Signed-off-by: Guixin Liu <kanie@linux.alibaba.com>
---

Reproduced in a QEMU/KVM guest with nvmet-tcp and DH-HMAC-CHAP. The
target host is configured for ffdhe2048, so a non-null DH group is
negotiated and ctrl->dh_tfm is set. A TEST-ONLY injection in the test
host (not part of this patch) emulates a malicious host: it computes
the reply response with an empty session key and sends the reply with
dhvlen == 0, omitting the DH value entirely.

Unpatched: nvmet_auth_reply() skips nvmet_auth_ctrl_sesskey() because
dhvlen is 0, leaving dhchap_skey NULL; the augmented challenge is built
from an empty session key and matches the host's response, so
authentication succeeds even though the negotiated DH exchange was
never performed (controller reaches live, "authenticated ... dhgroup
ffdhe2048"). Patched: the reply is rejected with INCORRECT_PAYLOAD
(failure1) and authentication fails.

Regression without the injection (host performs the real DH exchange):
authentication succeeds.
 drivers/nvme/target/fabrics-cmd-auth.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/nvme/target/fabrics-cmd-auth.c b/drivers/nvme/target/fabrics-cmd-auth.c
index cfd6cdeab3c3..8b60065cbc2d 100644
--- a/drivers/nvme/target/fabrics-cmd-auth.c
+++ b/drivers/nvme/target/fabrics-cmd-auth.c
@@ -163,6 +163,8 @@ static u8 nvmet_auth_reply(struct nvmet_req *req, void *d, u32 tl)
 		if (nvmet_auth_ctrl_sesskey(req, data->rval + 2 * data->hl,
 					    dhvlen) < 0)
 			return NVME_AUTH_DHCHAP_FAILURE_DHGROUP_UNUSABLE;
+	} else if (ctrl->dh_tfm) {
+		return NVME_AUTH_DHCHAP_FAILURE_INCORRECT_PAYLOAD;
 	}
 
 	response = kmalloc(data->hl, GFP_KERNEL);
-- 
2.43.7



^ permalink raw reply related	[flat|nested] 11+ messages in thread

* Re: [PATCH v2 1/5] nvme: mask the status before checking for Host Identifier Inconsistent
  2026-12-02 11:58 ` [PATCH v2 1/5] nvme: mask the status before checking for Host Identifier Inconsistent Guixin Liu
@ 2026-12-03  8:05   ` Christoph Hellwig
  0 siblings, 0 replies; 11+ messages in thread
From: Christoph Hellwig @ 2026-12-03  8:05 UTC (permalink / raw)
  To: Guixin Liu
  Cc: Keith Busch, Jens Axboe, Sagi Grimberg, Nilay Shroff,
	Daniel Wagner, Hannes Reinecke, linux-nvme

Looks good:

Reviewed-by: Christoph Hellwig <hch@lst.de>



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH v2 2/5] nvmet: read CRTO from the capability register
  2026-12-02 11:58 ` [PATCH v2 2/5] nvmet: read CRTO from the capability register Guixin Liu
@ 2026-12-03  8:05   ` Christoph Hellwig
  0 siblings, 0 replies; 11+ messages in thread
From: Christoph Hellwig @ 2026-12-03  8:05 UTC (permalink / raw)
  To: Guixin Liu
  Cc: Keith Busch, Jens Axboe, Sagi Grimberg, Nilay Shroff,
	Daniel Wagner, Hannes Reinecke, linux-nvme

Looks good:

Reviewed-by: Christoph Hellwig <hch@lst.de>



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH v2 3/5] nvmet: complete the passthru request after applying command effects
  2026-12-02 11:58 ` [PATCH v2 3/5] nvmet: complete the passthru request after applying command effects Guixin Liu
@ 2026-12-03  8:05   ` Christoph Hellwig
  0 siblings, 0 replies; 11+ messages in thread
From: Christoph Hellwig @ 2026-12-03  8:05 UTC (permalink / raw)
  To: Guixin Liu
  Cc: Keith Busch, Jens Axboe, Sagi Grimberg, Nilay Shroff,
	Daniel Wagner, Hannes Reinecke, linux-nvme

Looks good:

Reviewed-by: Christoph Hellwig <hch@lst.de>



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH v2 4/5] nvmet-auth: reject negotiation when the configured DH group is not offered
  2026-12-02 11:58 ` [PATCH v2 4/5] nvmet-auth: reject negotiation when the configured DH group is not offered Guixin Liu
@ 2026-12-03  8:07   ` Christoph Hellwig
  0 siblings, 0 replies; 11+ messages in thread
From: Christoph Hellwig @ 2026-12-03  8:07 UTC (permalink / raw)
  To: Guixin Liu
  Cc: Keith Busch, Jens Axboe, Sagi Grimberg, Nilay Shroff,
	Daniel Wagner, Hannes Reinecke, linux-nvme

Looks good:

Reviewed-by: Christoph Hellwig <hch@lst.de>



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH v2 5/5] nvmet-auth: require a DH value when a DH group was negotiated
  2026-12-02 11:58 ` [PATCH v2 5/5] nvmet-auth: require a DH value when a DH group was negotiated Guixin Liu
@ 2026-12-03  8:08   ` Christoph Hellwig
  0 siblings, 0 replies; 11+ messages in thread
From: Christoph Hellwig @ 2026-12-03  8:08 UTC (permalink / raw)
  To: Guixin Liu
  Cc: Keith Busch, Jens Axboe, Sagi Grimberg, Nilay Shroff,
	Daniel Wagner, Hannes Reinecke, linux-nvme

Looks good:

Reviewed-by: Christoph Hellwig <hch@lst.de>



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2026-12-03  8:08 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-02 11:58 [PATCH v2 0/5] nvme: target and host fixes from a drivers/nvme audit Guixin Liu
2026-12-02 11:58 ` [PATCH v2 1/5] nvme: mask the status before checking for Host Identifier Inconsistent Guixin Liu
2026-12-03  8:05   ` Christoph Hellwig
2026-12-02 11:58 ` [PATCH v2 2/5] nvmet: read CRTO from the capability register Guixin Liu
2026-12-03  8:05   ` Christoph Hellwig
2026-12-02 11:58 ` [PATCH v2 3/5] nvmet: complete the passthru request after applying command effects Guixin Liu
2026-12-03  8:05   ` Christoph Hellwig
2026-12-02 11:58 ` [PATCH v2 4/5] nvmet-auth: reject negotiation when the configured DH group is not offered Guixin Liu
2026-12-03  8:07   ` Christoph Hellwig
2026-12-02 11:58 ` [PATCH v2 5/5] nvmet-auth: require a DH value when a DH group was negotiated Guixin Liu
2026-12-03  8:08   ` Christoph Hellwig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox