RDMA/siw: Fix QP destroy to wait for all references dropped.
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 5.15.75, 5.19.17, 6.0.3
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: yes
- Technical impact: total
Summary
In the Linux kernel, the following vulnerability has been resolved: RDMA/siw: Fix QP destroy to wait for all references dropped. Delay QP destroy completion until all siw references to QP are dropped. The calling RDMA core will free QP structure after successful return from siw_qp_destroy() call, so siw must not hold any remaining reference to the QP upon return. A use-after-free was encountered in xfstest generic/460, while testing NFSoRDMA. Here, after a TCP connection drop by peer, the triggered siw_cm_work_handler got delayed until after QP destroy call, referencing a QP which has already freed.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: yes · Technical impact: total
- Record last updated
Affected versions
- Linux Linux
From 303ae1cdfdf7280ff4cfbbe65563b5ff15bb025b · fixed in 5c75d608fad58301b63e7d69200c13c3a1d411da; From 303ae1cdfdf7280ff4cfbbe65563b5ff15bb025b · fixed in 74ad141e995a730760b1bcfa14854b7f1057d6bc; From 303ae1cdfdf7280ff4cfbbe65563b5ff15bb025b · fixed in 0ed8bf9d0bb19f3f5eedd73f04aaf5bba9ac0737; From 303ae1cdfdf7280ff4cfbbe65563b5ff15bb025b · fixed in a3c278807a459e6f50afee6971cabe74cccfb490
- Linux Linux
5.3
- KernelLinux
From 5.3.0 · fixed in 5.15.75; From 5.16.0 · fixed in 5.19.17; From 5.20.0 · fixed in 6.0.3