# CVE-2026-139591

- Bağlantı: https://www.allsafe.com.tr/cve-2026-139591/
- Yayımlanma: 2026-11-30T17:19:40+03:00
- Yazar: Postmaster

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.

Bu kayıt NIST NVD kaynağından aktarılmıştır. Etkilenen sürümler, güncel değerlendirme
ve üretici referansları için kaynak kaydı inceleyin.

Kaynak: [NIST NVD — özgün kaydı inceleyin ↗](https://nvd.nist.gov/vuln/detail/CVE-2026-139591)
