CVE-2026-46053 PUBLISHED

net: rds: fix MR cleanup on copy error

Assigner: Linux
Reserved: 13.05.2026 Published: 27.05.2026 Updated: 27.05.2026

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.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 0d4597c8c5abdeeaf50774066c16683f30184dc8 to 8fdbb6262a4a3ed44a0830a7793903b54bb27bdc (excl.)
  • affected from 0d4597c8c5abdeeaf50774066c16683f30184dc8 to d95cea9298be1ba8876e3f156be96d3a492085ca (excl.)
  • affected from 0d4597c8c5abdeeaf50774066c16683f30184dc8 to 033370ffb3c9c0264d19f8ba9ef769523266589a (excl.)
  • affected from 0d4597c8c5abdeeaf50774066c16683f30184dc8 to b3cb8cae530b2727d8245684148bb49425f6765c (excl.)
  • affected from 0d4597c8c5abdeeaf50774066c16683f30184dc8 to 8141a2dc70080eda1aedc0389ed2db2b292af5bd (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 5.6 is affected
  • unaffected from 0 to 5.6 (excl.)
  • unaffected from 6.6.140 to 6.6.* (incl.)
  • unaffected from 6.12.86 to 6.12.* (incl.)
  • unaffected from 6.18.27 to 6.18.* (incl.)
  • unaffected from 7.0.4 to 7.0.* (incl.)
  • unaffected from 7.1-rc1 to * (incl.)

References