CVE-2024-56748

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

MEDIUM
5.5
CVSS Score
Published: December 29, 2024 at 11:30 AM UTC
Updated: June 17, 2026 at 08:12 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.11 ≤ v < 5.10.2314.11 ≤ v < 5.15.1744.11 ≤ v < 5.4.2874.11 ≤ v < 6.1.1204.11 ≤ v < 6.11.114.11 ≤ v < 6.12.24.11 ≤ v < 6.134.11 ≤ v < 6.6.645.11 ≤ v < 5.15.1745.16 ≤ v < 6.1.1205.5 ≤ v < 5.10.2316.12 ≤ v < 6.12.26.2 ≤ v < 6.6.646.7 ≤ v < 6.11.114.1161d8658b4a435eac729966cc94cdda077a8df5cd
Vendor states this is fixed in 0e04bd5a11dffe8c1c0e4c9fc79f7d3cd6182dd5 (fixed)
Vendor states this is fixed in 64654bf5efb3f748e6fc41227adda689618ce9c4 (fixed)
Vendor states this is fixed in 78a169dc69fbdaf114c40e2d56955bf6bd4fc3c0 (fixed)
Vendor states this is fixed in 7c1832287b21ff68c4e3625e63cc7619edf5908b (fixed)
Vendor states this is fixed in 97384449ddfc07f12ca75f510eb070020d7abb34 (fixed)
Vendor states this is fixed in a56777a3ef5b35e24a20c4418bcf88bad033807a (fixed)
Vendor states this is fixed in b514f45e0fe18d763a1afc34401b1585333cb329 (fixed)
Vendor states this is fixed in c62c30429db3eb4ced35c7fcf6f04a61ce3a01bb (fixed)
Vendor states this is fixed in 4.11 (unaffected)
Vendor states this is fixed in 5.10.231 (unaffected)
Vendor states this is fixed in 5.15.174 (unaffected)
Vendor states this is fixed in 5.4.287 (unaffected)
Vendor states this is fixed in 6.1.120 (unaffected)
Vendor states this is fixed in 6.11.11 (unaffected)
Vendor states this is fixed in 6.12.2 (unaffected)
Vendor states this is fixed in 6.13 (unaffected)
Vendor states this is fixed in 6.6.64 (unaffected)

References (10)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/0e04bd5a11dffe8c1c0e4c9fc79f7d3cd6182dd5
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/64654bf5efb3f748e6fc41227adda689618ce9c4
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/78a169dc69fbdaf114c40e2d56955bf6bd4fc3c0
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/7c1832287b21ff68c4e3625e63cc7619edf5908b
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/97384449ddfc07f12ca75f510eb070020d7abb34
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a56777a3ef5b35e24a20c4418bcf88bad033807a
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b514f45e0fe18d763a1afc34401b1585333cb329
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c62c30429db3eb4ced35c7fcf6f04a61ce3a01bb

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-401

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card