CVE-2024-56748Published Dec 29, 2024 · Dec 29Updated Oct 28
scsi: qedf: Fix a possible memory leak in qedf_alloc_and_init_sb()
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 61d8658b4a435eac729966cc94cdda077a8df5cd · < 0e04bd5a11dffe8c1c0e4c9fc79f7d3cd6182dd5| No fix yet |
| Linux Linux |
|
|
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().
From the CVE record · Linux
The Linux kernel’s qedf driver can leak DMA memory when sb_init fails during qedf_alloc_and_init_sb(). The input does not specify whether an attacker can trigger this failure or whether network access, authentication, or user interaction is required.
Engineers running the Linux kernel should check whether their version includes the qedf fix; affected versions are not specified.