Description
In the Linux kernel, the following vulnerability has been resolved: RDMA/ionic: Fix double removal of CMB mmap entries in create QP error path The error unwind in ionic_create_qp() removes the SQ and RQ CMB mmap entries explicitly, and then falls through to ionic_qp_rq_destroy() and ionic_qp_sq_destroy(), whose ionic_qp_{rq,sq}_destroy_cmb() helpers remove the very same entries a second time. Drop the explicit removals and leave ionic_qp_{rq,sq}_destroy_cmb() as the single owner on the ionic_destroy_qp() path.
Affected products and versions
Linux Linuxe8521822c733c6deab0f339843cd37cd62c12795 – < 63ba45c2faba58058b85d8c3d9167ec342be3872 · e8521822c733c6deab0f339843cd37cd62c12795 – < 552bffa4096709382b816bebfe3557a29360ac62 · e8521822c733c6deab0f339843cd37cd62c12795 – < 485effd117d0310a7f589defb4f442fa3bb52ae2Fixed in: 63ba45c2faba58058b85d8c3d9167ec342be3872 · 552bffa4096709382b816bebfe3557a29360ac62 · 485effd117d0310a7f589defb4f442fa3bb52ae2
Linux Linux6.18Fixed in: 6.18.65 · 7.3.6 · 7.4-rc1
References
- git.kernel.org/stable/c/63ba45c2faba58058b85d8c3d9167ec342be3872
- git.kernel.org/stable/c/552bffa4096709382b816bebfe3557a29360ac62
- git.kernel.org/stable/c/485effd117d0310a7f589defb4f442fa3bb52ae2
Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.