{"id":"CVE-2024-47750","summary":"RDMA/hns: Fix Use-After-Free of rsv_qp on HIP08","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/hns: Fix Use-After-Free of rsv_qp on HIP08\n\nCurrently rsv_qp is freed before ib_unregister_device() is called\non HIP08. During the time interval, users can still dereg MR and\nrsv_qp will be used in this process, leading to a UAF. Move the\nrelease of rsv_qp after calling ib_unregister_device() to fix it.","modified":"2026-03-20T12:38:05.462016Z","published":"2024-10-21T12:14:15.786Z","related":["MGASA-2024-0344","MGASA-2024-0345","SUSE-SU-2024:3984-1","SUSE-SU-2024:3986-1","SUSE-SU-2024:4318-1","SUSE-SU-2024:4387-1","SUSE-SU-2025:20163-1","SUSE-SU-2025:20164-1","SUSE-SU-2025:20246-1","SUSE-SU-2025:20247-1","USN-7276-1","USN-7277-1","openSUSE-SU-2024:14500-1","openSUSE-SU-2025:14705-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/47xxx/CVE-2024-47750.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/2ccf1c75d39949d8ea043d04a2e92d7100ea723d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/60595923371c2ebe7faf82536c47eb0c967e3425"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d2d9c5127122745da6e887f451dd248cfeffca33"},{"type":"WEB","url":"https://git.kernel.org/stable/c/dac2723d8bfa9cf5333f477741e6e5fa1ed34645"},{"type":"WEB","url":"https://git.kernel.org/stable/c/fd8489294dd2beefb70f12ec4f6132aeec61a4d0"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/47xxx/CVE-2024-47750.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-47750"},{"type":"PACKAGE","url":"https://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":"70f92521584f1d1e8268311ee84413307b0fdea8"},{"fixed":"2ccf1c75d39949d8ea043d04a2e92d7100ea723d"},{"fixed":"d2d9c5127122745da6e887f451dd248cfeffca33"},{"fixed":"dac2723d8bfa9cf5333f477741e6e5fa1ed34645"},{"fixed":"60595923371c2ebe7faf82536c47eb0c967e3425"},{"fixed":"fd8489294dd2beefb70f12ec4f6132aeec61a4d0"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-47750.json"}}],"schema_version":"1.7.5"}