CVE-2026-139591

Not scored yetLast modified Nov 30, 2026

Description

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

RDMA/mlx5: Restore mr->pi_mr after temporary stack-local assignment

In handle_reg_mr_integrity, when mr->pi_mr is NULL (physical-address optimization path), the code points mr->pi_mr at a stack-local pa_pi_mr so set_pi_umr_wr can read it during this call. The pointer is never restored, so after the function returns mr->pi_mr dangles at a freed stack frame. A second IB_WR_REG_MR_INTEGRITY posted on the same MR without remapping reads the stale pointer and dereferences it.

Save the original pi_mr (captured at function entry) and restore it on the out path.

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

VendorProductVersions
LinuxLinux>= 2563e2f30acb4c914fc475331e476fa920eb4245, < 0fabd08ceacbc1368a1e6459a438a49884145320; >= 2563e2f30acb4c914fc475331e476fa920eb4245, < 0f2dc4ec62d86316d01bf509788463c5c35f0160; >= 2563e2f30acb4c914fc475331e476fa920eb4245, < 54f3563103e3bb988a6d57d655568ad0aed9576b; >= 2563e2f30acb4c914fc475331e476fa920eb4245, < 5130c610180ad57c7a8ce35868b5b49f24de4a84; >= 2563e2f30acb4c914fc475331e476fa920eb4245, < 76d6f0e04e567db3ebe28e695bbdb3cc4e007d82; >= 2563e2f30acb4c914fc475331e476fa920eb4245, < 91264cb942b762b6b86fc2cb10c38bfdc31c36fb; >= 2563e2f30acb4c914fc475331e476fa920eb4245, < 46f20f6e193f20892d2a5e2af7c4143d2a27562c; >= 2563e2f30acb4c914fc475331e476fa920eb4245, < 9728effe43d8fc4d58e12b697d0d6127355abdd5
LinuxLinux5.3

References

Timeline

Published
Nov 30, 2026
Last modified
Nov 30, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-139592In the Linux kernel, the following vulnerability has been resolved: RDMA/mlx5: Initialize QP/RQ/SQ resource refcount before publishing it CVE-2026-139593In the Linux kernel, the following vulnerability has been resolved: RDMA/mlx5: Set QP event handler before firmware QPC insertion Four QP CVE-2026-139594In the Linux kernel, the following vulnerability has been resolved: RDMA/mlx5: Set RQ event handler for raw-packet QP create_raw_packet_qpCVE-2026-139595In the Linux kernel, the following vulnerability has been resolved: RDMA/mlx5: Set SRQ event handler before xarray insertion mlx5_cmd_creaCVE-2026-139596In the Linux kernel, the following vulnerability has been resolved: RDMA/mlx5: Set WQ event handler before firmware RQ insertion create_rqCVE-2026-139597In the Linux kernel, the following vulnerability has been resolved: RDMA/vmw_pvrdma: Pin QP and SRQ rings writable to match device DMA writCVE-2026-1395987.8In the Linux kernel, the following vulnerability has been resolved: RDMA/hns: Pin CQ buffer writable to match device DMA write access alloCVE-2026-139599In the Linux kernel, the following vulnerability has been resolved: RDMA/irdma: Free IRQ when CEQ vector mapping fails irdma_cfg_ceq_vectoCVE-2026-13966.4The Magic Conversation For Gravity Forms plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'magic-conversation' shorCVE-2026-139604.3Inappropriate implementation in Passwords in Google Chrome prior to 150.0.7871.47 allowed a remote attacker to perform UI spoofing via a craCVE-2026-139600In the Linux kernel, the following vulnerability has been resolved: wifi: mac80211: Fix a race when expiring a mesh path My static analyzeCVE-2026-139601In the Linux kernel, the following vulnerability has been resolved: iommu/vt-d: Fix iopf refcount leak in nested attach intel_nested_attac
CVE-2026-139591: Unscored | Vulnix