CVE-2024-26839

published 17 Apr 2024 · updated 11 May 2026

IB/hfi1: Fix a memleak in init_credit_return

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 2e4f9f20b32658ef3724aa46f7aef4908d2609e3, Kernel 3fa240bb6b2dbb3e7a3ee1440a4889cbb6207eb7, Kernel 52de5805c147137205662af89ed7e083d656ae25 and 5 more.

In the Linux kernel, the following vulnerability has been resolved: IB/hfi1: Fix a memleak in init_credit_return When dma_alloc_coherent fails to allocate dd->cr_base[i].va, init_credit_return should deallocate dd->cr_base and dd->cr_base[i] that allocated before. Or those resources would be never freed and a memleak is triggered.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=4.3, >=7724105686e718ac476a6ad3304fea2fbcfcffde <2e4f9f20b32658ef3724aa46f7aef4908d2609e3, >=7724105686e718ac476a6ad3304fea2fbcfcffde <3fa240bb6b2dbb3e7a3ee1440a4889cbb6207eb7, >=7724105686e718ac476a6ad3304fea2fbcfcffde <52de5805c147137205662af89ed7e083d656ae25, >=7724105686e718ac476a6ad3304fea2fbcfcffde <809aa64ebff51eb170ee31a95f83b2d21efa32e2, >=7724105686e718ac476a6ad3304fea2fbcfcffde <8412c86e89cc78d8b513cb25cf2157a2adf3670a, >=7724105686e718ac476a6ad3304fea2fbcfcffde <b41d0ade0398007fb746213f09903d52a920e896, >=7724105686e718ac476a6ad3304fea2fbcfcffde <cecfb90cf71d91e9efebd68b9e9b84661b277cc8, >=7724105686e718ac476a6ad3304fea2fbcfcffde <f0d857ce31a6bc7a82afcdbadb8f7417d482604b2e4f9f20b32658ef3724aa46f7aef4908d2609e3, 3fa240bb6b2dbb3e7a3ee1440a4889cbb6207eb7, 52de5805c147137205662af89ed7e083d656ae25, 809aa64ebff51eb170ee31a95f83b2d21efa32e2, 8412c86e89cc78d8b513cb25cf2157a2adf3670a, b41d0ade0398007fb746213f09903d52a920e896, cecfb90cf71d91e9efebd68b9e9b84661b277cc8, f0d857ce31a6bc7a82afcdbadb8f7417d482604b

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-26839 severity on Zeptric[![CVE-2024-26839](https://zeptric.io/badge/cve/CVE-2024-26839.svg)](https://zeptric.io/cve/CVE-2024-26839)