# CVE-2024-56748: scsi: qedf: Fix a possible memory leak in qedf_alloc_and_init_sb()

- Severity: Low 3.3 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 15% of CVEs (2026-12-01)
- Published: 2024-12-29T11:30:14.378Z
- Modified: 2026-06-17T08:12:53.867Z
- Weaknesses: CWE-401
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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().

(As written by CVE List.)

## Affected

- Linux Linux: from 61d8658b4a435eac729966cc94cdda077a8df5cd before 97384449ddfc07f12ca75f510eb070020d7abb34; from 61d8658b4a435eac729966cc94cdda077a8df5cd before a56777a3ef5b35e24a20c4418bcf88bad033807a; from 61d8658b4a435eac729966cc94cdda077a8df5cd before 64654bf5efb3f748e6fc41227adda689618ce9c4; from 61d8658b4a435eac729966cc94cdda077a8df5cd before b514f45e0fe18d763a1afc34401b1585333cb329; from 61d8658b4a435eac729966cc94cdda077a8df5cd before 7c1832287b21ff68c4e3625e63cc7619edf5908b; from 61d8658b4a435eac729966cc94cdda077a8df5cd before 0e04bd5a11dffe8c1c0e4c9fc79f7d3cd6182dd5; from 61d8658b4a435eac729966cc94cdda077a8df5cd before 78a169dc69fbdaf114c40e2d56955bf6bd4fc3c0; from 61d8658b4a435eac729966cc94cdda077a8df5cd before c62c30429db3eb4ced35c7fcf6f04a61ce3a01bb; 4.11 (not affected: before 4.11; from 5.4.287 up to 5.4.*; from 5.10.231 up to 5.10.*; from 5.15.174 up to 5.15.*; from 6.1.120 up to 6.1.*; from 6.6.64 up to 6.6.*; from 6.11.11 up to 6.11.*; from 6.12.2 up to 6.12.*; from 6.13 up to *)
- linux linux_kernel: from 4.11 before 5.4.287; from 5.5 before 5.10.231; from 5.11 before 5.15.174; from 5.16 before 6.1.120; from 6.2 before 6.6.64; from 6.7 before 6.11.11; from 6.12 before 6.12.2

## Every score

- CISA-ADP: CVSS:3.1 3.3 Low `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/97384449ddfc07f12ca75f510eb070020d7abb34> (patch)
- <https://git.kernel.org/stable/c/a56777a3ef5b35e24a20c4418bcf88bad033807a> (patch)
- <https://git.kernel.org/stable/c/64654bf5efb3f748e6fc41227adda689618ce9c4> (patch)
- <https://git.kernel.org/stable/c/b514f45e0fe18d763a1afc34401b1585333cb329> (patch)
- <https://git.kernel.org/stable/c/7c1832287b21ff68c4e3625e63cc7619edf5908b> (patch)
- <https://git.kernel.org/stable/c/0e04bd5a11dffe8c1c0e4c9fc79f7d3cd6182dd5> (patch)
- <https://git.kernel.org/stable/c/78a169dc69fbdaf114c40e2d56955bf6bd4fc3c0> (patch)
- <https://git.kernel.org/stable/c/c62c30429db3eb4ced35c7fcf6f04a61ce3a01bb> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html>
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html>

## Sources

- CVE List: [CVE-2024-56748](https://www.cve.org/CVERecord?id=CVE-2024-56748), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2024-56748](https://nvd.nist.gov/vuln/detail/CVE-2024-56748), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-56748 · Whole record: https://cve.day/CVE-2024-56748.json · Rebuilt by cve.day 2026-11-25T22:58:50.563Z
