CVE-2024-26839

Source
https://cve.org/CVERecord?id=CVE-2024-26839
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-26839.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-26839
Downstream
Related
Published
2024-04-17T10:10:05.536Z
Modified
2026-05-28T03:53:49.638044541Z
Summary
IB/hfi1: Fix a memleak in init_credit_return
Details

In the Linux kernel, the following vulnerability has been resolved:

IB/hfi1: Fix a memleak in initcreditreturn

When dmaalloccoherent fails to allocate dd->crbase[i].va, initcreditreturn should deallocate dd->crbase and dd->cr_base[i] that allocated before. Or those resources would be never freed and a memleak is triggered.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/26xxx/CVE-2024-26839.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
7724105686e718ac476a6ad3304fea2fbcfcffde
Fixed
2e4f9f20b32658ef3724aa46f7aef4908d2609e3
Fixed
cecfb90cf71d91e9efebd68b9e9b84661b277cc8
Fixed
3fa240bb6b2dbb3e7a3ee1440a4889cbb6207eb7
Fixed
52de5805c147137205662af89ed7e083d656ae25
Fixed
f0d857ce31a6bc7a82afcdbadb8f7417d482604b
Fixed
b41d0ade0398007fb746213f09903d52a920e896
Fixed
8412c86e89cc78d8b513cb25cf2157a2adf3670a
Fixed
809aa64ebff51eb170ee31a95f83b2d21efa32e2

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-26839.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.3.0
Fixed
4.19.308
Type
ECOSYSTEM
Events
Introduced
4.20.0
Fixed
5.4.270
Type
ECOSYSTEM
Events
Introduced
5.5.0
Fixed
5.10.211
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.150
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.80
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.19
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.7.7

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-26839.json"