CVE-2024-26839

MEDIUMCVSS 5.5/10EPSS 0.24%

Last modified

CVE-2024-26839 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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.. EPSS estimates a 0.24% chance of exploitation in the next 30 days.

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.

Metrics

EPSS Probability
0.24%

14.9th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersionsUpdate
LinuxLinux Kernel>= 4.3, < 4.19.308—
LinuxLinux Kernel>= 4.20, < 5.4.270—
LinuxLinux Kernel>= 5.5, < 5.10.211—
LinuxLinux Kernel>= 5.11, < 5.15.150—
LinuxLinux Kernel>= 5.16, < 6.1.80—
LinuxLinux Kernel>= 6.2, < 6.6.19—
LinuxLinux Kernel>= 6.7, < 6.7.7—
LinuxLinux Kernel6.8Rc1
DebianDebian Linux10.0—

References

Timeline

Published
Last Modified
Status
Analyzed

Frequently Asked Questions

What is 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.
How severe is CVE-2024-26839?
CVE-2024-26839 has a CVSS score of 5.5/10 (MEDIUM severity). The EPSS model estimates a 0.24% probability of exploitation in the next 30 days.
How do I fix CVE-2024-26839?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

How Strix Helps

Related CVEs from 2024

Are you affected by CVE-2024-26839?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST