svcrdma: Use svc_xprt_put to free listener on create failure
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.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.1.191, 6.12.113, 6.18.56, 6.6.160, 7.2.4
- CVEs
- CVE-2026-89527
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 7 Nov 2026, 17:05 UTC · Revision 1
Source evidence
svcrdma: Use svc_xprt_put to free listener on create failure
core-osv · Original sourcePublished 11 Sept 2026, 19:44 UTC
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.
osv:CVE-2026-89527
Kernel
Fixed versions: 6.1.191, 6.6.160, 6.12.113, 6.18.56, 7.2.4
Complete source record
{
"id": "2ea16b3a7888d25373d5014516a32bafc489cfb5c7b077f3954d9d7060331b04",
"url": "https://osv.dev/vulnerability/CVE-2026-89527",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "svcrdma: Use svc_xprt_put to free listener on create failure",
"summary": "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.",
"evidence": "osv:CVE-2026-89527",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.1.191",
"evidence": "/affected/1/ranges"
},
{
"value": "6.6.160",
"evidence": "/affected/1/ranges"
},
{
"value": "6.12.113",
"evidence": "/affected/1/ranges"
},
{
"value": "6.18.56",
"evidence": "/affected/1/ranges"
},
{
"value": "7.2.4",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2026-89527",
"aliases": [
"CVE-2026-89527"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "4fb8518bdac8e85f6580ea3f586adf396cd472bc"
},
{
"fixed": "31b8293495ba94ccf494e556a318886b716884b6"
},
{
"fixed": "2e35ec558b8cece9399a50141ecaeadbdb8768dc"
},
{
"fixed": "ee70d690b5544b736706a9a5796aafb634013f54"
},
{
"fixed": "e68380710fc970e07610b2f42594575ad35fdb1c"
},
{
"fixed": "ac1dd6002f758ab7dd3e737757e5a1bb1c0b38d6"
},
{
"fixed": "e346ef7bcb137f50c49f969330ab7dcf64ea1654"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-89527.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "2.6.37"
},
{
"fixed": "6.1.191"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.2.0"
},
{
"fixed": "6.6.160"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.7.0"
},
{
"fixed": "6.12.113"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.13.0"
},
{
"fixed": "6.18.56"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.19.0"
},
{
"fixed": "7.2.4"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-89527.json"
}
}
],
"modified": "2026-11-01T02:30:49.952537679Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/2e35ec558b8cece9399a50141ecaeadbdb8768dc",
"https://git.kernel.org/stable/c/31b8293495ba94ccf494e556a318886b716884b6",
"https://git.kernel.org/stable/c/ac1dd6002f758ab7dd3e737757e5a1bb1c0b38d6",
"https://git.kernel.org/stable/c/e346ef7bcb137f50c49f969330ab7dcf64ea1654",
"https://git.kernel.org/stable/c/e68380710fc970e07610b2f42594575ad35fdb1c",
"https://git.kernel.org/stable/c/ee70d690b5544b736706a9a5796aafb634013f54",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89527.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-89527",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89527.json"
}
},
"related_cves": [
{
"value": "CVE-2026-89527",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 519942,
"published_at": "2026-09-11T19:44:07.785+00:00"
}