Security mailing lists by PureSourceCode

CVE-2026-139591

not scored yet

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

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.

Published
30 Nov 2026
Last modified
30 Nov 2026
Assigned by
416baaa9-dc9f-4396-8d5f-8c081fb06d67
NVD status
Received
Sources
NVDJSONCVE ListJSON

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
CVE List Linux Linux >= 2563e2f30acb4c914fc475331e476fa920eb4245, < 0fabd08ceacbc1368a1e6459a438a49884145320; >= 2563e2f30acb4c914fc475331e476fa920eb4245, < 0f2dc4ec62d86316d01bf509788463c5c35f0160; >= 2563e2f30acb4c914fc475331e476fa920eb4245, < 54f3563103e3bb988a6d57d655568ad0aed9576b; >= 2563e2f30acb4c914fc475331e476fa920eb4245, < 5130c610180ad57c7a8ce35868b5b49f24de4a84; >= 2563e2f30acb4c914fc475331e476fa920eb4245, < 76d6f0e04e567db3ebe28e695bbdb3cc4e007d82; >= 2563e2f30acb4c914fc475331e476fa920eb4245, < 91264cb942b762b6b86fc2cb10c38bfdc31c36fb; >= 2563e2f30acb4c914fc475331e476fa920eb4245, < 46f20f6e193f20892d2a5e2af7c4143d2a27562c; >= 2563e2f30acb4c914fc475331e476fa920eb4245, < 9728effe43d8fc4d58e12b697d0d6127355abdd5 0fabd08ceacbc1368a1e6459a438a49884145320, 0f2dc4ec62d86316d01bf509788463c5c35f0160, 54f3563103e3bb988a6d57d655568ad0aed9576b, 5130c610180ad57c7a8ce35868b5b49f24de4a84, 76d6f0e04e567db3ebe28e695bbdb3cc4e007d82, 91264cb942b762b6b86fc2cb10c38bfdc31c36fb, 46f20f6e193f20892d2a5e2af7c4143d2a27562c, 9728effe43d8fc4d58e12b697d0d6127355abdd5
CVE List Linux Linux = 5.3

References

History

  • 30 Nov 2026 14:45 UTC · NVD: first stored (published 30 Nov 2026)
  • 30 Nov 2026 13:58 UTC · CVE List: first stored (published 30 Nov 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.