CVE-2024-38545

RDMA/hns: Fix UAF for cq async event

HIGH
7.8
CVSS Score
Published: June 19, 2024 at 01:35 PM UTC
Updated: August 5, 2026 at 12:04 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.9 ≤ v < 5.15.1684.9 ≤ v < 6.1.934.9 ≤ v < 6.104.9 ≤ v < 6.6.334.9 ≤ v < 6.8.124.9 ≤ v < 6.9.35.16 ≤ v < 6.1.936.2 ≤ v < 6.6.336.7 ≤ v < 6.8.126.9 ≤ v < 6.9.34.99a4435375cd151e07c0c38fa601b00115986091b
Vendor states this is fixed in 330c825e66ef65278e4ebe57fd49c1d6f3f4e34e (fixed)
Vendor states this is fixed in 37a7559dc1358a8d300437e99ed8ecdab0671507 (fixed)
Vendor states this is fixed in 39d26cf46306bdc7ae809ecfdbfeff5aa1098911 (fixed)
Vendor states this is fixed in 63da190eeb5c9d849b71f457b15b308c94cbaf08 (fixed)
Vendor states this is fixed in 763780ef0336a973e933e40e919339381732dcaf (fixed)
Vendor states this is fixed in a942ec2745ca864cd8512142100e4027dc306a42 (fixed)
Vendor states this is fixed in 4.9 (unaffected)
Vendor states this is fixed in 5.15.168 (unaffected)
Vendor states this is fixed in 6.1.93 (unaffected)
Vendor states this is fixed in 6.10 (unaffected)
Vendor states this is fixed in 6.6.33 (unaffected)
Vendor states this is fixed in 6.8.12 (unaffected)
Vendor states this is fixed in 6.9.3 (unaffected)

References (6)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/330c825e66ef65278e4ebe57fd49c1d6f3f4e34e
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/37a7559dc1358a8d300437e99ed8ecdab0671507
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/39d26cf46306bdc7ae809ecfdbfeff5aa1098911
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/63da190eeb5c9d849b71f457b15b308c94cbaf08
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/763780ef0336a973e933e40e919339381732dcaf
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a942ec2745ca864cd8512142100e4027dc306a42

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.8HIGHLinux
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-416

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card