CVE-2024-56747

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

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

History

07 Jan 2025, 22:47

Type Values Removed Values Added
Summary
  • (es) En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: scsi: qedi: Se corrige una posible pérdida de memoria en qedi_alloc_and_init_sb(). El gancho "qedi_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 () https://git.kernel.org/stable/c/10a6fc486ac40a410f0fb84cc15161238eccd20a - () https://git.kernel.org/stable/c/10a6fc486ac40a410f0fb84cc15161238eccd20a - Patch
References () https://git.kernel.org/stable/c/20b775cf274cfbfa3da871a1108877e17b8b19e1 - () https://git.kernel.org/stable/c/20b775cf274cfbfa3da871a1108877e17b8b19e1 - Patch
References () https://git.kernel.org/stable/c/4e48e5b26b3edc0e1dd329201ffc924a7a1f9337 - () https://git.kernel.org/stable/c/4e48e5b26b3edc0e1dd329201ffc924a7a1f9337 - Patch
References () https://git.kernel.org/stable/c/95bbdca4999bc59a72ebab01663d421d6ce5775d - () https://git.kernel.org/stable/c/95bbdca4999bc59a72ebab01663d421d6ce5775d - Patch
References () https://git.kernel.org/stable/c/a4d2011cbe039b25024831427b60ab91ee247066 - () https://git.kernel.org/stable/c/a4d2011cbe039b25024831427b60ab91ee247066 - Patch
References () https://git.kernel.org/stable/c/b778b5240485106abf665eb509cc01779ed0cb00 - () https://git.kernel.org/stable/c/b778b5240485106abf665eb509cc01779ed0cb00 - Patch
References () https://git.kernel.org/stable/c/bb8b45883eb072adba297922b67d1467082ac880 - () https://git.kernel.org/stable/c/bb8b45883eb072adba297922b67d1467082ac880 - Patch
References () https://git.kernel.org/stable/c/cfc76acaf2c4b43d1e140f1e4cbde15adb540bc5 - () https://git.kernel.org/stable/c/cfc76acaf2c4b43d1e140f1e4cbde15adb540bc5 - Patch
References () https://git.kernel.org/stable/c/eaf92fad1f21be63427920c12f22227e5f757424 - () https://git.kernel.org/stable/c/eaf92fad1f21be63427920c12f22227e5f757424 - Patch
First Time Linux
Linux linux Kernel
CPE cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.5
CWE CWE-401

29 Dec 2024, 12:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-12-29 12:15

Updated : 2025-04-17 20:15


NVD link : CVE-2024-56747

Mitre link : CVE-2024-56747

CVE.ORG link : CVE-2024-56747


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-401

Missing Release of Memory after Effective Lifetime