CVE-2024-26839

MEDIUM

Linux Kernel < 4.19.308 - Memory Leak

Title source: rule

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.

Scores

CVSS v3 5.5
EPSS 0.0001
EPSS Percentile 1.3%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

CWE
CWE-401
Status published

Affected Products (14)

linux/linux_kernel < 4.19.308
linux/linux_kernel
linux/linux_kernel
linux/linux_kernel
linux/linux_kernel
linux/linux_kernel
debian/debian_linux
linux/Kernel < 4.19.308linux
linux/Kernel < 5.4.270linux
linux/Kernel < 5.10.211linux
linux/Kernel < 5.15.150linux
linux/Kernel < 6.1.80linux
linux/Kernel < 6.6.19linux
linux/Kernel < 6.7.7linux

Timeline

Published Apr 17, 2024
Tracked Since Feb 18, 2026