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