CVE-2024-38545

Source
https://cve.org/CVERecord?id=CVE-2024-38545
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-38545.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-38545
Downstream
Related
Published
2024-06-19T13:35:19.336Z
Modified
2026-03-20T12:37:04.945010Z
Summary
RDMA/hns: Fix UAF for cq async event
Details

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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/38xxx/CVE-2024-38545.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
9a4435375cd151e07c0c38fa601b00115986091b
Fixed
330c825e66ef65278e4ebe57fd49c1d6f3f4e34e
Fixed
763780ef0336a973e933e40e919339381732dcaf
Fixed
63da190eeb5c9d849b71f457b15b308c94cbaf08
Fixed
39d26cf46306bdc7ae809ecfdbfeff5aa1098911
Fixed
37a7559dc1358a8d300437e99ed8ecdab0671507
Fixed
a942ec2745ca864cd8512142100e4027dc306a42

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-38545.json"