CVE-2024-56748
JSON

3.3low

scsi: qedf: Fix a possible memory leak in qedf_alloc_and_init_sb()

Severity
3.3low CVSS:3.1 by CISA-ADP
Exploit likelihood
0.23% (higher than 15% of CVEs; EPSS, by FIRST)
Published
Last changed
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().

Affected

Product or packageVersionsReported by
Linux Linuxfrom 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 and 1 more
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.*
CVE List
linux linux_kernelfrom 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.2NVD

All scores

CISA-ADP3.3low CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-401

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: scsi: qedf: Se corrige una posible pérdida de memoria en qedf_alloc_and_init_sb() El gancho "qed_ops->common->sb_init = qed_sb_init" no libera la memoria DMA sb_virt cuando falla. Agregue dma_free_coherent() para liberarla. Esta es la misma forma que qedr_alloc_mem_sb() y qede_alloc_mem_sb().

References

Sources

SourceRecordLicence
CVE ListCVE-2024-56748 changed 2026-05-11CVE Terms of Use
NVDCVE-2024-56748 changed 2026-06-17Public domain