Skip to content
CVE PROGRAM SOURCE RECORD7.8 High

CVE-2024-38545

RDMA/hns: Fix UAF for cq async event

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 9a4435375cd151e07c0c38fa601b00115986091b to < 330c825e66ef65278e4ebe57fd49c1d6f3f4e34eaffected
  • 9a4435375cd151e07c0c38fa601b00115986091b to < 763780ef0336a973e933e40e919339381732dcafaffected
  • 9a4435375cd151e07c0c38fa601b00115986091b to < 63da190eeb5c9d849b71f457b15b308c94cbaf08affected
  • 9a4435375cd151e07c0c38fa601b00115986091b to < 39d26cf46306bdc7ae809ecfdbfeff5aa1098911affected
  • 9a4435375cd151e07c0c38fa601b00115986091b to < 37a7559dc1358a8d300437e99ed8ecdab0671507affected
  • 9a4435375cd151e07c0c38fa601b00115986091b to < a942ec2745ca864cd8512142100e4027dc306a42affected

Linux Linux

Default version status: affected

  • 4.9affected
  • 0 to < 4.9unaffected
  • 5.15.168 to ≤ 5.15.*unaffected
  • 6.1.93 to ≤ 6.1.*unaffected
  • 6.6.33 to ≤ 6.6.*unaffected
  • 6.8.12 to ≤ 6.8.*unaffected
  • 6.9.3 to ≤ 6.9.*unaffected
  • 6.10 to ≤ *unaffected

References