{"id":"CVE-2024-56747","summary":"scsi: qedi: Fix a possible memory leak in qedi_alloc_and_init_sb()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: qedi: Fix a possible memory leak in qedi_alloc_and_init_sb()\n\nHook \"qedi_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-03-20T12:41:00.838168Z","published":"2024-12-29T11:30:13.739Z","related":["SUSE-SU-2025:0289-1","SUSE-SU-2025:0428-1","SUSE-SU-2025:0499-1","SUSE-SU-2025:0556-1","SUSE-SU-2025:0557-1","SUSE-SU-2025:0565-1","SUSE-SU-2025:0577-1","SUSE-SU-2025:0577-2","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-56747.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/10a6fc486ac40a410f0fb84cc15161238eccd20a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/20b775cf274cfbfa3da871a1108877e17b8b19e1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4e48e5b26b3edc0e1dd329201ffc924a7a1f9337"},{"type":"WEB","url":"https://git.kernel.org/stable/c/95bbdca4999bc59a72ebab01663d421d6ce5775d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a4d2011cbe039b25024831427b60ab91ee247066"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b778b5240485106abf665eb509cc01779ed0cb00"},{"type":"WEB","url":"https://git.kernel.org/stable/c/bb8b45883eb072adba297922b67d1467082ac880"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cfc76acaf2c4b43d1e140f1e4cbde15adb540bc5"},{"type":"WEB","url":"https://git.kernel.org/stable/c/eaf92fad1f21be63427920c12f22227e5f757424"},{"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-56747.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-56747"},{"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":"ace7f46ba5fde7273207c7122b0650ceb72510e0"},{"fixed":"4e48e5b26b3edc0e1dd329201ffc924a7a1f9337"},{"fixed":"eaf92fad1f21be63427920c12f22227e5f757424"},{"fixed":"a4d2011cbe039b25024831427b60ab91ee247066"},{"fixed":"bb8b45883eb072adba297922b67d1467082ac880"},{"fixed":"b778b5240485106abf665eb509cc01779ed0cb00"},{"fixed":"10a6fc486ac40a410f0fb84cc15161238eccd20a"},{"fixed":"cfc76acaf2c4b43d1e140f1e4cbde15adb540bc5"},{"fixed":"20b775cf274cfbfa3da871a1108877e17b8b19e1"},{"fixed":"95bbdca4999bc59a72ebab01663d421d6ce5775d"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-56747.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"}]}