# CVE-2024-56748: scsi: qedf: Fix a possible memory leak in qedf\_alloc\_and\_init\_sb()

- Priority: **Routine**
- Reason: Not severe (CVSS 3.3, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-12-29 · Modified: 2026-05-11
- Aliases: UBUNTU-CVE-2024-56748, DEBIAN-CVE-2024-56748
- Record: https://cvemate.com/vulnerability/CVE-2024-56748 · JSON: https://cvemate.com/vulnerability/CVE-2024-56748/json

## Description

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

## Signals

- CVSS: 5.5 medium (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.232%, percentile 15.05%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 137)

- debian linux (Debian): \< 6.1.123-1 \| \< 6.12.3-1
- ubuntu linux (Ubuntu): \< 4.15.0-240.252 \| \< 5.4.0-211.231 \| \< 5.15.0-135.146 \| \< 6.8.0-58.60
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): \< 4.15.0-1183.196 \| \< 5.4.0-1142.152 \| \< 5.15.0-1080.87 \| \< 6.8.0-1027.29
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): \< 5.15.0-1080.87~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.4 (Ubuntu): \< 5.4.0-1142.152~18.04.1
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.8 (Ubuntu): \< 6.8.0-1027.29~22.04.1
- ubuntu linux-aws-fips (Ubuntu): \< 4.15.0-2121.127 \| All versions (No fix recorded) \| \< 5.4.0-1142.153+fips1 \| \< 5.15.0-1080.87+fips1
- ubuntu linux-aws-hwe (Ubuntu): \< 4.15.0-1183.196~16.04.1
- ubuntu linux-azure (Ubuntu): \< 4.15.0-1191.206~14.04.1 \| \< 4.15.0-1191.206~16.04.1 \| All versions (No fix recorded) \| \< 5.4.0-1147.154 \| \< 5.15.0-1084.93 \| \< 6.8.0-1027.32
- ubuntu linux-azure-4.15 (Ubuntu): \< 4.15.0-1191.206
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)

## References (first 20 of 54)

- <https://git.kernel.org/stable/c/97384449ddfc07f12ca75f510eb070020d7abb34>
- <https://git.kernel.org/stable/c/a56777a3ef5b35e24a20c4418bcf88bad033807a>
- <https://git.kernel.org/stable/c/64654bf5efb3f748e6fc41227adda689618ce9c4>
- <https://git.kernel.org/stable/c/b514f45e0fe18d763a1afc34401b1585333cb329>
- <https://git.kernel.org/stable/c/7c1832287b21ff68c4e3625e63cc7619edf5908b>
- <https://git.kernel.org/stable/c/0e04bd5a11dffe8c1c0e4c9fc79f7d3cd6182dd5>
- <https://git.kernel.org/stable/c/78a169dc69fbdaf114c40e2d56955bf6bd4fc3c0>
- <https://git.kernel.org/stable/c/c62c30429db3eb4ced35c7fcf6f04a61ce3a01bb>
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html>
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html>
- <https://ubuntu.com/security/CVE-2024-56748>
- <https://www.cve.org/CVERecord?id=CVE-2024-56748>
- <https://git.kernel.org/linus/c62c30429db3eb4ced35c7fcf6f04a61ce3a01bb>
- <https://ubuntu.com/security/notices/USN-7276-1>
- <https://ubuntu.com/security/notices/USN-7277-1>
- <https://ubuntu.com/security/notices/USN-7310-1>
- <https://ubuntu.com/security/notices/USN-7387-1>
- <https://ubuntu.com/security/notices/USN-7388-1>
- <https://ubuntu.com/security/notices/USN-7389-1>
- <https://ubuntu.com/security/notices/USN-7390-1>

---

Data as of 2026-12-05T05:06:29.383Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
