CVE-2024-56747: scsi: qedi: Fix a possible memory leak in qedi_alloc_and_init_sb()
In the Linux kernel, the following vulnerability has been resolved:
scsi: qedi: Fix a possible memory leak in qediallocandinitsb()
Hook "qediops->common->sbinit = qedsbinit" does not release the DMA memory sbvirt when it fails. Add dmafreecoherent() to free it. This is the same way as qedrallocmemsb() and qedeallocmemsb().
Other sources
This CVE was automatically created from a reference found in an email or other text. If you are reading this, then this CVE entry is probably erroneous, since this text should be replaced by the official CVE description automatically.
— Launchpad
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2024-56747?
CVE-2024-56747 is classified as a medium severity vulnerability in the Linux kernel.
How do I fix CVE-2024-56747?
To fix CVE-2024-56747, ensure your Linux kernel is updated to a version that includes the patch for the vulnerability.
What systems are affected by CVE-2024-56747?
CVE-2024-56747 affects multiple versions of the Linux kernel from 4.10 to 6.12.
What type of vulnerability is CVE-2024-56747?
CVE-2024-56747 is a memory leak vulnerability related to the qedi driver in the Linux kernel.
Is there a workaround for CVE-2024-56747?
Currently, there is no known workaround for CVE-2024-56747; updating the kernel is the recommended solution.