CVE-2024-56747Published Dec 29, 2024 · Dec 29Updated Oct 28
scsi: qedi: Fix a possible memory leak in qedi_alloc_and_init_sb()
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ ace7f46ba5fde7273207c7122b0650ceb72510e0 · < 10a6fc486ac40a410f0fb84cc15161238eccd20a| No fix yet |
| Linux Linux |
|
|
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().
From the CVE record · Linux
The Linux kernel’s qedi driver can leak DMA memory allocated by qedi_alloc_and_init_sb() if sb_init fails. The input does not describe an attacker action or specify network access, authentication, or user interaction requirements.
Engineers running Linux kernels with the qedi driver should check their versions; affected versions were not provided.