Skip to contentSkip to conversation

nvme fixes for Linux 7.4

GIT PULL Keith Busch 2 participants 2 messages Nov 18 NVMe

lore
Share & tools
lore

Keith Busch

author maintainer
#0 lore raw

The following changes since commit 28f7d31c2aeb350df9a0116093fade0a840fb4ce:

Merge tag 'nvme-7.4-2026-11-05' of git://git.infradead.org/nvme into block-7.4 (2026-11-05 13:47:13 -0700)

are available in the Git repository at:

git://git.infradead.org/nvme.git tags/nvme-7.4-2026-11-17

for you to fetch changes up to 68099cf27253a8c89d703a282d3d811446d9453b:

nvme-fabrics: use kfree_sensitive() for the old DH-HMAC-CHAP secret (2026-11-16 07:42:49 -0800)

----------------------------------------------------------------
nvme fixes for Linux 7.4

- Fix TLS handling of non-data records on a live queue and wait for an in-flight handshake callback
- DH-HMAC-CHAP fixes: use the parsed key offset on host and target, synchronize secret removal, clean up DH group state on failure, and securely free secrets
- Fix short reads/writes and range check overflows in the target file backend
- Fix transport error handling in loop, tcp, fc and fcloop, and validate R2T offsets, inline data and queue IDs
- Remove namespaces in parallel
- Fix gendisk leak and subsystem lock deadlock on namespace and controller setup failures
- Stop asynchronous event work before ANA teardown
- Fix suspend when disabling the HMB fails
- Reject invalid timeout and reconnect_delay values
- Various target fixes for log pages, zns identify, write protect, PR allocations and ANA group IDs
- Merge duplicate PCI ID quirk entries
- Various dead code cleanups

----------------------------------------------------------------
Andrew Stellman (1):
nvmet: accept ANA group ID NVMET_MAX_ANAGRPS in configfs

Avi Weiss (1):
nvme-tcp: wait for in-flight TLS handshake callback

Guixin Liu (10):
nvme-pci: remove write-only NVMEQ_DELETE_ERROR flag
nvme-fc: remove dead seqno field in nvme_fc_queue
nvme-auth: remove dead entry field in nvme_dhchap_queue_context
nvme-fabrics: remove dead hostnqn already-assigned check
nvme: drop unreachable "off" case in reconnect_delay_show()
nvmet-fc: remove dead fields in nvmet_fc_ls_iod and nvmet_fc_tgt_queue
nvmet: remove unreachable "pcie" entry from the address family map
nvmet: passthru: remove unreachable break statements
nvmet-pci-epf: don't drain the never-populated SQ list
nvmet: use GFP_KERNEL for PR allocations

Kyle Smith (1):
nvme: Fix potential gendisk leak in nvme_alloc_ns

Mani Tofigh (1):
nvme: fix deadlock on nvme_subsystems_lock in nvme_init_subsystem()

Martin Belanger (3):
nvme-tcp: use an aligned buffer for the TLS record type
nvme-tcp: move the TLS record read loop into a helper
nvme-tcp: consume TLS records without application data

Martin George (2):
nvme-sysfs: use kfree_sensitive() for DH-HMAC-CHAP secrets
nvme-fabrics: use kfree_sensitive() for the old DH-HMAC-CHAP secret

Platon Miller (1):
nvme-pci: merge duplicate 1d97:2263 entries in nvme_id_table

Qiliang Yuan (1):
nvme: remove namespaces in parallel

Shao Mingyin (13):
nvmet: zero the entire Get Log Page transfer buffer
nvmet: zns: return the namespace lookup error for Identify
nvme: reject invalid reconnect_delay sysfs values
nvme-auth: use the parsed offset for the DH-CHAP key
nvmet: handle short reads and writes in the file backend
nvmet: use overflow-safe range checks in the file backend
nvmet-auth: store the DH-CHAP key offset instead of hardcoding it
nvme-loop: release the target request when SG setup fails
nvmet-tcp: only wait for in-capsule data for inline SGLs
nvme-tcp: require the R2T offset to match the data sent
nvmet-fcloop: free the LS request when delivery fails
nvmet-fc: reject duplicate queue IDs on Create Connection
nvmet: roll back queue bindings on connection failure

Sreeraj S Kurup (3):
nvmet: clean up DH group state on initialization failure
nvmet: reject invalid write-protect feature values
nvmet: synchronize DH-CHAP secret removal

Yaohan Li (1):
nvme: stop asynchronous event work before ANA teardown

Yingjie Wang (1):
nvme: avoid wrapping admin_timeout and io_timeout

Yuho Choi (1):
nvme-pci: shut down the controller if disabling the HMB fails on suspend

 Documentation/ABI/stable/sysfs-nvme |   3 +-
 drivers/nvme/common/auth.c          |   6 +-
 drivers/nvme/host/auth.c            |   1 -
 drivers/nvme/host/core.c            |  44 ++++++---
 drivers/nvme/host/fabrics.c         |  10 +--
 drivers/nvme/host/fc.c              |   1 -
 drivers/nvme/host/multipath.c       |   7 ++
 drivers/nvme/host/nvme.h            |  13 ++-
 drivers/nvme/host/pci.c             |  35 +++-----
 drivers/nvme/host/sysfs.c           |  17 ++--
 drivers/nvme/host/tcp.c             | 175 ++++++++++++++++++++++++++++--------
 drivers/nvme/target/admin-cmd.c     |  52 ++++++++---
 drivers/nvme/target/auth.c          |  83 ++++++++++-------
 drivers/nvme/target/configfs.c      |   9 +-
 drivers/nvme/target/fabrics-cmd.c   |   3 +
 drivers/nvme/target/fc.c            |  16 ++--
 drivers/nvme/target/fcloop.c        |   2 +
 drivers/nvme/target/io-cmd-file.c   |  47 +++++++---
 drivers/nvme/target/loop.c          |   1 +
 drivers/nvme/target/nvmet.h         |   2 +
 drivers/nvme/target/passthru.c      |   2 -
 drivers/nvme/target/pci-epf.c       |   2 -
 drivers/nvme/target/pr.c            |  10 ++-
 drivers/nvme/target/tcp.c           |  42 ++++++---
 drivers/nvme/target/zns.c           |   3 +-
 25 files changed, 401 insertions(+), 185 deletions(-)
maintainer
#1 lore raw
Quoted 26 lines · Keith Busch

The following changes since commit 28f7d31c2aeb350df9a0116093fade0a840fb4ce:

Merge tag 'nvme-7.4-2026-11-05' of git://git.infradead.org/nvme into block-7.4 (2026-11-05 13:47:13 -0700)

are available in the Git repository at:

git://git.infradead.org/nvme.git tags/nvme-7.4-2026-11-17

for you to fetch changes up to 68099cf27253a8c89d703a282d3d811446d9453b:

nvme-fabrics: use kfree_sensitive() for the old DH-HMAC-CHAP secret (2026-11-16 07:42:49 -0800)

----------------------------------------------------------------
nvme fixes for Linux 7.4

- Fix TLS handling of non-data records on a live queue and wait for an in-flight handshake callback
- DH-HMAC-CHAP fixes: use the parsed key offset on host and target, synchronize secret removal, clean up DH group state on failure, and securely free secrets
- Fix short reads/writes and range check overflows in the target file backend
- Fix transport error handling in loop, tcp, fc and fcloop, and validate R2T offsets, inline data and queue IDs
- Remove namespaces in parallel
- Fix gendisk leak and subsystem lock deadlock on namespace and

Quoted 8 lines

controller setup failures
- Stop asynchronous event work before ANA teardown
- Fix suspend when disabling the HMB fails
- Reject invalid timeout and reconnect_delay values
- Various target fixes for log pages, zns identify, write protect, PR allocations and ANA group IDs
- Merge duplicate PCI ID quirk entries
- Various dead code cleanups

Pulled, thanks.

Signature · 1 line
Jens Axboe