CVE-2026-89527

svcrdma: Use svc_xprt_put to free listener on create failure

State
Published
Severity
Not scored
Published
Sep 11, 2026
Updated
Oct 30, 2026
Reserved
Sep 11, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 4fb8518bdac8e85f6580ea3f586adf396cd472bc to before 31b8293495ba94ccf494e556a318886b716884b6Affected
  • 4fb8518bdac8e85f6580ea3f586adf396cd472bc to before 2e35ec558b8cece9399a50141ecaeadbdb8768dcAffected
  • 4fb8518bdac8e85f6580ea3f586adf396cd472bc to before ee70d690b5544b736706a9a5796aafb634013f54Affected
  • 4fb8518bdac8e85f6580ea3f586adf396cd472bc to before e68380710fc970e07610b2f42594575ad35fdb1cAffected
  • 4fb8518bdac8e85f6580ea3f586adf396cd472bc to before ac1dd6002f758ab7dd3e737757e5a1bb1c0b38d6Affected
  • 4fb8518bdac8e85f6580ea3f586adf396cd472bc to before e346ef7bcb137f50c49f969330ab7dcf64ea1654Affected
LinuxLinux
  • 2.6.37Affected
  • before 2.6.37Not affected
  • 6.1.191 through 6.1.*Not affected
  • 6.6.160 through 6.6.*Not affected
  • 6.12.113 through 6.12.*Not affected
  • 6.18.56 through 6.18.*Not affected
  • 7.2.4 through 7.2.*Not affected
  • 7.3 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.