CVE-2026-100100 PUBLISHED

nvmet: require authentication before property set

Assigner: Linux
Reserved: 25.09.2026 Published: 30.11.2026 Updated: 01.12.2026

In the Linux kernel, the following vulnerability has been resolved:

nvmet: require authentication before property set

I/O queues do not perform independent DH-HMAC-CHAP authentication. They instead rely on authentication of the controller's admin queue. Fabrics property commands, however, are dispatched before the general admin command authentication check.

An unauthenticated peer can consequently set CC.EN, connect an I/O queue, and access a namespace after admin CONNECT reported that authentication was required. Reject PROPERTY_SET until the admin queue has authenticated. Targets without a configured authentication key are unchanged.

This was found by source review with AI assistance. A localhost NVMe/TCP wire reproducer retrieved a known 4 KiB namespace block in two independent boots without completing AUTH_SEND or AUTH_RECEIVE. With this change, PROPERTY_SET returned NVME_SC_AUTH_REQUIRED and the namespace data was not returned; the no-authentication control continued to work.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS Score: 9.8

AV:N - The attacker sends every step as an NVMe/TCP (or RDMA) capsule: Fabrics CONNECT qid 0, Fabrics PROPERTY_SET with offset NVME_REG_CC and CC.EN=1, which reaches nvmet_execute_prop_set() through nvmet_parse_fabrics_admin_cmd(), then CONNECT qid>=1 and NVMe Read/Write commands. All of it travels over a routable transport to the target port. AC:L - The attacker controls the whole sequence. It ignores AUTHREQ, picks the CC value, reuses the cntlid from the CONNECT reply and sets kato=0 so the keep-alive never fires. The host NQN it presents works like a username, not a secret: it travels in cleartext in non-TLS CONNECT data and only goes through the string check in nvmet_host_allowed(). Configured DH-HMAC-CHAP is the feature this bug bypasses, not an extra condition. PR:N - Before the fix, nvmet_execute_prop_set() had no nvmet_check_auth_status() call, and nvmet_check_auth_status() returns true for any qid>0. So the attacker gets I/O access without sending AUTH_SEND or AUTH_RECEIVE or knowing the DH-HMAC-CHAP host key. The only gate is a host NQN that the client simply asserts. UI:N - No action by an administrator or legitimate host is needed. The attacker opens its own admin and I/O TCP connections to a target that already exports the subsystem and drives the controller state itself. S:U - The impact stays inside the nvmet target's authority: the attacker gets unauthorized access to namespaces that nvmet already serves. No VM, IOMMU or sandbox boundary is crossed in the target kernel. C:H - Once CSTS.RDY is set and an I/O queue is connected, nvmet_parse_io_cmd() lets the attacker send nvme_cmd_read for any LBA of any namespace found by nvmet_req_find_ns(). It can read whole block devices that DH-HMAC-CHAP was meant to protect. The fix commit's reproducer read back a known namespace block. I:H - The same unauthenticated I/O queue accepts nvme_cmd_write and nvme_cmd_write_zeroes through nvmet_bdev/file_parse_io_cmd(). Only nvmet_io_cmd_check_access() stands in the way, and it rejects only namespaces marked read-only. The attacker can change any block on the namespace, including the filesystem or VM disk of the real host. A:H - Using nvme_cmd_write_zeroes or nvme_cmd_dsm (deallocate) on the unauthenticated I/O queue, the attacker can wipe or corrupt the whole namespace, which destroys the storage the legitimate host depends on.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from c91a20129185d5153cd845c857b4f9fce61e28d1 to b0c652a11e536da6eb133d365bb936b081b6b70f (excl.)
  • affected from c91a20129185d5153cd845c857b4f9fce61e28d1 to 68f15bd32d74a9836e1dce756ed03b6c4a5899f5 (excl.)
  • affected from c91a20129185d5153cd845c857b4f9fce61e28d1 to 44512543ff0413031516a02cde67323a55e0f769 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 6.16 is affected
  • unaffected from 0 to 6.16 (excl.)
  • unaffected from 6.18.63 to 6.18.* (incl.)
  • unaffected from 7.3.4 to 7.3.* (incl.)
  • unaffected from 7.4-rc1 to * (incl.)

References