{"id":"CVE-2026-68417","state":"PUBLISHED","title":"RDMA/siw: publish QP after initialization","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/siw: publish QP after initialization\n\nsiw_create_qp() currently calls siw_qp_add() before the queues, CQ\npointers, state, completion, and device list entry are ready. A QPN\nlookup can therefore reach a QP that is still being constructed.\n\nMove siw_qp_add() to the end of siw_create_qp(), after QP\ninitialization and before adding the QP to the siw device list.","publishedAt":"2026-08-10T12:04:37.936Z","updatedAt":"2026-10-19T21:09:09.356Z","severity":{"score":7.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"Linux"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"f29dd55b0236f7a26a4b9dd69186e3c04266797b","status":"affected","lessThan":"3c9d128219964dcea897bf6139b88242e987be8f","versionType":"git"},{"version":"f29dd55b0236f7a26a4b9dd69186e3c04266797b","status":"affected","lessThan":"3ff82e3841ecab1ff38d5817c969a019d266c83c","versionType":"git"},{"version":"f29dd55b0236f7a26a4b9dd69186e3c04266797b","status":"affected","lessThan":"36e91a58397ca8c978e38a0bf389f0c6113fa8ca","versionType":"git"},{"version":"f29dd55b0236f7a26a4b9dd69186e3c04266797b","status":"affected","lessThan":"74912ad168f87d6b2b670a87987bb302d6e64aa1","versionType":"git"},{"version":"f29dd55b0236f7a26a4b9dd69186e3c04266797b","status":"affected","lessThan":"fcc9d50022bcdb1f9f7ed04955c72b4a7355af3d","versionType":"git"},{"version":"f29dd55b0236f7a26a4b9dd69186e3c04266797b","status":"affected","lessThan":"52f9fcb191143448df55fd215ff09c5207fed43e","versionType":"git"},{"version":"f29dd55b0236f7a26a4b9dd69186e3c04266797b","status":"affected","lessThan":"bb27fcc67c429d97f785c92c35a6c5adebb05d7f","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/infiniband/sw/siw/siw_verbs.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.3","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.3","versionType":"semver"},{"version":"5.15.216","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.183","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.148","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.101","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.42","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.1.6","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/infiniband/sw/siw/siw_verbs.c"]}],"references":["https://git.kernel.org/stable/c/3c9d128219964dcea897bf6139b88242e987be8f","https://git.kernel.org/stable/c/3ff82e3841ecab1ff38d5817c969a019d266c83c","https://git.kernel.org/stable/c/36e91a58397ca8c978e38a0bf389f0c6113fa8ca","https://git.kernel.org/stable/c/74912ad168f87d6b2b670a87987bb302d6e64aa1","https://git.kernel.org/stable/c/fcc9d50022bcdb1f9f7ed04955c72b4a7355af3d","https://git.kernel.org/stable/c/52f9fcb191143448df55fd215ff09c5207fed43e","https://git.kernel.org/stable/c/bb27fcc67c429d97f785c92c35a6c5adebb05d7f"],"weaknesses":["CWE-362"],"ingestedAt":"2026-10-29T20:12:49.727Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/68xxx/CVE-2026-68417.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-68417","state":"PUBLISHED","datePublished":"2026-08-10T12:04:37.936Z","dateUpdated":"2026-10-19T21:09:09.356Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-07-30T09:28:09.391Z"},"containers":{"cna":{"title":"RDMA/siw: publish QP after initialization","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/siw: publish QP after initialization\n\nsiw_create_qp() currently calls siw_qp_add() before the queues, CQ\npointers, state, completion, and device list entry are ready. A QPN\nlookup can therefore reach a QP that is still being constructed.\n\nMove siw_qp_add() to the end of siw_create_qp(), after QP\ninitialization and before adding the QP to the siw device list."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"f29dd55b0236f7a26a4b9dd69186e3c04266797b","status":"affected","lessThan":"3c9d128219964dcea897bf6139b88242e987be8f","versionType":"git"},{"version":"f29dd55b0236f7a26a4b9dd69186e3c04266797b","status":"affected","lessThan":"3ff82e3841ecab1ff38d5817c969a019d266c83c","versionType":"git"},{"version":"f29dd55b0236f7a26a4b9dd69186e3c04266797b","status":"affected","lessThan":"36e91a58397ca8c978e38a0bf389f0c6113fa8ca","versionType":"git"},{"version":"f29dd55b0236f7a26a4b9dd69186e3c04266797b","status":"affected","lessThan":"74912ad168f87d6b2b670a87987bb302d6e64aa1","versionType":"git"},{"version":"f29dd55b0236f7a26a4b9dd69186e3c04266797b","status":"affected","lessThan":"fcc9d50022bcdb1f9f7ed04955c72b4a7355af3d","versionType":"git"},{"version":"f29dd55b0236f7a26a4b9dd69186e3c04266797b","status":"affected","lessThan":"52f9fcb191143448df55fd215ff09c5207fed43e","versionType":"git"},{"version":"f29dd55b0236f7a26a4b9dd69186e3c04266797b","status":"affected","lessThan":"bb27fcc67c429d97f785c92c35a6c5adebb05d7f","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/infiniband/sw/siw/siw_verbs.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.3","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.3","versionType":"semver"},{"version":"5.15.216","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.183","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.148","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.101","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.42","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.1.6","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/infiniband/sw/siw/siw_verbs.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/3c9d128219964dcea897bf6139b88242e987be8f"},{"url":"https://git.kernel.org/stable/c/3ff82e3841ecab1ff38d5817c969a019d266c83c"},{"url":"https://git.kernel.org/stable/c/36e91a58397ca8c978e38a0bf389f0c6113fa8ca"},{"url":"https://git.kernel.org/stable/c/74912ad168f87d6b2b670a87987bb302d6e64aa1"},{"url":"https://git.kernel.org/stable/c/fcc9d50022bcdb1f9f7ed04955c72b4a7355af3d"},{"url":"https://git.kernel.org/stable/c/52f9fcb191143448df55fd215ff09c5207fed43e"},{"url":"https://git.kernel.org/stable/c/bb27fcc67c429d97f785c92c35a6c5adebb05d7f"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:L - Exploitation requires local access to the RDMA character devices (/dev/infiniband/uverbsN for create_qp and /dev/infiniband/rdma_cm for the QPN lookup); no network packet reaches the racing code path without a local trigger first.\nAC:L - The attacker controls both sides of the race: one thread issues create_qp while another issues rdma_connect/rdma_accept with an attacker-supplied qp_num, and QPNs from xa_alloc(XA_FLAGS_ALLOC1) are predictable. The post-publish failure can be made deterministic by passing a short udata->outlen, so the window is wide and repeatable at will.\nPR:L - Any unprivileged local user with access to the siw uverbs and rdma_cm character devices can create QPs and issue rdma_connect/rdma_accept with an arbitrary qp_num; no capability check gates siw_create_qp, siw_connect or siw_accept.\nUI:N - The attacker drives both the QP creation and the concurrent QPN lookup from its own threads; no action by any other user or administrator is needed.\nS:U - The corruption is confined to kernel memory managed by the same kernel security authority; there is no crossing of a VM, IOMMU or sandbox boundary.\nC:H - The siw_qp object can be kfree'd by the ib core error path while the CM thread still holds a reference, giving a use-after-free on a slab object the attacker can groom and read back through QP/CM state, enabling disclosure of arbitrary kernel memory.\nI:H - After the free, siw_free_qp() performs list_del(&qp->devq), vfree() of four pointer fields and siw_put_tx_cpu(qp->tx_cpu) using values read from reallocated attacker-controlled memory, yielding arbitrary-pointer free, list-unlink writes and out-of-range per-CPU decrements suitable for control-flow hijacking.\nA:H - Even without exploitation the race reliably causes kernel crashes: NULL sendq/recvq/scq/rcq dereferences, list_del on an uninitialized devq head, waits on an uninitialized qp_free completion, and use-after-free oopses."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-19T16:35:15.087Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.3","versionEndExcluding":"5.15.216"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.3","versionEndExcluding":"6.1.183"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.3","versionEndExcluding":"6.6.148"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.3","versionEndExcluding":"6.12.101"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.3","versionEndExcluding":"6.18.42"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.3","versionEndExcluding":"7.1.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.3","versionEndExcluding":"7.2"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2026-68417","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"version":"2.0.3","timestamp":"2026-10-16T15:48:32.516478Z"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-362","lang":"en","type":"CWE","description":"CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-19T21:09:09.356Z"}}]}}}