# CVE-2026-89527: svcrdma: Use svc_xprt_put to free listener on create failure

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 15% of CVEs (2026-12-01)
- Published: 2026-09-11T19:44:07.785Z
- Modified: 2026-10-30T13:20:18.543Z
- Assigned by: Linux

## Description

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

svcrdma: Use svc_xprt_put to free listener on create failure

svc_rdma_create() calls kfree(cma_xprt) when
svc_rdma_create_listen_id() fails. svc_xprt_init() has already
acquired a net namespace reference via get_net_track(); kfree
bypasses svc_xprt_free() which releases it.

Replace the kfree() with svc_xprt_put() so the kref_init birth
reference drops to zero and svc_xprt_free() dispatches
svc_rdma_free() to clean up properly. sc_cm_id is still NULL
at that point; the preceding patch added the necessary NULL
guard in svc_rdma_free().

svc_xprt_free() also drops the module reference via
module_put(), but the caller _svc_xprt_create() does the same
on xpo_create failure, double-putting the single
try_module_get() it acquired. Take a compensating
__module_get() before the svc_xprt_put() to keep the count
balanced, matching the convention in svc_rdma_accept()'s error
path.

(As written by CVE List.)

## Affected

- Linux Linux: from 4fb8518bdac8e85f6580ea3f586adf396cd472bc before 31b8293495ba94ccf494e556a318886b716884b6; from 4fb8518bdac8e85f6580ea3f586adf396cd472bc before 2e35ec558b8cece9399a50141ecaeadbdb8768dc; from 4fb8518bdac8e85f6580ea3f586adf396cd472bc before ee70d690b5544b736706a9a5796aafb634013f54; from 4fb8518bdac8e85f6580ea3f586adf396cd472bc before e68380710fc970e07610b2f42594575ad35fdb1c; from 4fb8518bdac8e85f6580ea3f586adf396cd472bc before ac1dd6002f758ab7dd3e737757e5a1bb1c0b38d6; from 4fb8518bdac8e85f6580ea3f586adf396cd472bc before e346ef7bcb137f50c49f969330ab7dcf64ea1654; 2.6.37 (not affected: before 2.6.37; from 6.1.191 up to 6.1.*; from 6.6.160 up to 6.6.*; from 6.12.113 up to 6.12.*; from 6.18.56 up to 6.18.*; from 7.2.4 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/31b8293495ba94ccf494e556a318886b716884b6>
- <https://git.kernel.org/stable/c/2e35ec558b8cece9399a50141ecaeadbdb8768dc>
- <https://git.kernel.org/stable/c/ee70d690b5544b736706a9a5796aafb634013f54>
- <https://git.kernel.org/stable/c/e68380710fc970e07610b2f42594575ad35fdb1c>
- <https://git.kernel.org/stable/c/ac1dd6002f758ab7dd3e737757e5a1bb1c0b38d6>
- <https://git.kernel.org/stable/c/e346ef7bcb137f50c49f969330ab7dcf64ea1654>

## Sources

- CVE List: [CVE-2026-89527](https://www.cve.org/CVERecord?id=CVE-2026-89527), CVE Terms of Use, modified 2026-10-30
- NVD: [CVE-2026-89527](https://nvd.nist.gov/vuln/detail/CVE-2026-89527), Public domain, modified 2026-10-30

---

Page: https://cve.day/CVE-2026-89527 · Whole record: https://cve.day/CVE-2026-89527.json · Rebuilt by cve.day 2026-11-25T22:59:38.053Z
