NetSight
medium5.5

CVE-2024-26839

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->…

Impact

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

VendorProductAffected versions
LinuxLinux Kernel
from 4.3 before 4.19.308
from 4.20 before 5.4.270
from 5.5 before 5.10.211
from 5.11 before 5.15.150
from 5.16 before 6.1.80
from 6.2 before 6.6.19
DebianDebian Linux
Version 10.0

Weakness classification

References