linux/drivers/infiniband/core
Linus Torvalds 21bd0802cd RDMA v7.3 merge window pull
Quite alot of buf fixes again:
 
 - Assorted locking, bounds-checking, cleanup, and error-path fixes across
   UCMA/CMA, bng_re, bnxt_re, cxgb4, EFA, ERDMA, HFI1, HNS, ionic, iRDMA,
   mlx4/mlx5, RXE, SIW, SRP/SRPT, and iSER target.
 
 - netlink report for max # of supported resources
 
 - get_zeroed_page()/etc removal
 
 - Robust udata for ionic
 
 - Allow unique RDMA device names per network namespace
 
 - Completion counters and v2 admit queue support for EFA
 
 - UC QP support for MANA
 
 - Completion timestamps for ionic
 
 - Harden uverbs data validation and resource lifetime handling, fixing several core use-after-free conditions.
 
 - bnxt_re toggle-page ownership and lifetime bug fixes
 
 - dmabuf SRQ support for mlx5
 -----BEGIN PGP SIGNATURE-----
 
 iHUEABYKAB0WIQRRRCHOFoQz/8F5bUaFwuHvBreFYQUCaoeO2wAKCRCFwuHvBreF
 YcyJAQCn8JeqTuayLchCARJX+9fazTaJES9zj41i3M8a7BfxCAEA2b266g0S660m
 7eQ761NiIb1iklSl9rmt8vM22EMcngM=
 =qcwp
 -----END PGP SIGNATURE-----

Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma

Pull RDMA updates from Jason Gunthorpe:
 "About the normal size, still a lot of AI bug fixes and so on, but some
  interesting new functionality too:

   - Assorted locking, bounds-checking, cleanup, and error-path fixes
     across UCMA/CMA, bng_re, bnxt_re, cxgb4, EFA, ERDMA, HFI1, HNS,
     ionic, iRDMA, mlx4/mlx5, RXE, SIW, SRP/SRPT, and iSER target.

   - netlink report for max # of supported resources

   - get_zeroed_page()/etc removal

   - Robust udata for ionic

   - Allow unique RDMA device names per network namespace

   - Completion counters and v2 admit queue support for EFA

   - UC QP support for MANA

   - Completion timestamps for ionic

   - Harden uverbs data validation and resource lifetime handling,
     fixing several core use-after-free conditions.

   - bnxt_re toggle-page ownership and lifetime bug fixes

   - dmabuf SRQ support for mlx5"

* tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma: (160 commits)
  RDMA/ucma: Allow path records to exactly fit the output buffer
  RDMA/uverbs: Guard legacy bundles without method_elm
  RDMA/efa: Add support for 128B admin v2 SQ entry
  RDMA/efa: Generalize the admin SQ
  RDMA/efa: Decouple admin command payload from admin header
  RDMA/rxe: Fix OOB in free_rd_atomic_resources()
  RDMA/cma: Fix WARNING in res_to_rt
  RDMA/cxgb4: Free debugfs on registration failure
  RDMA/cxgb4: Cancel reg_work before freeing device on remove
  RDMA/ucma: Lock the handler in ucma_set_ib_path()
  RDMA/ucma: Lock the handler in ucma_write_cm_event()
  RDMA/erdma: restrict the driver to little-endian systems
  RDMA/ionic: Embed counter driver data in rdma_counter allocation
  RDMA/ionic: Cap eq_count to the eth driver's interrupt vector budget
  RDMA/siw: Fix use-after-free in siw_accept()
  IB/isert: post the full-feature receive buffers after session registration
  IB/isert: delay the final Login Response until the session is registered
  RDMA/srp: fix heap information leak on a truncated SRP_CRED_REQ
  RDMA/erdma: Hold QP references for AE and CM processing
  RDMA/erdma: Hold CQ references when processing EQ events
  ...
2026-08-21 11:48:54 -07:00
..
addr.c RDMA/addr: fix spelling of guarantees in comment 2026-07-15 04:35:32 -04:00
agent.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
agent.h
cache.c RDMA/core: Fix memory free for GID table 2026-04-07 11:42:34 -03:00
cgroup.c RDMA/cgroup: Disambiguate devices across net namespaces 2026-07-26 03:11:00 -04:00
cm_msgs.h
cm_trace.c
cm_trace.h
cm.c IB/cm: Fix av cm device leak on an error path in cm_init_av_by_path() 2026-06-05 13:07:45 -03:00
cma_configfs.c RDMA/cma: Document that CM configfs cannot be net namespace scoped 2026-07-26 03:11:00 -04:00
cma_priv.h
cma_trace.c
cma_trace.h
cma.c Merge rdma branch 'for-rc' into 'for-next' 2026-08-18 11:05:13 -03:00
core_priv.h RDMA/nldev: Report net namespace move errors through extack 2026-07-26 03:11:00 -04:00
counters.c RDMA/core: Fix potential use after free in counter_release() 2026-07-22 05:45:47 -04:00
cq.c RDMA/core: Fix potential use after free in ib_free_cq() 2026-07-22 05:45:47 -04:00
device.c Merge rdma branch 'for-rc' into 'for-next' 2026-08-18 11:05:13 -03:00
frmr_pools.c RDMA/core: Add ib_frmr_pool_drop for unrecoverable handles 2026-06-11 15:36:09 -03:00
frmr_pools.h RDMA/core: Add netlink command to modify FRMR aging 2026-03-02 13:45:37 -05:00
ib_core_uverbs.c RDMA/uverbs: Guard legacy bundles without method_elm 2026-08-18 11:06:40 -03:00
iter.c RDMA/umem: Fix truncation for block sizes >= 4G 2026-06-03 09:37:34 -03:00
iwcm.c RDMA/iwcm: User strscpy() to copy device name 2026-06-09 14:57:37 -03:00
iwcm.h
iwpm_msg.c IB/iwpm: Fix spelling errors in comments 2026-07-02 14:35:24 -03:00
iwpm_util.c Convert remaining multi-line kmalloc_obj/flex GFP_KERNEL uses 2026-02-22 08:26:33 -08:00
iwpm_util.h
lag.c net: Use helpers to get/set UDP len tree-wide 2026-07-22 13:47:02 +02:00
mad_priv.h
mad_rmpp.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
mad_rmpp.h
mad.c IB/mad: Drop unmatched RMPP responses before reassembly 2026-06-29 08:08:59 -04:00
Makefile RDMA/core: Add Completion Counters support 2026-07-22 05:45:47 -04:00
mr_pool.c
multicast.c Convert 'alloc_flex' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
netlink.c
nldev.c RDMA/nldev: Allow setting the device name while changing net namespace 2026-07-26 03:11:00 -04:00
opa_smi.h
packer.c
rdma_core.c RDMA/core: Make a new module for the uverbs components needed by drivers 2026-05-26 10:09:37 -03:00
rdma_core.h RDMA/core: Add Completion Counters support 2026-07-22 05:45:47 -04:00
restrack.c RDMA/core: Add Completion Counters to resource tracking 2026-07-22 05:45:47 -04:00
restrack.h RDMA/core: Add rdma_restrack_begin/abort/commit_del() operations 2026-07-22 05:45:46 -04:00
roce_gid_mgmt.c Convert more 'alloc_obj' cases to default GFP_KERNEL arguments 2026-02-21 20:03:00 -08:00
rw.c RDMA/rw: Fix MR pool exhaustion in bvec RDMA READ path 2026-03-17 15:00:56 -04:00
sa_query.c Convert more 'alloc_obj' cases to default GFP_KERNEL arguments 2026-02-21 20:03:00 -08:00
sa.h
security.c RDMA/core: Document the SELinux ibendport net namespace limitation 2026-07-26 03:11:00 -04:00
smi.c
smi.h
sysfs.c Convert remaining multi-line kmalloc_obj/flex GFP_KERNEL uses 2026-02-22 08:26:33 -08:00
trace.c
ucaps.c RDMA v7.2 merge window 2026-06-18 08:16:21 -07:00
ucma.c RDMA/ucma: Allow path records to exactly fit the output buffer 2026-08-20 08:46:15 -03:00
ud_header.c
umem_dmabuf.c RDMA/umem: Constify struct dma_buf_attach_ops 2026-07-20 09:00:39 -04:00
umem_odp.c RDMA/umem: use hmm_range_fault_unlocked_timeout() for ODP faults 2026-08-04 19:18:55 -07:00
umem.c RDMA/core: Prevent rereg_mr for dmabuf umems 2026-08-05 10:35:36 -04:00
user_mad.c Convert more 'alloc_obj' cases to default GFP_KERNEL arguments 2026-02-21 20:03:00 -08:00
uverbs_cmd.c RDMA/nldev: Fix locking when accessing mr->pd 2026-06-08 14:32:43 -03:00
uverbs_flow.c RDMA/core: Move flow related functions to ib_uverbs_support.ko 2026-05-26 10:11:43 -03:00
uverbs_ioctl.c RDMA/core: Move many of the little EXPORTs from uverbs_ioctl into ib_core_uverbs 2026-05-26 10:07:26 -03:00
uverbs_main.c RDMA/uverbs: Guard legacy bundles without method_elm 2026-08-18 11:06:40 -03:00
uverbs_marshall.c
uverbs_std_types_async_fd.c RDMA/core: Remove uverbs_async_event_release() 2026-05-26 10:09:37 -03:00
uverbs_std_types_comp_cntr.c RDMA/core: Add Completion Counters to resource tracking 2026-07-22 05:45:47 -04:00
uverbs_std_types_counters.c
uverbs_std_types_cq.c RDMA/uverbs: Remove legacy umem field from struct ib_cq 2026-05-29 20:19:59 -03:00
uverbs_std_types_device.c RDMA/core: Expose Completion Counter capabilities to userspace 2026-07-22 05:45:47 -04:00
uverbs_std_types_dm.c
uverbs_std_types_dmabuf.c drm-misc-next for v7.1: 2026-03-02 16:58:07 +10:00
uverbs_std_types_dmah.c RDMA/core: Fix potential use after free in uverbs_free_dmah() 2026-07-22 05:45:47 -04:00
uverbs_std_types_flow_action.c
uverbs_std_types_mr.c RDMA/uverbs: Add UVERBS_ATTR_UHW to UVERBS_METHOD_REG_MR 2026-07-02 13:47:10 -03:00
uverbs_std_types_qp.c RDMA/core: Prevent destroying in-use completion counters 2026-07-22 05:45:47 -04:00
uverbs_std_types_srq.c RDMA/uverbs: Add SRQ buffer UMEM attribute 2026-07-23 08:33:32 -04:00
uverbs_std_types_wq.c
uverbs_std_types.c RDMA/core: Move many of the little EXPORTs from uverbs_ioctl into ib_core_uverbs 2026-05-26 10:07:26 -03:00
uverbs_uapi.c RDMA/core: Add Completion Counters support 2026-07-22 05:45:47 -04:00
uverbs.h RDMA/core: Make a new module for the uverbs components needed by drivers 2026-05-26 10:09:37 -03:00
verbs.c Merge rdma branch 'for-rc' into 'for-next' 2026-08-18 11:05:13 -03:00