CVE-2024-26839 IB/hfi1: Fix a memleak in init_credit_return
A memory leak in the IB/hfi1 driver allows attackers to exhaust system memory, causing denial of service.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-26839?
CVE-2024-26839 is a medium-severity denial of service vulnerability in Debian Debian Linux, published on 17 Apr 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
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.
Weakness: CWE-401
Which versions are affected by CVE-2024-26839?
It affects 2 products.
Products include Debian Debian Linux, Linux kernel.
How do I fix CVE-2024-26839?
Apply the vendor's patch.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2024-26839 being exploited?
There is no known exploitation of CVE-2024-26839 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as BELL-CVE-2024-26839, DEBIAN-CVE-2024-26839, GHSA-qvjm-pcpv-593p, UBUNTU-CVE-2024-26839.