What’s Vulnerable › Vulnerabilities

CVE-2024-26839: IB/hfi1: Fix a memleak in init_credit_return

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.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 4.19.308, 5.10.211, 5.15.150, 5.4.270. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-26839 or the next vulnerability affects your stack