CVE-2024-26839

MEDIUM

Linux Kernel <6.7.7 Use-After-Free in HFI1 Credit Return Initialization

Title source: llm
STIX 2.1

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.4%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-401
Status published
Products (28)
debian/debian_linux 10.0
linux/Kernel 4.20.0 - 5.4.270linux
linux/Kernel 4.3.0 - 4.19.308linux
linux/Kernel 5.11.0 - 5.15.150linux
linux/Kernel 5.16.0 - 6.1.80linux
linux/Kernel 5.5.0 - 5.10.211linux
linux/Kernel 6.2.0 - 6.6.19linux
linux/Kernel 6.7.0 - 6.7.7linux
Linux/Linux < 4.3
Linux/Linux 4.19.308 - 4.19.*
... and 18 more
Published Apr 17, 2024
Tracked Since Feb 18, 2026