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.
[
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"function_hash": "110227212028542992180883534376080270238",
"length": 191.0
},
"id": "CVE-2024-47750-0a9c8851",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@60595923371c2ebe7faf82536c47eb0c967e3425",
"target": {
"file": "drivers/infiniband/hw/hns/hns_roce_hw_v2.c",
"function": "hns_roce_v2_exit"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"175680887246203839126739984250206431549",
"308828548327098606776927658825987886969",
"322429275891142827134620059894530968689",
"195996061052648803532322502154945178702",
"8163057268455178052206356135212572265",
"215758332294516500004006439140474728775",
"282931493393799700263952039789028250580",
"64234035092426019868937515650663615479",
"92404690161785646969860067809545378893"
]
},
"id": "CVE-2024-47750-0bfd123c",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2ccf1c75d39949d8ea043d04a2e92d7100ea723d",
"target": {
"file": "drivers/infiniband/hw/hns/hns_roce_hw_v2.c"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"175680887246203839126739984250206431549",
"308828548327098606776927658825987886969",
"322429275891142827134620059894530968689",
"195996061052648803532322502154945178702",
"8163057268455178052206356135212572265",
"215758332294516500004006439140474728775",
"282931493393799700263952039789028250580",
"64234035092426019868937515650663615479",
"92404690161785646969860067809545378893"
]
},
"id": "CVE-2024-47750-129ff978",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@60595923371c2ebe7faf82536c47eb0c967e3425",
"target": {
"file": "drivers/infiniband/hw/hns/hns_roce_hw_v2.c"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"function_hash": "138329522814151609245758543052832300065",
"length": 352.0
},
"id": "CVE-2024-47750-13b19590",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@60595923371c2ebe7faf82536c47eb0c967e3425",
"target": {
"file": "drivers/infiniband/hw/hns/hns_roce_hw_v2.c",
"function": "__hns_roce_hw_v2_uninit_instance"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"175680887246203839126739984250206431549",
"308828548327098606776927658825987886969",
"322429275891142827134620059894530968689",
"195996061052648803532322502154945178702",
"8163057268455178052206356135212572265",
"215758332294516500004006439140474728775",
"282931493393799700263952039789028250580",
"64234035092426019868937515650663615479",
"92404690161785646969860067809545378893"
]
},
"id": "CVE-2024-47750-4368d94c",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@fd8489294dd2beefb70f12ec4f6132aeec61a4d0",
"target": {
"file": "drivers/infiniband/hw/hns/hns_roce_hw_v2.c"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"175680887246203839126739984250206431549",
"308828548327098606776927658825987886969",
"322429275891142827134620059894530968689",
"195996061052648803532322502154945178702",
"8163057268455178052206356135212572265",
"215758332294516500004006439140474728775",
"282931493393799700263952039789028250580",
"64234035092426019868937515650663615479",
"92404690161785646969860067809545378893"
]
},
"id": "CVE-2024-47750-4d0c0306",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@dac2723d8bfa9cf5333f477741e6e5fa1ed34645",
"target": {
"file": "drivers/infiniband/hw/hns/hns_roce_hw_v2.c"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"function_hash": "110227212028542992180883534376080270238",
"length": 191.0
},
"id": "CVE-2024-47750-50b304d6",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@fd8489294dd2beefb70f12ec4f6132aeec61a4d0",
"target": {
"file": "drivers/infiniband/hw/hns/hns_roce_hw_v2.c",
"function": "hns_roce_v2_exit"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"function_hash": "138329522814151609245758543052832300065",
"length": 352.0
},
"id": "CVE-2024-47750-64c4e2ec",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@dac2723d8bfa9cf5333f477741e6e5fa1ed34645",
"target": {
"file": "drivers/infiniband/hw/hns/hns_roce_hw_v2.c",
"function": "__hns_roce_hw_v2_uninit_instance"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"function_hash": "138329522814151609245758543052832300065",
"length": 352.0
},
"id": "CVE-2024-47750-77294eb5",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@fd8489294dd2beefb70f12ec4f6132aeec61a4d0",
"target": {
"file": "drivers/infiniband/hw/hns/hns_roce_hw_v2.c",
"function": "__hns_roce_hw_v2_uninit_instance"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"function_hash": "110227212028542992180883534376080270238",
"length": 191.0
},
"id": "CVE-2024-47750-888a1f9e",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2ccf1c75d39949d8ea043d04a2e92d7100ea723d",
"target": {
"file": "drivers/infiniband/hw/hns/hns_roce_hw_v2.c",
"function": "hns_roce_v2_exit"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"function_hash": "110227212028542992180883534376080270238",
"length": 191.0
},
"id": "CVE-2024-47750-af8dc7e2",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@dac2723d8bfa9cf5333f477741e6e5fa1ed34645",
"target": {
"file": "drivers/infiniband/hw/hns/hns_roce_hw_v2.c",
"function": "hns_roce_v2_exit"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"function_hash": "138329522814151609245758543052832300065",
"length": 352.0
},
"id": "CVE-2024-47750-c0597eae",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2ccf1c75d39949d8ea043d04a2e92d7100ea723d",
"target": {
"file": "drivers/infiniband/hw/hns/hns_roce_hw_v2.c",
"function": "__hns_roce_hw_v2_uninit_instance"
}
}
]