{"id":"CVE-2026-92513","state":"PUBLISHED","title":"RDMA/mana_ib: drain QP references after partial table insertion","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/mana_ib: drain QP references after partial table insertion\n\nmana_table_store_ud_qp() publishes a QP at its send-queue id before\ninserting the receive-queue id, dropping the XArray lock between the two\nxa_insert_irq() calls. A concurrent completion handler can look up the QP\nand take a transient reference. When the second insertion fails, the\nrollback erased only the send-queue entry and returned, leaving both the\ninitial table reference and the transient reference outstanding while RDMA\ncore frees the QP, causing a use-after-free.\n\nDrain the reference as normal destruction does: drop the initial reference\nand wait for qp->free, releasing the QP only after every concurrent lookup\nreturns its reference.","publishedAt":"2026-09-17T16:10:22.793Z","updatedAt":"2026-10-19T09:04:19.875Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"8001e9257eca23264550ff9e34598ee43a80f0f9","status":"affected","lessThan":"4aaa2ab816c710be7385b31d08373edcdcd71656","versionType":"git"},{"version":"8001e9257eca23264550ff9e34598ee43a80f0f9","status":"affected","lessThan":"638b9a5364c1482e5d104823c1a3884b3d249484","versionType":"git"},{"version":"8001e9257eca23264550ff9e34598ee43a80f0f9","status":"affected","lessThan":"97f7c2262c28ebcae64fc957ee978646684a5ed9","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/infiniband/hw/mana/qp.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.15","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.15","versionType":"semver"},{"version":"6.18.52","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.6","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/infiniband/hw/mana/qp.c"]}],"references":["https://git.kernel.org/stable/c/4aaa2ab816c710be7385b31d08373edcdcd71656","https://git.kernel.org/stable/c/638b9a5364c1482e5d104823c1a3884b3d249484","https://git.kernel.org/stable/c/97f7c2262c28ebcae64fc957ee978646684a5ed9"],"weaknesses":[],"ingestedAt":"2026-10-29T20:13:34.582Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/92xxx/CVE-2026-92513.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-92513","state":"PUBLISHED","datePublished":"2026-09-17T16:10:22.793Z","dateUpdated":"2026-10-19T09:04:19.875Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-09-16T12:21:13.873Z"},"containers":{"cna":{"title":"RDMA/mana_ib: drain QP references after partial table insertion","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/mana_ib: drain QP references after partial table insertion\n\nmana_table_store_ud_qp() publishes a QP at its send-queue id before\ninserting the receive-queue id, dropping the XArray lock between the two\nxa_insert_irq() calls. A concurrent completion handler can look up the QP\nand take a transient reference. When the second insertion fails, the\nrollback erased only the send-queue entry and returned, leaving both the\ninitial table reference and the transient reference outstanding while RDMA\ncore frees the QP, causing a use-after-free.\n\nDrain the reference as normal destruction does: drop the initial reference\nand wait for qp->free, releasing the QP only after every concurrent lookup\nreturns its reference."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"8001e9257eca23264550ff9e34598ee43a80f0f9","status":"affected","lessThan":"4aaa2ab816c710be7385b31d08373edcdcd71656","versionType":"git"},{"version":"8001e9257eca23264550ff9e34598ee43a80f0f9","status":"affected","lessThan":"638b9a5364c1482e5d104823c1a3884b3d249484","versionType":"git"},{"version":"8001e9257eca23264550ff9e34598ee43a80f0f9","status":"affected","lessThan":"97f7c2262c28ebcae64fc957ee978646684a5ed9","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/infiniband/hw/mana/qp.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.15","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.15","versionType":"semver"},{"version":"6.18.52","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.6","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/infiniband/hw/mana/qp.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/4aaa2ab816c710be7385b31d08373edcdcd71656"},{"url":"https://git.kernel.org/stable/c/638b9a5364c1482e5d104823c1a3884b3d249484"},{"url":"https://git.kernel.org/stable/c/97f7c2262c28ebcae64fc957ee978646684a5ed9"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-19T09:04:19.875Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.15","versionEndExcluding":"6.18.52"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.15","versionEndExcluding":"7.2.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.15","versionEndExcluding":"7.3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}