{"id":"CVE-2024-26839","summary":"IB/hfi1: Fix a memleak in init_credit_return","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nIB/hfi1: Fix a memleak in init_credit_return\n\nWhen dma_alloc_coherent fails to allocate dd-\u003ecr_base[i].va,\ninit_credit_return should deallocate dd-\u003ecr_base and\ndd-\u003ecr_base[i] that allocated before. Or those resources\nwould be never freed and a memleak is triggered.","modified":"2026-04-02T10:06:06.960210Z","published":"2024-04-17T10:10:05.536Z","related":["SUSE-SU-2024:1643-1","SUSE-SU-2024:1646-1","SUSE-SU-2024:1870-1","SUSE-SU-2024:2008-1","SUSE-SU-2024:2019-1","SUSE-SU-2024:2190-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/26xxx/CVE-2024-26839.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/2e4f9f20b32658ef3724aa46f7aef4908d2609e3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3fa240bb6b2dbb3e7a3ee1440a4889cbb6207eb7"},{"type":"WEB","url":"https://git.kernel.org/stable/c/52de5805c147137205662af89ed7e083d656ae25"},{"type":"WEB","url":"https://git.kernel.org/stable/c/809aa64ebff51eb170ee31a95f83b2d21efa32e2"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8412c86e89cc78d8b513cb25cf2157a2adf3670a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b41d0ade0398007fb746213f09903d52a920e896"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cecfb90cf71d91e9efebd68b9e9b84661b277cc8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f0d857ce31a6bc7a82afcdbadb8f7417d482604b"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/26xxx/CVE-2024-26839.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-26839"},{"type":"PACKAGE","url":"https://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/cve-osv-conversion/osv-output/CVE-2024-26839.json"}}],"schema_version":"1.7.5"}