CVE-2024-56748

published 29 Dec 2024 · updated 11 May 2026

scsi: qedf: Fix a possible memory leak in qedf_alloc_and_init_sb()

3.3LowCVSS 3.3EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 0e04bd5a11dffe8c1c0e4c9fc79f7d3cd6182dd5, Kernel 64654bf5efb3f748e6fc41227adda689618ce9c4, Kernel 78a169dc69fbdaf114c40e2d56955bf6bd4fc3c0 and 5 more.

In the Linux kernel, the following vulnerability has been resolved: scsi: qedf: Fix a possible memory leak in qedf_alloc_and_init_sb() Hook "qed_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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=4.11, >=61d8658b4a435eac729966cc94cdda077a8df5cd <0e04bd5a11dffe8c1c0e4c9fc79f7d3cd6182dd5, >=61d8658b4a435eac729966cc94cdda077a8df5cd <64654bf5efb3f748e6fc41227adda689618ce9c4, >=61d8658b4a435eac729966cc94cdda077a8df5cd <78a169dc69fbdaf114c40e2d56955bf6bd4fc3c0, >=61d8658b4a435eac729966cc94cdda077a8df5cd <7c1832287b21ff68c4e3625e63cc7619edf5908b, >=61d8658b4a435eac729966cc94cdda077a8df5cd <97384449ddfc07f12ca75f510eb070020d7abb34, >=61d8658b4a435eac729966cc94cdda077a8df5cd <a56777a3ef5b35e24a20c4418bcf88bad033807a, >=61d8658b4a435eac729966cc94cdda077a8df5cd <b514f45e0fe18d763a1afc34401b1585333cb329, >=61d8658b4a435eac729966cc94cdda077a8df5cd <c62c30429db3eb4ced35c7fcf6f04a61ce3a01bb0e04bd5a11dffe8c1c0e4c9fc79f7d3cd6182dd5, 64654bf5efb3f748e6fc41227adda689618ce9c4, 78a169dc69fbdaf114c40e2d56955bf6bd4fc3c0, 7c1832287b21ff68c4e3625e63cc7619edf5908b, 97384449ddfc07f12ca75f510eb070020d7abb34, a56777a3ef5b35e24a20c4418bcf88bad033807a, b514f45e0fe18d763a1afc34401b1585333cb329, c62c30429db3eb4ced35c7fcf6f04a61ce3a01bb

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-56748 severity on Zeptric[![CVE-2024-56748](https://zeptric.io/badge/cve/CVE-2024-56748.svg)](https://zeptric.io/cve/CVE-2024-56748)