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.
{ "vanir_signatures": [ { "signature_version": "v1", "signature_type": "Function", "target": { "file": "drivers/infiniband/hw/hfi1/pio.c", "function": "init_credit_return" }, "deprecated": false, "digest": { "length": 780.0, "function_hash": "103160026404730947226229143161182442394" }, "id": "CVE-2024-26839-074575bc", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f0d857ce31a6bc7a82afcdbadb8f7417d482604b" }, { "signature_version": "v1", "signature_type": "Function", "target": { "file": "drivers/infiniband/hw/hfi1/pio.c", "function": "init_credit_return" }, "deprecated": false, "digest": { "length": 780.0, "function_hash": "103160026404730947226229143161182442394" }, "id": "CVE-2024-26839-4376a55d", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b41d0ade0398007fb746213f09903d52a920e896" }, { "signature_version": "v1", "signature_type": "Function", "target": { "file": "drivers/infiniband/hw/hfi1/pio.c", "function": "init_credit_return" }, "deprecated": false, "digest": { "length": 780.0, "function_hash": "103160026404730947226229143161182442394" }, "id": "CVE-2024-26839-4a78fef5", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8412c86e89cc78d8b513cb25cf2157a2adf3670a" }, { "signature_version": "v1", "signature_type": "Line", "target": { "file": "drivers/infiniband/hw/hfi1/pio.c" }, "deprecated": false, "digest": { "line_hashes": [ "221385993316506768840126151459261020864", "211503520664977683037008279325283898652", "156283321985208245394526989883296965994", "204544045351797959910635403168546398432", "295985687919079309033623298612104993249", "211448612313937702236162837598205519012", "328447829791581138841456233933229403535", "119028004621847329178006977838907678621" ], "threshold": 0.9 }, "id": "CVE-2024-26839-5985bb24", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b41d0ade0398007fb746213f09903d52a920e896" }, { "signature_version": "v1", "signature_type": "Function", "target": { "file": "drivers/infiniband/hw/hfi1/pio.c", "function": "init_credit_return" }, "deprecated": false, "digest": { "length": 780.0, "function_hash": "103160026404730947226229143161182442394" }, "id": "CVE-2024-26839-6b237723", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@cecfb90cf71d91e9efebd68b9e9b84661b277cc8" }, { "signature_version": "v1", "signature_type": "Line", "target": { "file": "drivers/infiniband/hw/hfi1/pio.c" }, "deprecated": false, "digest": { "line_hashes": [ "221385993316506768840126151459261020864", "211503520664977683037008279325283898652", "156283321985208245394526989883296965994", "204544045351797959910635403168546398432", "295985687919079309033623298612104993249", "211448612313937702236162837598205519012", "328447829791581138841456233933229403535", "119028004621847329178006977838907678621" ], "threshold": 0.9 }, "id": "CVE-2024-26839-9293131f", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f0d857ce31a6bc7a82afcdbadb8f7417d482604b" }, { "signature_version": "v1", "signature_type": "Line", "target": { "file": "drivers/infiniband/hw/hfi1/pio.c" }, "deprecated": false, "digest": { "line_hashes": [ "221385993316506768840126151459261020864", "211503520664977683037008279325283898652", "156283321985208245394526989883296965994", "204544045351797959910635403168546398432", "295985687919079309033623298612104993249", "211448612313937702236162837598205519012", "328447829791581138841456233933229403535", "119028004621847329178006977838907678621" ], "threshold": 0.9 }, "id": "CVE-2024-26839-99234c6a", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@cecfb90cf71d91e9efebd68b9e9b84661b277cc8" }, { "signature_version": "v1", "signature_type": "Line", "target": { "file": "drivers/infiniband/hw/hfi1/pio.c" }, "deprecated": false, "digest": { "line_hashes": [ "221385993316506768840126151459261020864", "211503520664977683037008279325283898652", "156283321985208245394526989883296965994", "204544045351797959910635403168546398432", "295985687919079309033623298612104993249", "211448612313937702236162837598205519012", "328447829791581138841456233933229403535", "119028004621847329178006977838907678621" ], "threshold": 0.9 }, "id": "CVE-2024-26839-9ff5d0b5", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@809aa64ebff51eb170ee31a95f83b2d21efa32e2" }, { "signature_version": "v1", "signature_type": "Function", "target": { "file": "drivers/infiniband/hw/hfi1/pio.c", "function": "init_credit_return" }, "deprecated": false, "digest": { "length": 780.0, "function_hash": "103160026404730947226229143161182442394" }, "id": "CVE-2024-26839-a55acbd7", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2e4f9f20b32658ef3724aa46f7aef4908d2609e3" }, { "signature_version": "v1", "signature_type": "Line", "target": { "file": "drivers/infiniband/hw/hfi1/pio.c" }, "deprecated": false, "digest": { "line_hashes": [ "221385993316506768840126151459261020864", "211503520664977683037008279325283898652", "156283321985208245394526989883296965994", "204544045351797959910635403168546398432", "295985687919079309033623298612104993249", "211448612313937702236162837598205519012", "328447829791581138841456233933229403535", "119028004621847329178006977838907678621" ], "threshold": 0.9 }, "id": "CVE-2024-26839-a7b60825", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2e4f9f20b32658ef3724aa46f7aef4908d2609e3" }, { "signature_version": "v1", "signature_type": "Function", "target": { "file": "drivers/infiniband/hw/hfi1/pio.c", "function": "init_credit_return" }, "deprecated": false, "digest": { "length": 780.0, "function_hash": "103160026404730947226229143161182442394" }, "id": "CVE-2024-26839-c3836e61", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@809aa64ebff51eb170ee31a95f83b2d21efa32e2" }, { "signature_version": "v1", "signature_type": "Function", "target": { "file": "drivers/infiniband/hw/hfi1/pio.c", "function": "init_credit_return" }, "deprecated": false, "digest": { "length": 780.0, "function_hash": "103160026404730947226229143161182442394" }, "id": "CVE-2024-26839-c890fcbd", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@52de5805c147137205662af89ed7e083d656ae25" }, { "signature_version": "v1", "signature_type": "Line", "target": { "file": "drivers/infiniband/hw/hfi1/pio.c" }, "deprecated": false, "digest": { "line_hashes": [ "221385993316506768840126151459261020864", "211503520664977683037008279325283898652", "156283321985208245394526989883296965994", "204544045351797959910635403168546398432", "295985687919079309033623298612104993249", "211448612313937702236162837598205519012", "328447829791581138841456233933229403535", "119028004621847329178006977838907678621" ], "threshold": 0.9 }, "id": "CVE-2024-26839-f31584ab", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8412c86e89cc78d8b513cb25cf2157a2adf3670a" }, { "signature_version": "v1", "signature_type": "Line", "target": { "file": "drivers/infiniband/hw/hfi1/pio.c" }, "deprecated": false, "digest": { "line_hashes": [ "221385993316506768840126151459261020864", "211503520664977683037008279325283898652", "156283321985208245394526989883296965994", "204544045351797959910635403168546398432", "295985687919079309033623298612104993249", "211448612313937702236162837598205519012", "328447829791581138841456233933229403535", "119028004621847329178006977838907678621" ], "threshold": 0.9 }, "id": "CVE-2024-26839-f898ca89", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@52de5805c147137205662af89ed7e083d656ae25" } ] }