CVE-2022-50666

RDMA/siw: Fix QP destroy to wait for all references dropped.

State
Published
Severity
9.8 Critical
Published
Dec 9, 2025
Updated
Oct 15, 2026
Reserved
Dec 9, 2025

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
3.19.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 303ae1cdfdf7280ff4cfbbe65563b5ff15bb025b to before 5c75d608fad58301b63e7d69200c13c3a1d411daAffected
  • 303ae1cdfdf7280ff4cfbbe65563b5ff15bb025b to before 74ad141e995a730760b1bcfa14854b7f1057d6bcAffected
  • 303ae1cdfdf7280ff4cfbbe65563b5ff15bb025b to before 0ed8bf9d0bb19f3f5eedd73f04aaf5bba9ac0737Affected
  • 303ae1cdfdf7280ff4cfbbe65563b5ff15bb025b to before a3c278807a459e6f50afee6971cabe74cccfb490Affected
LinuxLinux
  • 5.3Affected
  • before 5.3Not affected
  • 5.15.75 through 5.15.*Not affected
  • 5.19.17 through 5.19.*Not affected
  • 6.0.3 through 6.0.*Not affected
  • 6.1 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.