Linux
RDMA/siw: publish QP after initialization
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= f29dd55b0236f7a26a4b9dd69186e3c04266797b, < 3c9d128219964dcea897bf6139b88242e987be8f
- >= f29dd55b0236f7a26a4b9dd69186e3c04266797b, < 3ff82e3841ecab1ff38d5817c969a019d266c83c
- >= f29dd55b0236f7a26a4b9dd69186e3c04266797b, < 36e91a58397ca8c978e38a0bf389f0c6113fa8ca
- >= f29dd55b0236f7a26a4b9dd69186e3c04266797b, < 74912ad168f87d6b2b670a87987bb302d6e64aa1
- >= f29dd55b0236f7a26a4b9dd69186e3c04266797b, < fcc9d50022bcdb1f9f7ed04955c72b4a7355af3d
- >= f29dd55b0236f7a26a4b9dd69186e3c04266797b, < 52f9fcb191143448df55fd215ff09c5207fed43e
- >= f29dd55b0236f7a26a4b9dd69186e3c04266797b, < bb27fcc67c429d97f785c92c35a6c5adebb05d7f
Fixed in 3c9d128219964dcea897bf6139b88242e987be8f, 3ff82e3841ecab1ff38d5817c969a019d266c83c, 36e91a58397ca8c978e38a0bf389f0c6113fa8ca, 74912ad168f87d6b2b670a87987bb302d6e64aa1, fcc9d50022bcdb1f9f7ed04955c72b4a7355af3d, 52f9fcb191143448df55fd215ff09c5207fed43e, bb27fcc67c429d97f785c92c35a6c5adebb05d7f
- 5.3
Fixed in 0, 5.15.216, 6.1.183, 6.6.148, 6.12.101, 6.18.42, 7.1.6, 7.2
Mitigation
Upgrade Linux to 3c9d128219964dcea897bf6139b88242e987be8f or 3ff82e3841ecab1ff38d5817c969a019d266c83c or 36e91a58397ca8c978e38a0bf389f0c6113fa8ca or 74912ad168f87d6b2b670a87987bb302d6e64aa1 or fcc9d50022bcdb1f9f7ed04955c72b4a7355af3d or 52f9fcb191143448df55fd215ff09c5207fed43e or bb27fcc67c429d97f785c92c35a6c5adebb05d7f or later.
Upgrade Linux to 0 or 5.15.216 or 6.1.183 or 6.6.148 or 6.12.101 or 6.18.42 or 7.1.6 or 7.2 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.