In the Linux kernel, the following vulnerability has been resolved:
IB/hfi1: Fix a memleak in initcreditreturn
When dmaalloccoherent fails to allocate dd->crbase[i].va, initcreditreturn should deallocate dd->crbase and dd->cr_base[i] that allocated before. Or those resources would be never freed and a memleak is triggered.
[
{
"deprecated": false,
"target": {
"file": "drivers/infiniband/hw/hfi1/pio.c",
"function": "init_credit_return"
},
"digest": {
"length": 780.0,
"function_hash": "103160026404730947226229143161182442394"
},
"id": "CVE-2024-26839-4a78fef5",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8412c86e89cc78d8b513cb25cf2157a2adf3670a",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "drivers/infiniband/hw/hfi1/pio.c",
"function": "init_credit_return"
},
"digest": {
"length": 780.0,
"function_hash": "103160026404730947226229143161182442394"
},
"id": "CVE-2024-26839-a55acbd7",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2e4f9f20b32658ef3724aa46f7aef4908d2609e3",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "drivers/infiniband/hw/hfi1/pio.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"221385993316506768840126151459261020864",
"211503520664977683037008279325283898652",
"156283321985208245394526989883296965994",
"204544045351797959910635403168546398432",
"295985687919079309033623298612104993249",
"211448612313937702236162837598205519012",
"328447829791581138841456233933229403535",
"119028004621847329178006977838907678621"
]
},
"id": "CVE-2024-26839-a7b60825",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2e4f9f20b32658ef3724aa46f7aef4908d2609e3",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "drivers/infiniband/hw/hfi1/pio.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"221385993316506768840126151459261020864",
"211503520664977683037008279325283898652",
"156283321985208245394526989883296965994",
"204544045351797959910635403168546398432",
"295985687919079309033623298612104993249",
"211448612313937702236162837598205519012",
"328447829791581138841456233933229403535",
"119028004621847329178006977838907678621"
]
},
"id": "CVE-2024-26839-f31584ab",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8412c86e89cc78d8b513cb25cf2157a2adf3670a",
"signature_version": "v1"
}
]