CVE-2024-56748
scsi: qedf: Fix a possible memory leak in qedf_alloc_and_init_sb()
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().
INFO
Published Date :
Dec. 29, 2024, 12:15 p.m.
Last Modified :
April 17, 2025, 9:15 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
---|---|---|---|---|---|---|
CVSS 3.1 | MEDIUM | [email protected] | ||||
CVSS 3.1 | LOW | 134c704f-9b21-4f2e-91b3-4a467353bcc0 |
Solution
- Update the affected kernel packages.
- Reboot the system if required.
Public PoC/Exploit Available at Github
CVE-2024-56748 has a 1 public
PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2024-56748
.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2024-56748
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2024-56748
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
None
JavaScript
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2024-56748
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2024-56748
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Apr. 17, 2025
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L Added CWE CWE-401 -
Initial Analysis by [email protected]
Jan. 06, 2025
Action Type Old Value New Value Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H Added CWE NIST CWE-401 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.11 up to (excluding) 5.4.287 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.5 up to (excluding) 5.10.231 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.15.174 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 6.1.120 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.6.64 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.11.11 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.12 up to (excluding) 6.12.2 Changed Reference Type https://git.kernel.org/stable/c/0e04bd5a11dffe8c1c0e4c9fc79f7d3cd6182dd5 No Types Assigned https://git.kernel.org/stable/c/0e04bd5a11dffe8c1c0e4c9fc79f7d3cd6182dd5 Patch Changed Reference Type https://git.kernel.org/stable/c/64654bf5efb3f748e6fc41227adda689618ce9c4 No Types Assigned https://git.kernel.org/stable/c/64654bf5efb3f748e6fc41227adda689618ce9c4 Patch Changed Reference Type https://git.kernel.org/stable/c/78a169dc69fbdaf114c40e2d56955bf6bd4fc3c0 No Types Assigned https://git.kernel.org/stable/c/78a169dc69fbdaf114c40e2d56955bf6bd4fc3c0 Patch Changed Reference Type https://git.kernel.org/stable/c/7c1832287b21ff68c4e3625e63cc7619edf5908b No Types Assigned https://git.kernel.org/stable/c/7c1832287b21ff68c4e3625e63cc7619edf5908b Patch Changed Reference Type https://git.kernel.org/stable/c/97384449ddfc07f12ca75f510eb070020d7abb34 No Types Assigned https://git.kernel.org/stable/c/97384449ddfc07f12ca75f510eb070020d7abb34 Patch Changed Reference Type https://git.kernel.org/stable/c/a56777a3ef5b35e24a20c4418bcf88bad033807a No Types Assigned https://git.kernel.org/stable/c/a56777a3ef5b35e24a20c4418bcf88bad033807a Patch Changed Reference Type https://git.kernel.org/stable/c/b514f45e0fe18d763a1afc34401b1585333cb329 No Types Assigned https://git.kernel.org/stable/c/b514f45e0fe18d763a1afc34401b1585333cb329 Patch Changed Reference Type https://git.kernel.org/stable/c/c62c30429db3eb4ced35c7fcf6f04a61ce3a01bb No Types Assigned https://git.kernel.org/stable/c/c62c30429db3eb4ced35c7fcf6f04a61ce3a01bb Patch -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Dec. 29, 2024
Action Type Old Value New Value Added 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(). Added Reference https://git.kernel.org/stable/c/0e04bd5a11dffe8c1c0e4c9fc79f7d3cd6182dd5 Added Reference https://git.kernel.org/stable/c/64654bf5efb3f748e6fc41227adda689618ce9c4 Added Reference https://git.kernel.org/stable/c/78a169dc69fbdaf114c40e2d56955bf6bd4fc3c0 Added Reference https://git.kernel.org/stable/c/7c1832287b21ff68c4e3625e63cc7619edf5908b Added Reference https://git.kernel.org/stable/c/97384449ddfc07f12ca75f510eb070020d7abb34 Added Reference https://git.kernel.org/stable/c/a56777a3ef5b35e24a20c4418bcf88bad033807a Added Reference https://git.kernel.org/stable/c/b514f45e0fe18d763a1afc34401b1585333cb329 Added Reference https://git.kernel.org/stable/c/c62c30429db3eb4ced35c7fcf6f04a61ce3a01bb