What’s Vulnerable › Vulnerabilities

CVE-2024-56747: scsi: qedi: Fix a possible memory leak in qedi_alloc_and_init_sb()

Description

In the Linux kernel, the following vulnerability has been resolved: scsi: qedi: Fix a possible memory leak in qedi_alloc_and_init_sb() Hook "qedi_ops->common->sb_init = qed_sb_init" does not release the DMA memory sb_virt when it fails. Add dma_free_coherent() to free it. This is the same way as qedr_alloc_mem_sb() and qede_alloc_mem_sb().

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 4.19.325, 5.10.231, 5.15.174, 5.4.287. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-56747 or the next vulnerability affects your stack