{"id":"CVE-2024-56748","summary":"scsi: qedf: Fix a possible memory leak in qedf_alloc_and_init_sb()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: qedf: Fix a possible memory leak in qedf_alloc_and_init_sb()\n\nHook \"qed_ops-\u003ecommon-\u003esb_init = qed_sb_init\" does not release the DMA\nmemory sb_virt when it fails. Add dma_free_coherent() to free it. This\nis the same way as qedr_alloc_mem_sb() and qede_alloc_mem_sb().","modified":"2026-04-02T12:25:12.686080Z","published":"2024-12-29T11:30:14.378Z","related":["SUSE-SU-2025:0289-1","SUSE-SU-2025:0428-1","SUSE-SU-2025:0499-1","SUSE-SU-2025:0557-1","SUSE-SU-2025:0565-1","SUSE-SU-2025:20165-1","SUSE-SU-2025:20166-1","SUSE-SU-2025:20248-1","SUSE-SU-2025:20249-1","USN-7276-1","USN-7277-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/56xxx/CVE-2024-56748.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/0e04bd5a11dffe8c1c0e4c9fc79f7d3cd6182dd5"},{"type":"WEB","url":"https://git.kernel.org/stable/c/64654bf5efb3f748e6fc41227adda689618ce9c4"},{"type":"WEB","url":"https://git.kernel.org/stable/c/78a169dc69fbdaf114c40e2d56955bf6bd4fc3c0"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7c1832287b21ff68c4e3625e63cc7619edf5908b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/97384449ddfc07f12ca75f510eb070020d7abb34"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a56777a3ef5b35e24a20c4418bcf88bad033807a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b514f45e0fe18d763a1afc34401b1585333cb329"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c62c30429db3eb4ced35c7fcf6f04a61ce3a01bb"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/56xxx/CVE-2024-56748.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-56748"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"61d8658b4a435eac729966cc94cdda077a8df5cd"},{"fixed":"97384449ddfc07f12ca75f510eb070020d7abb34"},{"fixed":"a56777a3ef5b35e24a20c4418bcf88bad033807a"},{"fixed":"64654bf5efb3f748e6fc41227adda689618ce9c4"},{"fixed":"b514f45e0fe18d763a1afc34401b1585333cb329"},{"fixed":"7c1832287b21ff68c4e3625e63cc7619edf5908b"},{"fixed":"0e04bd5a11dffe8c1c0e4c9fc79f7d3cd6182dd5"},{"fixed":"78a169dc69fbdaf114c40e2d56955bf6bd4fc3c0"},{"fixed":"c62c30429db3eb4ced35c7fcf6f04a61ce3a01bb"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-56748.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L"}]}