RDMA: Stability and race condition fixes
Status from this message: Applied to for-rc
Get series with b4
b4 am [email protected] change-id 20260325-security-bug-fixes-6fdef22d9412Versions newest first
- v3 Latest5 patches 2 repliesApplied
- v211 patches 3 repliesSuperseded
- v110 patches 0 repliesSuperseded
Changes in v3 from the cover letter
- Dropped restrack destroy-ordering fixes (patches 1-6 in v2) to
rework them in a dedicated series based on code-review feedback
- Rebased onto latest for-next
- Link to v2: https://lore.kernel.org/r/[email protected]
Patches in v3 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | RDMA/mlx5: Fix UAF in SRQ destroy due to race with createdrivers/ | +8 | 0 replies | |
| 2/5 | RDMA/mlx5: Fix UAF in DCT destroy due to race with createdrivers/ | +8 | 1 reply | |
| 3/5 | IB/core: Fix IPv6 netlink message size in ib_nl_ip_send_msg()drivers/ | +1 | 0 replies | |
| 4/5 | RDMA/core: Fix rereg_mr use-after-free racedrivers/ | +7 | 0 replies | |
| 5/5 | RDMA/mlx5: Fix null-ptr-deref in Raw Packet QP creationdrivers/ | +5 | 0 replies |
Reviews trailers per patch
All 5 patches have a Reviewed-by or Acked-by.
| Patch | Michael Guralnik | Patrisious Haddad | Maher Sanalla |
|---|---|---|---|
| 1/5 | R-b | ||
| 2/5 | R-b | ||
| 3/5 | R-b | ||
| 4/5 | R-b | ||
| 5/5 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH rdma-next v3 0/5] RDMA: Stability and race condition fixes
This series addresses several stability issues in RDMA core and the mlx5 driver.
Patches 1-2 fix xarray race conditions in the mlx5 SRQ and DCT destroy paths where a concurrent create can reuse the same firmware object number right after firmware releases it, causing the destroy path to incorrectly erase the newly created entry.
The remaining patches are independent fixes.
---
Changes in v3:
- Dropped restrack destroy-ordering fixes (patches 1-6 in v2) to
rework them in a dedicated series based on code-review feedback
- Rebased onto latest for-next
- Link to v2: https://lore.kernel.org/r/[email protected]
Changes in v2:
- Added patch "RDMA/mlx5: Remove raw RSS QP restrack tracking" to
also suppress broken tracking for raw RSS QPs, which suffer from
the same silent failures as DCTs
- Link to v1: https://lore.kernel.org/r/[email protected]
---
Edward Srouji (2):
RDMA/mlx5: Fix UAF in SRQ destroy due to race with create RDMA/mlx5: Fix UAF in DCT destroy due to race with create
Maher Sanalla (1):
IB/core: Fix IPv6 netlink message size in ib_nl_ip_send_msg()
Michael Guralnik (2):
RDMA/core: Fix rereg_mr use-after-free race RDMA/mlx5: Fix null-ptr-deref in Raw Packet QP creation
drivers/infiniband/core/addr.c | 2 +- drivers/infiniband/core/uverbs_cmd.c | 9 +++++++-- drivers/infiniband/hw/mlx5/qp.c | 5 +++++ drivers/infiniband/hw/mlx5/qpc.c | 9 ++++++++- drivers/infiniband/hw/mlx5/srq_cmd.c | 9 ++++++++- 5 files changed, 29 insertions(+), 5 deletions(-)
---
base-commit: 9091e3b59f2bef11c0a841096327565ae0ca220b
change-id: 20260325-security-bug-fixes-6fdef22d9412
Best regards,
Signature · 1 line
Edward Srouji <[email protected]>