Skip to content
CORVASEC — Knowledge Defends
Vulnerability Explorer›CVE-2026-139591
VULNERABILITY

CVE-2026-139591

Common Vulnerabilities and Exposures record

Summary

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.

Risk

CVSS
Not available
Severity
Not available
Vector
Not available

Timeline

Published
Nov 30, 2026 14:19
Modified
Nov 30, 2026 14:19
Last observed
Nov 30, 2026 10:00

References