CVE-2024-56748: scsi: qedf: Fix a possible memory leak in qedf_alloc_and_init_sb()
In the Linux kernel, the following vulnerability has been resolved:
scsi: qedf: Fix a possible memory leak in qedfallocandinitsb()
Hook "qedops->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-56748?
CVE-2024-56748 has a medium severity rating due to the potential for memory leaks in the Linux kernel SCSI subsystem.
How do I fix CVE-2024-56748?
To address CVE-2024-56748, ensure you update your Linux kernel to a version that includes the fix for the memory leak, specifically updating beyond version 6.12.
Which versions of the Linux kernel are affected by CVE-2024-56748?
CVE-2024-56748 affects Linux kernel versions from 4.11 to 6.12, excluding the patched versions.
What is the impact of CVE-2024-56748 on system security?
The impact of CVE-2024-56748 can potentially lead to resource exhaustion through memory leaks, which may degrade system performance or stability.
Is there a known workaround for CVE-2024-56748?
Currently, there are no known workarounds for CVE-2024-56748, and users are advised to apply the kernel update to mitigate the vulnerability.