← CVE Intelligence

CVE-2026-46053

net: rds: fix MR cleanup on copy error PUBLISHED

Description (CNA)

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.

Affected (CNA)

Vendor / productVersions
Linux / Linuxaffected 0d4597c8c5abdeeaf50774066c16683f30184dc8 before 91a44b406bc1f9e1c5da0cb7d0d5991b43b79147; affected 0d4597c8c5abdeeaf50774066c16683f30184dc8 before 106dc689206610cfa2098f593fdd1e020c997835; affected 0d4597c8c5abdeeaf50774066c16683f30184dc8 before ec55a86f7fba7d9111df94b9c11a4755ed492995; affected 0d4597c8c5abdeeaf50774066c16683f30184dc8 before 8fdbb6262a4a3ed44a0830a7793903b54bb27bdc; affected 0d4597c8c5abdeeaf50774066c16683f30184dc8 before d95cea9298be1ba8876e3f156be96d3a492085ca; affected 0d4597c8c5abdeeaf50774066c16683f30184dc8 before 033370ffb3c9c0264d19f8ba9ef769523266589a; affected 0d4597c8c5abdeeaf50774066c16683f30184dc8 before b3cb8cae530b2727d8245684148bb49425f6765c; affected 0d4597c8c5abdeeaf50774066c16683f30184dc8 before 8141a2dc70080eda1aedc0389ed2db2b292af5bd
Linux / Linuxaffected 5.6; unaffected 0 before 5.6; unaffected 5.10.258 through 5.10.*; unaffected 5.15.209 through 5.15.*; unaffected 6.1.175 through 6.1.*; unaffected 6.6.140 through 6.6.*; unaffected 6.12.86 through 6.12.*; unaffected 6.18.27 through 6.18.*; unaffected 7.0.4 through 7.0.*; unaffected 7.1 through *

CWE

No CWE identifiers supplied.

References