Vulnerability Details : CVE-2024-38545
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.
Products affected by CVE-2024-38545
- cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
- cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
- cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
- cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2024-38545
0.05%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 15 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2024-38545
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
7.8
|
HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
1.8
|
5.9
|
NIST | 2024-08-27 |
CWE ids for CVE-2024-38545
-
The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.Assigned by: nvd@nist.gov (Primary)
References for CVE-2024-38545
-
https://git.kernel.org/stable/c/763780ef0336a973e933e40e919339381732dcaf
RDMA/hns: Fix UAF for cq async event - kernel/git/stable/linux.git - Linux kernel stable treePatch
-
https://git.kernel.org/stable/c/37a7559dc1358a8d300437e99ed8ecdab0671507
RDMA/hns: Fix UAF for cq async event - kernel/git/stable/linux.git - Linux kernel stable treePatch
-
https://git.kernel.org/stable/c/330c825e66ef65278e4ebe57fd49c1d6f3f4e34e
RDMA/hns: Fix UAF for cq async event - kernel/git/stable/linux.git - Linux kernel stable tree
-
https://git.kernel.org/stable/c/63da190eeb5c9d849b71f457b15b308c94cbaf08
RDMA/hns: Fix UAF for cq async event - kernel/git/stable/linux.git - Linux kernel stable treePatch
-
https://git.kernel.org/stable/c/a942ec2745ca864cd8512142100e4027dc306a42
RDMA/hns: Fix UAF for cq async event - kernel/git/stable/linux.git - Linux kernel stable treePatch
-
https://git.kernel.org/stable/c/39d26cf46306bdc7ae809ecfdbfeff5aa1098911
RDMA/hns: Fix UAF for cq async event - kernel/git/stable/linux.git - Linux kernel stable treePatch
Jump to