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->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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.8:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.8:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.8:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.8:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.8:rc5:*:*:*:*:*:*

Configuration 2 (hide)

cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*

History

14 Jan 2025, 14:56

Type Values Removed Values Added
References () https://git.kernel.org/stable/c/2e4f9f20b32658ef3724aa46f7aef4908d2609e3 - () https://git.kernel.org/stable/c/2e4f9f20b32658ef3724aa46f7aef4908d2609e3 - Patch
References () https://git.kernel.org/stable/c/3fa240bb6b2dbb3e7a3ee1440a4889cbb6207eb7 - () https://git.kernel.org/stable/c/3fa240bb6b2dbb3e7a3ee1440a4889cbb6207eb7 - Patch
References () https://git.kernel.org/stable/c/52de5805c147137205662af89ed7e083d656ae25 - () https://git.kernel.org/stable/c/52de5805c147137205662af89ed7e083d656ae25 - Patch
References () https://git.kernel.org/stable/c/809aa64ebff51eb170ee31a95f83b2d21efa32e2 - () https://git.kernel.org/stable/c/809aa64ebff51eb170ee31a95f83b2d21efa32e2 - Patch
References () https://git.kernel.org/stable/c/8412c86e89cc78d8b513cb25cf2157a2adf3670a - () https://git.kernel.org/stable/c/8412c86e89cc78d8b513cb25cf2157a2adf3670a - Patch
References () https://git.kernel.org/stable/c/b41d0ade0398007fb746213f09903d52a920e896 - () https://git.kernel.org/stable/c/b41d0ade0398007fb746213f09903d52a920e896 - Patch
References () https://git.kernel.org/stable/c/cecfb90cf71d91e9efebd68b9e9b84661b277cc8 - () https://git.kernel.org/stable/c/cecfb90cf71d91e9efebd68b9e9b84661b277cc8 - Patch
References () https://git.kernel.org/stable/c/f0d857ce31a6bc7a82afcdbadb8f7417d482604b - () https://git.kernel.org/stable/c/f0d857ce31a6bc7a82afcdbadb8f7417d482604b - Patch
References () https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html - () https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html - Mailing List
References () https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html - () https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html - Mailing List
CPE cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.8:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.8:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.8:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.8:rc5:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.8:rc4:*:*:*:*:*:*
First Time Debian debian Linux
Debian
Linux
Linux linux Kernel
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.5
CWE CWE-401

21 Nov 2024, 09:03

Type Values Removed Values Added
References
  • () https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html -
  • () https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html -
References () https://git.kernel.org/stable/c/2e4f9f20b32658ef3724aa46f7aef4908d2609e3 - () https://git.kernel.org/stable/c/2e4f9f20b32658ef3724aa46f7aef4908d2609e3 -
References () https://git.kernel.org/stable/c/3fa240bb6b2dbb3e7a3ee1440a4889cbb6207eb7 - () https://git.kernel.org/stable/c/3fa240bb6b2dbb3e7a3ee1440a4889cbb6207eb7 -
References () https://git.kernel.org/stable/c/52de5805c147137205662af89ed7e083d656ae25 - () https://git.kernel.org/stable/c/52de5805c147137205662af89ed7e083d656ae25 -
References () https://git.kernel.org/stable/c/809aa64ebff51eb170ee31a95f83b2d21efa32e2 - () https://git.kernel.org/stable/c/809aa64ebff51eb170ee31a95f83b2d21efa32e2 -
References () https://git.kernel.org/stable/c/8412c86e89cc78d8b513cb25cf2157a2adf3670a - () https://git.kernel.org/stable/c/8412c86e89cc78d8b513cb25cf2157a2adf3670a -
References () https://git.kernel.org/stable/c/b41d0ade0398007fb746213f09903d52a920e896 - () https://git.kernel.org/stable/c/b41d0ade0398007fb746213f09903d52a920e896 -
References () https://git.kernel.org/stable/c/cecfb90cf71d91e9efebd68b9e9b84661b277cc8 - () https://git.kernel.org/stable/c/cecfb90cf71d91e9efebd68b9e9b84661b277cc8 -
References () https://git.kernel.org/stable/c/f0d857ce31a6bc7a82afcdbadb8f7417d482604b - () https://git.kernel.org/stable/c/f0d857ce31a6bc7a82afcdbadb8f7417d482604b -

05 Nov 2024, 10:15

Type Values Removed Values Added
References
  • {'url': 'https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html', 'source': '416baaa9-dc9f-4396-8d5f-8c081fb06d67'}
  • {'url': 'https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html', 'source': '416baaa9-dc9f-4396-8d5f-8c081fb06d67'}

27 Jun 2024, 12:15

Type Values Removed Values Added
References
  • () https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html -

25 Jun 2024, 22:15

Type Values Removed Values Added
Summary
  • (es) En el kernel de Linux, se resolvió la siguiente vulnerabilidad: IB/hfi1: corrige una fuga de mem en init_credit_return Cuando dma_alloc_coherent no puede asignar dd->cr_base[i].va, init_credit_return debería desasignar dd->cr_base y dd->cr_base[i]. ] el asignado antes. O esos recursos nunca se liberarían y se desencadenaría una fuga de memoria.
References
  • () https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html -

17 Apr 2024, 10:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-04-17 10:15

Updated : 2025-01-14 14:56


NVD link : CVE-2024-26839

Mitre link : CVE-2024-26839

CVE.ORG link : CVE-2024-26839


JSON object : View

Products Affected

linux

  • linux_kernel

debian

  • debian_linux
CWE
CWE-401

Missing Release of Memory after Effective Lifetime