CVE-2024-38545

published 19 Jun 2024 · updated 5 Aug 2026

RDMA/hns: Fix UAF for cq async event

7.8HighCVSS 7.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 330c825e66ef65278e4ebe57fd49c1d6f3f4e34e, Kernel 37a7559dc1358a8d300437e99ed8ecdab0671507, Kernel 39d26cf46306bdc7ae809ecfdbfeff5aa1098911 and 3 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=4.9, >=9a4435375cd151e07c0c38fa601b00115986091b <330c825e66ef65278e4ebe57fd49c1d6f3f4e34e, >=9a4435375cd151e07c0c38fa601b00115986091b <37a7559dc1358a8d300437e99ed8ecdab0671507, >=9a4435375cd151e07c0c38fa601b00115986091b <39d26cf46306bdc7ae809ecfdbfeff5aa1098911, >=9a4435375cd151e07c0c38fa601b00115986091b <63da190eeb5c9d849b71f457b15b308c94cbaf08, >=9a4435375cd151e07c0c38fa601b00115986091b <763780ef0336a973e933e40e919339381732dcaf, >=9a4435375cd151e07c0c38fa601b00115986091b <a942ec2745ca864cd8512142100e4027dc306a42330c825e66ef65278e4ebe57fd49c1d6f3f4e34e, 37a7559dc1358a8d300437e99ed8ecdab0671507, 39d26cf46306bdc7ae809ecfdbfeff5aa1098911, 63da190eeb5c9d849b71f457b15b308c94cbaf08, 763780ef0336a973e933e40e919339381732dcaf, a942ec2745ca864cd8512142100e4027dc306a42

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-38545 severity on Zeptric[![CVE-2024-38545](https://zeptric.io/badge/cve/CVE-2024-38545.svg)](https://zeptric.io/cve/CVE-2024-38545)