In the Linux kernel, the following vulnerability has been resolved:
RDMA/hns: Fix Use-After-Free of rsv_qp on HIP08
Currently rsvqp is freed before ibunregisterdevice() is called on HIP08. During the time interval, users can still dereg MR and rsvqp will be used in this process, leading to a UAF. Move the release of rsvqp after calling ibunregister_device() to fix it.
{ "vanir_signatures": [ { "deprecated": false, "signature_type": "Function", "target": { "file": "drivers/infiniband/hw/hns/hns_roce_hw_v2.c", "function": "hns_roce_v2_exit" }, "id": "CVE-2024-47750-0a9c8851", "digest": { "length": 191.0, "function_hash": "110227212028542992180883534376080270238" }, "signature_version": "v1", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@60595923371c2ebe7faf82536c47eb0c967e3425" }, { "deprecated": false, "signature_type": "Line", "target": { "file": "drivers/infiniband/hw/hns/hns_roce_hw_v2.c" }, "id": "CVE-2024-47750-129ff978", "digest": { "line_hashes": [ "175680887246203839126739984250206431549", "308828548327098606776927658825987886969", "322429275891142827134620059894530968689", "195996061052648803532322502154945178702", "8163057268455178052206356135212572265", "215758332294516500004006439140474728775", "282931493393799700263952039789028250580", "64234035092426019868937515650663615479", "92404690161785646969860067809545378893" ], "threshold": 0.9 }, "signature_version": "v1", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@60595923371c2ebe7faf82536c47eb0c967e3425" }, { "deprecated": false, "signature_type": "Function", "target": { "file": "drivers/infiniband/hw/hns/hns_roce_hw_v2.c", "function": "__hns_roce_hw_v2_uninit_instance" }, "id": "CVE-2024-47750-13b19590", "digest": { "length": 352.0, "function_hash": "138329522814151609245758543052832300065" }, "signature_version": "v1", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@60595923371c2ebe7faf82536c47eb0c967e3425" }, { "deprecated": false, "signature_type": "Function", "target": { "file": "drivers/infiniband/hw/hns/hns_roce_hw_v2.c", "function": "hns_roce_v2_exit" }, "id": "CVE-2024-47750-15eb8258", "digest": { "length": 191.0, "function_hash": "110227212028542992180883534376080270238" }, "signature_version": "v1", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d2d9c5127122745da6e887f451dd248cfeffca33" }, { "deprecated": false, "signature_type": "Line", "target": { "file": "drivers/infiniband/hw/hns/hns_roce_hw_v2.c" }, "id": "CVE-2024-47750-ec2bc126", "digest": { "line_hashes": [ "175680887246203839126739984250206431549", "308828548327098606776927658825987886969", "322429275891142827134620059894530968689", "195996061052648803532322502154945178702", "8163057268455178052206356135212572265", "215758332294516500004006439140474728775", "282931493393799700263952039789028250580", "64234035092426019868937515650663615479", "92404690161785646969860067809545378893" ], "threshold": 0.9 }, "signature_version": "v1", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d2d9c5127122745da6e887f451dd248cfeffca33" }, { "deprecated": false, "signature_type": "Function", "target": { "file": "drivers/infiniband/hw/hns/hns_roce_hw_v2.c", "function": "__hns_roce_hw_v2_uninit_instance" }, "id": "CVE-2024-47750-f43e1d9f", "digest": { "length": 352.0, "function_hash": "138329522814151609245758543052832300065" }, "signature_version": "v1", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d2d9c5127122745da6e887f451dd248cfeffca33" } ] }