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.
Affected products
linux: linux kernel
References8
- git.kernel.org/stable/c/033370ffb3c9c0264d19f8ba9ef769523266589a Patch
- git.kernel.org/stable/c/106dc689206610cfa2098f593fdd1e020c997835 Patch
- git.kernel.org/stable/c/8141a2dc70080eda1aedc0389ed2db2b292af5bd Patch
- git.kernel.org/stable/c/8fdbb6262a4a3ed44a0830a7793903b54bb27bdc Patch
- git.kernel.org/stable/c/91a44b406bc1f9e1c5da0cb7d0d5991b43b79147 Patch
- git.kernel.org/stable/c/b3cb8cae530b2727d8245684148bb49425f6765c Patch
- git.kernel.org/stable/c/d95cea9298be1ba8876e3f156be96d3a492085ca Patch
- git.kernel.org/stable/c/ec55a86f7fba7d9111df94b9c11a4755ed492995 Patch
Metrics
- CVSS 3.1
-
7.8
HIGH
Score source: CNA
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - EPSS — exploit probability
- 0% percentile: 3 · as of 14 November 2026
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.