{"schema_version":"1.9.0","id":"CVE-2024-38545","published":"2024-06-19T13:35:19.336Z","modified":"2026-08-12T03:51:41.017898178Z","related":["SUSE-SU-2024:2360-1","SUSE-SU-2024:2362-1","SUSE-SU-2024:2365-1","SUSE-SU-2024:2372-1","SUSE-SU-2024:2381-1","SUSE-SU-2024:2384-1","SUSE-SU-2024:2385-1","SUSE-SU-2024:2394-1","SUSE-SU-2024:2495-1","SUSE-SU-2024:2561-1","SUSE-SU-2024:2571-1","SUSE-SU-2024:2896-1","SUSE-SU-2024:2939-1","SUSE-SU-2025:20008-1","SUSE-SU-2025:20028-1"],"summary":"RDMA/hns: Fix UAF for cq async event","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/hns: Fix UAF for cq async event\n\nThe refcount of CQ is not protected by locks. When CQ asynchronous\nevents and CQ destruction are concurrent, CQ may have been released,\nwhich will cause UAF.\n\nUse the xa_lock() to protect the CQ refcount.","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/cve-osv-conversion/osv-output/CVE-2024-38545.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.9.0"},{"fixed":"5.15.168"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.93"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.33"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.8.12"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.9.0"},{"fixed":"6.9.3"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-38545.json"}}],"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/330c825e66ef65278e4ebe57fd49c1d6f3f4e34e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/37a7559dc1358a8d300437e99ed8ecdab0671507"},{"type":"WEB","url":"https://git.kernel.org/stable/c/39d26cf46306bdc7ae809ecfdbfeff5aa1098911"},{"type":"WEB","url":"https://git.kernel.org/stable/c/63da190eeb5c9d849b71f457b15b308c94cbaf08"},{"type":"WEB","url":"https://git.kernel.org/stable/c/763780ef0336a973e933e40e919339381732dcaf"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a942ec2745ca864cd8512142100e4027dc306a42"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/38xxx/CVE-2024-38545.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-38545"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/38xxx/CVE-2024-38545.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}