CVE-2024-38545

RDMA/hns: Fix UAF for cq async event

State
Published
Severity
7.8 High
Published
Jun 19, 2024
Updated
Aug 5, 2026
Reserved
Jun 18, 2024

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

RDMA/hns: Fix UAF for cq async event

The refcount of CQ is not protected by locks. When CQ asynchronous events and CQ destruction are concurrent, CQ may have been released, which will cause UAF.

Use the xa_lock() to protect the CQ refcount.

Scores

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

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 9a4435375cd151e07c0c38fa601b00115986091b to before 330c825e66ef65278e4ebe57fd49c1d6f3f4e34eAffected
  • 9a4435375cd151e07c0c38fa601b00115986091b to before 763780ef0336a973e933e40e919339381732dcafAffected
  • 9a4435375cd151e07c0c38fa601b00115986091b to before 63da190eeb5c9d849b71f457b15b308c94cbaf08Affected
  • 9a4435375cd151e07c0c38fa601b00115986091b to before 39d26cf46306bdc7ae809ecfdbfeff5aa1098911Affected
  • 9a4435375cd151e07c0c38fa601b00115986091b to before 37a7559dc1358a8d300437e99ed8ecdab0671507Affected
  • 9a4435375cd151e07c0c38fa601b00115986091b to before a942ec2745ca864cd8512142100e4027dc306a42Affected
LinuxLinux
  • 4.9Affected
  • before 4.9Not affected
  • 5.15.168 through 5.15.*Not affected
  • 6.1.93 through 6.1.*Not affected
  • 6.6.33 through 6.6.*Not affected
  • 6.8.12 through 6.8.*Not affected
  • 6.9.3 through 6.9.*Not affected
  • 6.10 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.