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

net: rds: fix MR cleanup on copy error

__rds_rdma_map() hands sg/pages ownership to the transport after
get_mr() succeeds. If copying the generated cookie back to user space
fails after that point, the error path must not free those resources
again before dropping the MR reference.

Remove the duplicate unpin/free from the put_user() failure branch so
that MR teardown is handled only through the existing final cleanup
path.
Published: 2026-05-27
Score: 7.0 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The rds transport in the Linux kernel incorrectly performs a duplicate unpin and free when an MR allocation succeeds but a subsequent copy of the cookie to user space fails. This double‑free path can corrupt kernel memory or cause a crash, as the transport tries to release resources it no longer owns. The flaw falls under CWE‑763, highlighting resource mismanagement.

Affected Systems

All Linux kernel builds that include RDS support and are affected by the bug, prior to the commit that removes the duplicate unpin/free. No specific kernel version list is provided, so any kernel with RDS enabled before the patch is vulnerable.

Risk and Exploitability

The CVSS score of 7.0 signals a medium‑to‑high severity. Based on the description, the likely attack vector is causing an RDS MR allocation followed by a failure to copy the generated cookie to user space, which could be triggered by malicious RDS traffic from an attacker within network reach or by privileged kernel code. The EPSS score is not available, which indicates that the exploitation probability is not known. The vulnerability is not listed in the CISA KEV catalogue, implying a lower likelihood of widespread exploitation. Nonetheless, the risk of kernel memory corruption or denial‑of‑service warrants immediate remediation.

Generated by OpenCVE AI on May 28, 2026 at 06:06 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the kernel patch that removes the duplicate unpin/free, or upgrade to a kernel release that contains the fix.
  • If an upgrade is not possible, disable RDS support in the kernel configuration (e.g., set CONFIG_RDS=n) or unload the rds module at runtime.
  • Monitor system logs for RDS copy errors and avoid running untrusted code that may trigger the MR allocation path until a fix is applied.

Generated by OpenCVE AI on May 28, 2026 at 06:06 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 28 May 2026 03:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-415

Thu, 28 May 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-763
References
Metrics threat_severity

None

cvssV3_1

{'score': 7.0, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'}

threat_severity

Important


Wed, 27 May 2026 20:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-415

Wed, 27 May 2026 14:15:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: net: rds: fix MR cleanup on copy error __rds_rdma_map() hands sg/pages ownership to the transport after get_mr() succeeds. If copying the generated cookie back to user space fails after that point, the error path must not free those resources again before dropping the MR reference. Remove the duplicate unpin/free from the put_user() failure branch so that MR teardown is handled only through the existing final cleanup path.
Title net: rds: fix MR cleanup on copy error
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-05-27T12:57:11.870Z

Reserved: 2026-05-13T15:03:33.094Z

Link: CVE-2026-46053

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-05-27T14:17:24.937

Modified: 2026-05-27T14:48:03.013

Link: CVE-2026-46053

cve-icon Redhat

Severity : Important

Publid Date: 2026-05-27T00:00:00Z

Links: CVE-2026-46053 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-05-28T06:15:10Z

Weaknesses