CVE-2026-68417: RDMA/siw: publish QP after initialization

Greg Kroah-Hartman <[email protected]>
Newsgroups org.kernel.vger.linux-cve-announce
Message-ID <2026081051-CVE-2026-68417-e0d6@gregkh>
From: Greg Kroah-Hartman <[email protected]>

Description
===========

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

RDMA/siw: publish QP after initialization

siw_create_qp() currently calls siw_qp_add() before the queues, CQ
pointers, state, completion, and device list entry are ready. A QPN
lookup can therefore reach a QP that is still being constructed.

Move siw_qp_add() to the end of siw_create_qp(), after QP
initialization and before adding the QP to the siw device list.

The Linux kernel CVE team has assigned CVE-2026-68417 to this issue.


Affected and fixed versions
===========================

	Issue introduced in 5.3 with commit f29dd55b0236f7a26a4b9dd69186e3c04266797b and fixed in 6.6.148 with commit 36e91a58397ca8c978e38a0bf389f0c6113fa8ca
	Issue introduced in 5.3 with commit f29dd55b0236f7a26a4b9dd69186e3c04266797b and fixed in 6.12.101 with commit 74912ad168f87d6b2b670a87987bb302d6e64aa1
	Issue introduced in 5.3 with commit f29dd55b0236f7a26a4b9dd69186e3c04266797b and fixed in 6.18.42 with commit fcc9d50022bcdb1f9f7ed04955c72b4a7355af3d
	Issue introduced in 5.3 with commit f29dd55b0236f7a26a4b9dd69186e3c04266797b and fixed in 7.1.6 with commit 52f9fcb191143448df55fd215ff09c5207fed43e
	Issue introduced in 5.3 with commit f29dd55b0236f7a26a4b9dd69186e3c04266797b and fixed in 7.2-rc4 with commit bb27fcc67c429d97f785c92c35a6c5adebb05d7f

Please see https://www.kernel.org for a full list of currently supported
kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to
older supported kernel versions.  The official CVE entry at
	https://cve.org/CVERecord/?id=CVE-2026-68417
will be updated if fixes are backported, please check that for the most
up to date information about this issue.


Affected files
==============

The file(s) affected by this issue are:
	drivers/infiniband/sw/siw/siw_verbs.c


Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest
stable kernel version for this, and many other bugfixes.  Individual
changes are never tested alone, but rather are part of a larger kernel
release.  Cherry-picking individual commits is not recommended or
supported by the Linux kernel community at all.  If however, updating to
the latest release is impossible, the individual changes to resolve this
issue can be found at these commits:
	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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.