Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-139591

published

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

Published
30 Nov 2026, 13:36:10 UTC
Updated
30 Nov 2026, 13:36:10 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux2563e2f30acb4c914fc475331e476fa920eb4245 to < 0fabd08ceacbc1368a1e6459a438a49884145320 · 2563e2f30acb4c914fc475331e476fa920eb4245 to < 0f2dc4ec62d86316d01bf509788463c5c35f0160 · 2563e2f30acb4c914fc475331e476fa920eb4245 to < 54f3563103e3bb988a6d57d655568ad0aed9576b · 2563e2f30acb4c914fc475331e476fa920eb4245 to < 5130c610180ad57c7a8ce35868b5b49f24de4a84 · 2563e2f30acb4c914fc475331e476fa920eb4245 to < 76d6f0e04e567db3ebe28e695bbdb3cc4e007d82 · 2563e2f30acb4c914fc475331e476fa920eb4245 to < 91264cb942b762b6b86fc2cb10c38bfdc31c36fb · 2563e2f30acb4c914fc475331e476fa920eb4245 to < 46f20f6e193f20892d2a5e2af7c4143d2a27562c · 2563e2f30acb4c914fc475331e476fa920eb4245 to < 9728effe43d8fc4d58e12b697d0d6127355abdd5 · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.3 (affected) · 0 to < 5.3 (unaffected · semver) · 5.10.275 through 5.10.* (unaffected · semver) · 5.15.226 through 5.15.* (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.119 through 6.12.* (unaffected · semver) · 6.18.65 through 6.18.* (unaffected · semver) · 7.3.6 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Pending Fix; Not Affected Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Pending Fix Not stated Amazon Linux assessment

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.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 2563e2f30acb4c914fc475331e476fa920eb4245 to < 0fabd08ceacbc1368a1e6459a438a49884145320 (affected · git)2563e2f30acb4c914fc475331e476fa920eb4245 to < 0f2dc4ec62d86316d01bf509788463c5c35f0160 (affected · git)2563e2f30acb4c914fc475331e476fa920eb4245 to < 54f3563103e3bb988a6d57d655568ad0aed9576b (affected · git)2563e2f30acb4c914fc475331e476fa920eb4245 to < 5130c610180ad57c7a8ce35868b5b49f24de4a84 (affected · git)2563e2f30acb4c914fc475331e476fa920eb4245 to < 76d6f0e04e567db3ebe28e695bbdb3cc4e007d82 (affected · git)2563e2f30acb4c914fc475331e476fa920eb4245 to < 91264cb942b762b6b86fc2cb10c38bfdc31c36fb (affected · git)2563e2f30acb4c914fc475331e476fa920eb4245 to < 46f20f6e193f20892d2a5e2af7c4143d2a27562c (affected · git)2563e2f30acb4c914fc475331e476fa920eb4245 to < 9728effe43d8fc4d58e12b697d0d6127355abdd5 (affected · git)Default: unaffected Linux · cna
Linux Linux 5.3 (affected)0 to < 5.3 (unaffected · semver)5.10.275 through 5.10.* (unaffected · semver)5.15.226 through 5.15.* (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.119 through 6.12.* (unaffected · semver)6.18.65 through 6.18.* (unaffected · semver)7.3.6 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

8

Provider assertions

1

Linux · cna

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

Provenance

Schema
5.2
Searchable
yes
Content hash
258986e1d7705fe48269d3e51701d91ee3a751a91f9306338bd7acb30e256b99
Ingested
30 Nov 2026, 13:42:24 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected