Bug 2334826 (CVE-2024-56748) - CVE-2024-56748 kernel: scsi: qedf: Fix a possible memory leak in qedf_alloc_and_init_sb()
Summary: CVE-2024-56748 kernel: scsi: qedf: Fix a possible memory leak in qedf_alloc_a...
Keywords:
Status: NEW
Alias: CVE-2024-56748
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-12-29 12:02 UTC by OSIDB Bzimport
Modified: 2024-12-30 05:37 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2024-12-29 12:02:32 UTC
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().

Comment 1 Avinash Hanwate 2024-12-30 03:55:46 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024122927-CVE-2024-56748-eb85@gregkh/T

Comment 3 Avinash Hanwate 2024-12-30 05:33:39 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024122927-CVE-2024-56748-eb85@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.