{"id":"CVE-2024-26839","published":"2024-04-17T10:10:05Z","modified":"2026-05-11T20:05:08Z","title":"IB/hfi1: Fix a memleak in init_credit_return","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nIB/hfi1: Fix a memleak in init_credit_return\n\nWhen dma_alloc_coherent fails to allocate dd->cr_base[i].va,\ninit_credit_return should deallocate dd->cr_base and\ndd->cr_base[i] that allocated before. Or those resources\nwould be never freed and a memleak is triggered.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00239,"percentile":0.15334,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/2e4f9f20b32658ef3724aa46f7aef4908d2609e3","tags":[]},{"url":"https://git.kernel.org/stable/c/cecfb90cf71d91e9efebd68b9e9b84661b277cc8","tags":[]},{"url":"https://git.kernel.org/stable/c/3fa240bb6b2dbb3e7a3ee1440a4889cbb6207eb7","tags":[]},{"url":"https://git.kernel.org/stable/c/52de5805c147137205662af89ed7e083d656ae25","tags":[]},{"url":"https://git.kernel.org/stable/c/f0d857ce31a6bc7a82afcdbadb8f7417d482604b","tags":[]},{"url":"https://git.kernel.org/stable/c/b41d0ade0398007fb746213f09903d52a920e896","tags":[]},{"url":"https://git.kernel.org/stable/c/8412c86e89cc78d8b513cb25cf2157a2adf3670a","tags":[]},{"url":"https://git.kernel.org/stable/c/809aa64ebff51eb170ee31a95f83b2d21efa32e2","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html","tags":["x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html","tags":["x_transferred"]}],"priority":{"score":3.1,"factors":[{"name":"EPSS percentile","points":3.07}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 7724105686e718ac476a6ad3304fea2fbcfcffde, < 2e4f9f20b32658ef3724aa46f7aef4908d2609e3",">= 7724105686e718ac476a6ad3304fea2fbcfcffde, < cecfb90cf71d91e9efebd68b9e9b84661b277cc8",">= 7724105686e718ac476a6ad3304fea2fbcfcffde, < 3fa240bb6b2dbb3e7a3ee1440a4889cbb6207eb7",">= 7724105686e718ac476a6ad3304fea2fbcfcffde, < 52de5805c147137205662af89ed7e083d656ae25",">= 7724105686e718ac476a6ad3304fea2fbcfcffde, < f0d857ce31a6bc7a82afcdbadb8f7417d482604b",">= 7724105686e718ac476a6ad3304fea2fbcfcffde, < b41d0ade0398007fb746213f09903d52a920e896",">= 7724105686e718ac476a6ad3304fea2fbcfcffde, < 8412c86e89cc78d8b513cb25cf2157a2adf3670a",">= 7724105686e718ac476a6ad3304fea2fbcfcffde, < 809aa64ebff51eb170ee31a95f83b2d21efa32e2"]},{"vendor":"Linux","product":"Linux","versions":["4.3"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-06-17T19:24:08.338788Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-24101","exploited":false,"provenance":"source"}}