Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected f29dd55b0236f7a26a4b9dd69186e3c04266797b before 3c9d128219964dcea897bf6139b88242e987be8f; affected f29dd55b0236f7a26a4b9dd69186e3c04266797b before 3ff82e3841ecab1ff38d5817c969a019d266c83c; affected f29dd55b0236f7a26a4b9dd69186e3c04266797b before 36e91a58397ca8c978e38a0bf389f0c6113fa8ca; affected f29dd55b0236f7a26a4b9dd69186e3c04266797b before 74912ad168f87d6b2b670a87987bb302d6e64aa1; affected f29dd55b0236f7a26a4b9dd69186e3c04266797b before fcc9d50022bcdb1f9f7ed04955c72b4a7355af3d; affected f29dd55b0236f7a26a4b9dd69186e3c04266797b before 52f9fcb191143448df55fd215ff09c5207fed43e; affected f29dd55b0236f7a26a4b9dd69186e3c04266797b before bb27fcc67c429d97f785c92c35a6c5adebb05d7f |
| Linux / Linux | affected 5.3; unaffected 0 before 5.3; unaffected 5.15.216 through 5.15.*; unaffected 6.1.183 through 6.1.*; unaffected 6.6.148 through 6.6.*; unaffected 6.12.101 through 6.12.*; unaffected 6.18.42 through 6.18.*; unaffected 7.1.6 through 7.1.*; unaffected 7.2 through * |
CWE
No CWE identifiers supplied.
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
ADP enrichment
No English description supplied.
No references supplied.