{"id":"CVE-2024-38545","aliases":["CVE-2024-38545"],"related":[],"kind":"vulnerability","state":"published","title":"RDMA/hns: Fix UAF for cq async event","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se resolvió la siguiente vulnerabilidad: RDMA/hns: corrige UAF para el evento cq async El recuento de CQ no está protegido por bloqueos. Cuando los eventos asincrónicos de CQ y la destrucción de CQ son simultáneos, es posible que se haya liberado CQ, lo que provocará UAF. Utilice xa_lock() para proteger el recuento de CQ.","source":"nvd"}],"published":"2024-06-19T13:35:19.336Z","modified":"2026-08-05T11:32:42.888Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-416"],"affected":[{"ranges":[{"type":"git","introduced":"9a4435375cd151e07c0c38fa601b00115986091b","fixed":"330c825e66ef65278e4ebe57fd49c1d6f3f4e34e","status":"affected"},{"type":"git","introduced":"9a4435375cd151e07c0c38fa601b00115986091b","fixed":"763780ef0336a973e933e40e919339381732dcaf","status":"affected"},{"type":"git","introduced":"9a4435375cd151e07c0c38fa601b00115986091b","fixed":"63da190eeb5c9d849b71f457b15b308c94cbaf08","status":"affected"},{"type":"git","introduced":"9a4435375cd151e07c0c38fa601b00115986091b","fixed":"39d26cf46306bdc7ae809ecfdbfeff5aa1098911","status":"affected"},{"type":"git","introduced":"9a4435375cd151e07c0c38fa601b00115986091b","fixed":"37a7559dc1358a8d300437e99ed8ecdab0671507","status":"affected"},{"type":"git","introduced":"9a4435375cd151e07c0c38fa601b00115986091b","fixed":"a942ec2745ca864cd8512142100e4027dc306a42","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.9","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.9","status":"unaffected"},{"type":"semver","introduced":"5.15.168","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.93","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.33","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.8.12","lastAffected":"6.8.*","status":"unaffected"},{"type":"semver","introduced":"6.9.3","lastAffected":"6.9.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.10","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"4.9","fixed":"5.15.168"},{"status":"affected","introduced":"5.16","fixed":"6.1.93"},{"status":"affected","introduced":"6.2","fixed":"6.6.33"},{"status":"affected","introduced":"6.7","fixed":"6.8.12"},{"status":"affected","introduced":"6.9","fixed":"6.9.3"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/330c825e66ef65278e4ebe57fd49c1d6f3f4e34e","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/763780ef0336a973e933e40e919339381732dcaf","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/63da190eeb5c9d849b71f457b15b308c94cbaf08","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/39d26cf46306bdc7ae809ecfdbfeff5aa1098911","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/37a7559dc1358a8d300437e99ed8ecdab0671507","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a942ec2745ca864cd8512142100e4027dc306a42","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-09-10T17:15:07.173Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-38545","url":"https://www.cve.org/CVERecord?id=CVE-2024-38545","licence":"CVE Terms of Use","modified":"2026-08-05T11:32:42.888Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-38545","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-38545","licence":"Public domain","modified":"2026-08-04T11:18:42.927Z"}],"updatedAt":"2026-11-25T22:58:42.008Z","epss":{"score":0.00252,"percentile":0.17742,"date":"2026-12-01T12:00:22.000Z"}}