CVE-2024-26839 json
IB/hfi1: Fix a memleak in init_credit_return
published 2024-04-17 2 y ago modified 2026-06-17 4 mo ago also EUVD-2024-24101
- cvss
- 5.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 15%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- Linux Linux 4.19.308, 5.4.270, 5.10.211, 5.15.150, 6.1.80, 6.6.19, 6.7.7, 6.8
- linux Debian 12 6.1.82-1
- linux Debian 14, Debian 13 6.7.7-1
debian advisories DEBIAN-CVE-2024-26839
- linux Ubuntu 20.04 LTS 5.4.0-186.206
- linux Ubuntu 22.04 LTS 5.15.0-112.122
- linux-aws Ubuntu 20.04 LTS 5.4.0-1126.136
- linux-aws Ubuntu 22.04 LTS 5.15.0-1063.69
- linux-gcp Ubuntu 20.04 LTS 5.4.0-1130.139
- linux-gcp Ubuntu 22.04 LTS 5.15.0-1062.70
- linux-gke Ubuntu 22.04 LTS 5.15.0-1060.66
- linux-ibm Ubuntu 20.04 LTS 5.4.0-1073.78
ubuntu advisories UBUNTU-CVE-2024-26839
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- dtb-aarch64 openSUSE Leap 15.5 5.14.21-150500.55.68.1
- kernel-64kb SLE Module for Basesystem 15 SP5, openSUSE Leap 15.5 5.14.21-150500.55.68.1
- kernel-syms SLE Module for Development Tools 15 SP5, openSUSE Leap 15.5 5.14.21-150500.55.68.1
- kernel-obs-qa openSUSE Leap 15.5 5.14.21-150500.55.68.1
- kernel-source SLE Module for Development Tools 15 SP5, SLE Module for Basesystem 15 SP5, openSUSE Leap 15.5 5.14.21-150500.55.68.1
- kernel-default SLE Workstation Extension 15 SP5, SLE Module for Legacy 15 SP5, SLE Module for Basesystem 15 SP5 +4 more 5.14.21-150500.55.68.1
- kernel-kvmsmall openSUSE Leap 15.5 5.14.21-150500.55.68.1
- kernel-zfcpdump SLE Module for Basesystem 15 SP5, openSUSE Leap 15.5 5.14.21-150500.55.68.1
suse advisories SUSE-SU-2024:2190-1SUSE-SU-2024:2019-1SUSE-SU-2024:2008-1SUSE-SU-2024:1870-1SUSE-SU-2024:1646-1SUSE-SU-2024:1643-1
- git.kernel.org/stable/c/2e4f9f20b32658ef3724aa46f7aef4908d2609e3 commit
- git.kernel.org/stable/c/cecfb90cf71d91e9efebd68b9e9b84661b277cc8 commit
- git.kernel.org/stable/c/3fa240bb6b2dbb3e7a3ee1440a4889cbb6207eb7 commit
- git.kernel.org/stable/c/52de5805c147137205662af89ed7e083d656ae25 commit
- git.kernel.org/stable/c/f0d857ce31a6bc7a82afcdbadb8f7417d482604b commit
- git.kernel.org/stable/c/b41d0ade0398007fb746213f09903d52a920e896 commit
- git.kernel.org/stable/c/8412c86e89cc78d8b513cb25cf2157a2adf3670a commit
- git.kernel.org/stable/c/809aa64ebff51eb170ee31a95f83b2d21efa32e2 commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-26839 updated cvss 4.4
kernel: IB/hfi1: Fix a memleak in init_credit_return
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
cisa ICSA-25-226-15 updated
Siemens SINEC OS
-
Siemens RUGGEDCOM RST2428P (6GK6242-6PA00) Siemens SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family Siemens SCALANCE XCM-/XRM-/XCH-/XRH-300 familynot affected
Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.24% chance of exploitation in the next 30 days, higher than 15% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected products
- Linux Linux
Classification
- Weakness
-
- CWE-401 Missing Release of Memory after Effective Lifetime
- Technology feeds
References
-
git.kernel.org
/stable/c/2e4f9f20b32658ef3724aa46f7aef4908d2609e3
patch
-
git.kernel.org
/stable/c/cecfb90cf71d91e9efebd68b9e9b84661b277cc8
patch
-
git.kernel.org
/stable/c/3fa240bb6b2dbb3e7a3ee1440a4889cbb6207eb7
patch
-
git.kernel.org
/stable/c/52de5805c147137205662af89ed7e083d656ae25
patch
-
git.kernel.org
/stable/c/f0d857ce31a6bc7a82afcdbadb8f7417d482604b
patch
-
git.kernel.org
/stable/c/b41d0ade0398007fb746213f09903d52a920e896
patch
-
git.kernel.org
/stable/c/8412c86e89cc78d8b513cb25cf2157a2adf3670a
patch
-
git.kernel.org
/stable/c/809aa64ebff51eb170ee31a95f83b2d21efa32e2
patch
-
lists.debian.org
/debian-lts-announce/2024/06/msg00017.html
mailing-list
-
lists.debian.org
/debian-lts-announce/2024/06/msg00020.html
mailing-list
Sources
- CVE List CVE-2024-26839
- NVD CVE-2024-26839
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.