# CVE-2024-56747: scsi: qedi: Fix a possible memory leak in qedi_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:13.739Z
- Modified: 2026-06-17T08:12:53.683Z
- 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: 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().

(As written by CVE List.)

## Affected

- Linux Linux: from ace7f46ba5fde7273207c7122b0650ceb72510e0 before 4e48e5b26b3edc0e1dd329201ffc924a7a1f9337; from ace7f46ba5fde7273207c7122b0650ceb72510e0 before eaf92fad1f21be63427920c12f22227e5f757424; from ace7f46ba5fde7273207c7122b0650ceb72510e0 before a4d2011cbe039b25024831427b60ab91ee247066; from ace7f46ba5fde7273207c7122b0650ceb72510e0 before bb8b45883eb072adba297922b67d1467082ac880; from ace7f46ba5fde7273207c7122b0650ceb72510e0 before b778b5240485106abf665eb509cc01779ed0cb00; from ace7f46ba5fde7273207c7122b0650ceb72510e0 before 10a6fc486ac40a410f0fb84cc15161238eccd20a; from ace7f46ba5fde7273207c7122b0650ceb72510e0 before cfc76acaf2c4b43d1e140f1e4cbde15adb540bc5; from ace7f46ba5fde7273207c7122b0650ceb72510e0 before 20b775cf274cfbfa3da871a1108877e17b8b19e1; from ace7f46ba5fde7273207c7122b0650ceb72510e0 before 95bbdca4999bc59a72ebab01663d421d6ce5775d; 4.10 (not affected: before 4.10; from 4.19.325 up to 4.19.*; 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.10 before 4.19.325; from 4.20 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/4e48e5b26b3edc0e1dd329201ffc924a7a1f9337> (patch)
- <https://git.kernel.org/stable/c/eaf92fad1f21be63427920c12f22227e5f757424> (patch)
- <https://git.kernel.org/stable/c/a4d2011cbe039b25024831427b60ab91ee247066> (patch)
- <https://git.kernel.org/stable/c/bb8b45883eb072adba297922b67d1467082ac880> (patch)
- <https://git.kernel.org/stable/c/b778b5240485106abf665eb509cc01779ed0cb00> (patch)
- <https://git.kernel.org/stable/c/10a6fc486ac40a410f0fb84cc15161238eccd20a> (patch)
- <https://git.kernel.org/stable/c/cfc76acaf2c4b43d1e140f1e4cbde15adb540bc5> (patch)
- <https://git.kernel.org/stable/c/20b775cf274cfbfa3da871a1108877e17b8b19e1> (patch)
- <https://git.kernel.org/stable/c/95bbdca4999bc59a72ebab01663d421d6ce5775d> (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-56747](https://www.cve.org/CVERecord?id=CVE-2024-56747), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2024-56747](https://nvd.nist.gov/vuln/detail/CVE-2024-56747), Public domain, modified 2026-06-17

---

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