Linux-NVME Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [GIT PULL] nvme fixes for Linux 7.4
@ 2026-12-03 21:28 Keith Busch
  2026-12-04  0:13 ` Jens Axboe
  0 siblings, 1 reply; 7+ messages in thread
From: Keith Busch @ 2026-12-03 21:28 UTC (permalink / raw)
  To: axboe; +Cc: hch, linux-nvme

The following changes since commit 68099cf27253a8c89d703a282d3d811446d9453b:

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

are available in the Git repository at:

  git://git.infradead.org/nvme.git tags/nvme-7.4-2026-12-03

for you to fetch changes up to d647c9807cc0b0d3ae6fc4258ee473bb326603a7:

  nvme-hwmon: clamp threshold input before Kelvin conversion (2026-12-03 13:22:02 -0800)

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

 - PCIe quirks for Micron 2100AI/AT and UMIS AM6B0
 - Fix PCIe resume when MMIO is slow to come back
 - Fix a missed doorbell write after passthrough requests
 - Validate dma-buf size and scatterlist bounds
 - Fix nvme-tcp socket use-after-release in polling, R2T length
   overflow, and target connect header digest handling
 - Fibre Channel host, target and fcloop fixes for reconnect, teardown
   and error paths
 - Multipath fixes for ANA timer teardown, delayed removal and path
   activation latency
 - Bound fabrics timeout options against overflow
 - Serialize DH-HMAC-CHAP secret updates and validate DH value lengths
 - Reservation report fixes for retry bounds, report tail data and
   legacy fallback
 - Target fixes for zone append size, passthrough LBA formats, CRTO,
   configfs and debugfs output
 - Limit Write Zeroes to 65536 logical blocks
 - Reject a controller type change on reinitialization
 - Misc fixes for tracing, hwmon thresholds and string handling

----------------------------------------------------------------
Andrew Stellman (3):
      nvme-auth: validate DH value length when reusing a group
      nvme-fc: initialize result on transport failure
      nvme-hwmon: clamp threshold input before Kelvin conversion

Ankit Gupta (1):
      nvme: limit Write Zeroes to 65536 logical blocks

Artem Novak (1):
      nvme-pci: add missing newline to pci-dmabuf.h

Bean Huo (1):
      nvme-pci: add NVME_QUIRK_APST_BUF_512 for Micron 2100AI/AT

Bilal Hashim (1):
      nvme-pci: validate dmabuf size and sg_table bounds in nvme_dma_buf_io_map()

Bin Luo (1):
      nvmet-fc: put queue ref after FCP IOD cleanup

Guixin Liu (11):
      nvmet-fc: skip hostport handling when the LLDD provides no hosthandle
      nvme-fc: fix use-after-free in nvme_fc_match_disconn_ls()
      nvme-multipath: delete the ANATT timer after draining ana_work
      nvmet: zero the reservation report tail beyond NUMD
      nvmet: bound zone append to BIO_MAX_VECS segments
      nvme: guard nvme_strlen() against all-space strings
      nvme: trace the Set Features Save bit from the right position
      nvmet-fc: clear the DMA address of the fod that failed mapping
      nvme-fcloop: initialize port structures before publishing them
      nvme: mask the status before checking for Host Identifier Inconsistent
      nvmet: read CRTO from the capability register

Hou Tao (1):
      nvme-pci: handle the missed doorbell write due to passthrough req

Lin Tzu Yang (2):
      nvmet: fix one-byte overflow in configfs string show callbacks
      nvmet: use scnprintf() in the passthru device_path show

Luke Macken (1):
      nvme-pci: add NVME_QUIRK_DMAPOOL_ALIGN_512 for UMIS AM6B0

Martin George (4):
      nvme-sysfs: serialize DH-HMAC-CHAP secret updates
      nvme-fabrics: bound reconnect_delay to avoid overflow
      nvme-fabrics: bound keep_alive_tmo to avoid overflow
      nvme-fabrics: bound fast_io_fail_tmo to avoid overflow

Moritz Hiller (1):
      nvme-pci: wait for MMIO to come back after resume from suspend

Qiliang Yuan (3):
      nvme-multipath: keep a large delayed_removal_secs from wrapping around
      nvme-multipath: apply delayed_removal_secs changes to a pending removal
      nvme-multipath: don't wait for a grace period in nvme_mpath_set_live()

Seiji Nishikawa (1):
      nvme-tcp: fix use of a released socket in nvme_tcp_poll()

Shao Mingyin (4):
      nvme-fc: initialize I/O queues added during reconnect
      nvmet: fix the CSTS state iteration in debugfs
      nvmet: validate the LBA format count of a passthrough namespace
      nvme: bound the reservation report retry loop

Weiming Shi (1):
      nvmet-tcp: reserve connect header digest and align PDUs

Yehyeong Lee (1):
      nvme: reject a controller type change on reinitialization

Zhenwen Liang (1):
      nvme-tcp: avoid overflow in the R2T length check

 drivers/nvme/host/auth.c          | 13 ++++++++++
 drivers/nvme/host/core.c          | 46 +++++++++++++++++++++++++++++----
 drivers/nvme/host/fabrics.c       | 10 +++++---
 drivers/nvme/host/fc.c            | 28 ++++++++++++---------
 drivers/nvme/host/hwmon.c         |  2 ++
 drivers/nvme/host/multipath.c     | 40 ++++++++++++++++++++++++++---
 drivers/nvme/host/nvme.h          | 10 +++++++-
 drivers/nvme/host/pci-dmabuf.c    | 16 ++++++++++--
 drivers/nvme/host/pci-dmabuf.h    |  2 +-
 drivers/nvme/host/pci.c           | 53 +++++++++++++++++++++++++++++++++++----
 drivers/nvme/host/pr.c            |  6 +++--
 drivers/nvme/host/sysfs.c         | 38 +++++++++++++++++++++-------
 drivers/nvme/host/tcp.c           | 24 ++++++++++++++----
 drivers/nvme/host/trace.c         |  2 +-
 drivers/nvme/target/configfs.c    | 13 +++++-----
 drivers/nvme/target/debugfs.c     |  9 ++++---
 drivers/nvme/target/fabrics-cmd.c |  2 +-
 drivers/nvme/target/fc.c          | 23 ++++++++++-------
 drivers/nvme/target/fcloop.c      | 28 +++++++++++++--------
 drivers/nvme/target/passthru.c    |  5 ++++
 drivers/nvme/target/pr.c          |  3 +++
 drivers/nvme/target/tcp.c         | 15 +++++++----
 drivers/nvme/target/zns.c         | 13 +++++++++-
 23 files changed, 316 insertions(+), 85 deletions(-)



^ permalink raw reply	[flat|nested] 7+ messages in thread
* [GIT PULL] nvme fixes for Linux 7.4
@ 2026-11-18  1:06 Keith Busch
  2026-11-18  2:03 ` Jens Axboe
  0 siblings, 1 reply; 7+ messages in thread
From: Keith Busch @ 2026-11-18  1:06 UTC (permalink / raw)
  To: axboe; +Cc: linux-nvme, hch

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(-)



^ permalink raw reply	[flat|nested] 7+ messages in thread
* [GIT PULL] nvme fixes for Linux 7.4
@ 2026-11-05 20:44 Keith Busch
  2026-11-05 20:53 ` Jens Axboe
  0 siblings, 1 reply; 7+ messages in thread
From: Keith Busch @ 2026-11-05 20:44 UTC (permalink / raw)
  To: axboe; +Cc: hch, linux-nvme, paulmck

This pull includes a patch for the srcu subsystem. The patch adds a new
helper, list_splice_init_srcu(), needed to fix namespace removal racing
with srcu readers. Paul McKenney reviewed and acked this going through
our nvme tree:

  https://lore.kernel.org/linux-nvme/493a0897-c117-4517-a3a4-6d84da9d30ae@paulmck-laptop/

The following changes since commit c8c53d669d4e45b3a804013251a34387d7e11bfb:

  blk-crypto: fix NULL deref and UAF in __blk_crypto_evict_key() (2026-10-29 11:10:05 -0600)

are available in the Git repository at:

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

for you to fetch changes up to f33c8bc785401669b29229bcf3d0086ba9f5b87c:

  nvmet: cache passthru reference in __nvmet_req_complete() (2026-11-05 08:53:01 -0800)

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

 - Fix a passthru reference leak that hangs disabling a target passthru
   controller (7.4-rc1 regression)
 - Fix namespace removal race with SRCU readers of the namespace list
 - Fix use-after-free in nvme-tcp controller teardown after a failed
   connect
 - Fix NULL dereference in nvme-rdma when a reconnect adds queues
 - nvmet-rdma device removal and disconnect fixes
 - nvmet-tcp TLS record type handling and bounded connection accept work
 - Don't leak stale memory in the nvmet ANA log page
 - Harden nvmet against invalid input: keep-alive timeout overflow,
   incomplete DHCHAP messages, configfs address bounds, arbitration
   burst mask, and locking for traffic based keep alive updates
 - Keep the old nvmet auth keys if setting new ones fails
 - Delete nvme-loop controller on failed reset
 - Fix extra cdev reference put and unregister on a zero pr_register key
 - Fix a TLS key reference leak in the nvme keyring
 - Quirks for ADATA XPG GAMMIX S70 BLADE and KIOXIA XG10d
 - Speed up nvmet namespace disable
 - Misc cleanups

----------------------------------------------------------------
Chris Mason (4):
      nvmet-rdma: disconnect only established queues
      nvmet-rdma: take a device off the list last
      nvmet-rdma: queue the release work under the mutex
      nvmet-rdma: disconnect a queue on device removal

Christian Aurich Zanettini Martins (2):
      nvme-tcp: fix use-after-free in nvme_tcp_free_ctrl()
      nvme-rdma: fix NULL queue->ctrl dereference on reconnect

Christophe JAILLET (1):
      nvmet: pci-epf: Constify struct pci_epf_ops

Daejun Park (1):
      nvme: unregister when pr_register() is given a zero new key

Ewan D. Milne (1):
      nvmet: don't return memory contents beyond valid data when reading ANA log page

Guixin Liu (1):
      nvmet-rdma: remove dead allocated field in nvmet_rdma_rsp

Hugo Deco (1):
      nvme-pci: add NO_FUA quirk for ADATA XPG GAMMIX S70 BLADE

James Fantin-Hardesty (1):
      nvmet: fix arbitration burst field mask

Jarkko Sakkinen (1):
      nvme-keyring: Add a missing key_put() call to nvme_tls_key_lookup()

Josef Bacik (4):
      nvme-loop: delete the controller if a reset fails
      nvmet-tcp: ask for the TLS record type on every receive
      nvmet-auth: keep the old keys if the new ones fail
      nvmet-tcp: limit the connections accepted per work run

Jérémy Jean (1):
      nvmet-auth: reject incomplete DHCHAP messages

Nilay Shroff (1):
      nvmet: cache passthru reference in __nvmet_req_complete()

Qiliang Yuan (3):
      nvmet: drop the extra RCU grace period in nvmet_ns_disable()
      srcu: Add list_splice_init_srcu()
      nvme: wait for SRCU readers before splicing the namespace list

Sasha Levin (1):
      nvme-pci: add NVME_QUIRK_DMAPOOL_ALIGN_512 for KIOXIA XG10d

Shao Mingyin (3):
      nvmet: take subsys->lock when forcing reconnects for tbkas
      nvmet: bound the traddr and trsvcid configfs writes
      nvmet: drop the redundant auth check in nvmet_parse_io_cmd()

Sreeraj S Kurup (1):
      nvmet: use appropriate types for authentication payload lengths

Yingjie Wang (1):
      nvmet: reject keep-alive timeouts that would overflow

Yuqiang Sun (1):
      nvme: Do not drop the cdev reference twice when cdev_device_add() fails

 drivers/nvme/common/keyring.c          |  1 +
 drivers/nvme/host/core.c               | 23 +++++++++---
 drivers/nvme/host/multipath.c          |  2 -
 drivers/nvme/host/nvme.h               |  8 ++++
 drivers/nvme/host/pci.c                |  4 ++
 drivers/nvme/host/pr.c                 |  8 +++-
 drivers/nvme/host/rdma.c               |  7 ++--
 drivers/nvme/host/tcp.c                | 10 ++---
 drivers/nvme/target/admin-cmd.c        | 20 ++++++++--
 drivers/nvme/target/auth.c             | 69 ++++++++++++++--------------------
 drivers/nvme/target/configfs.c         |  6 ++-
 drivers/nvme/target/core.c             | 27 ++++++++-----
 drivers/nvme/target/fabrics-cmd-auth.c | 10 ++---
 drivers/nvme/target/loop.c             |  5 ++-
 drivers/nvme/target/nvmet.h            | 32 ++++++++++++----
 drivers/nvme/target/pci-epf.c          |  2 +-
 drivers/nvme/target/rdma.c             | 56 ++++++++++++++++-----------
 drivers/nvme/target/tcp.c              | 13 ++++++-
 include/linux/srcu.h                   | 36 ++++++++++++++++++
 19 files changed, 228 insertions(+), 111 deletions(-)



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

end of thread, other threads:[~2026-12-04  1:44 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-03 21:28 [GIT PULL] nvme fixes for Linux 7.4 Keith Busch
2026-12-04  0:13 ` Jens Axboe
2026-12-04  1:44   ` Keith Busch
  -- strict thread matches above, loose matches on Subject: below --
2026-11-18  1:06 Keith Busch
2026-11-18  2:03 ` Jens Axboe
2026-11-05 20:44 Keith Busch
2026-11-05 20:53 ` Jens Axboe

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