CVEvulnerability
CVE-2024-38545
7.8 HIGH
Official page ↗
- Status
- Modified
- Published
- 2024-06-19
- Last modified
- 2026-08-04
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 (416baaa9-dc9f-4396-8d5f-8c081fb06d67)
- 7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CVSS 3.1 ([email protected])
- 7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-416
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 configurations
• linux linux kernel (>= 4.9 < 5.15.168)
• linux linux kernel (>= 5.16 < 6.1.93)
• linux linux kernel (>= 6.2 < 6.6.33)
• linux linux kernel (>= 6.7 < 6.8.12)
• linux linux kernel (>= 6.9 < 6.9.3)
Related
Weakness · CWE (1)
- CWE-416 Use After Free weakness
References
- https://git.kernel.org/stable/c/330c825e66ef65278e4ebe57fd49c1d6f3f4e34e Patch
- https://git.kernel.org/stable/c/37a7559dc1358a8d300437e99ed8ecdab0671507 Patch
- https://git.kernel.org/stable/c/39d26cf46306bdc7ae809ecfdbfeff5aa1098911 Patch
- https://git.kernel.org/stable/c/63da190eeb5c9d849b71f457b15b308c94cbaf08 Patch
- https://git.kernel.org/stable/c/763780ef0336a973e933e40e919339381732dcaf Patch
- https://git.kernel.org/stable/c/a942ec2745ca864cd8512142100e4027dc306a42 Patch
- https://git.kernel.org/stable/c/37a7559dc1358a8d300437e99ed8ecdab0671507 Patch
- https://git.kernel.org/stable/c/39d26cf46306bdc7ae809ecfdbfeff5aa1098911 Patch
- https://git.kernel.org/stable/c/63da190eeb5c9d849b71f457b15b308c94cbaf08 Patch
- https://git.kernel.org/stable/c/763780ef0336a973e933e40e919339381732dcaf Patch
- https://git.kernel.org/stable/c/a942ec2745ca864cd8512142100e4027dc306a42 Patch