CVE-2024-56747

scsi: qedi: Fix a possible memory leak in qedi_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: 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().

Affected

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

4.10 ≤ v < 4.19.3254.10 ≤ v < 5.10.2314.10 ≤ v < 5.15.1744.10 ≤ v < 5.4.2874.10 ≤ v < 6.1.1204.10 ≤ v < 6.11.114.10 ≤ v < 6.12.24.10 ≤ v < 6.134.10 ≤ v < 6.6.644.20 ≤ v < 5.4.2875.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.10ace7f46ba5fde7273207c7122b0650ceb72510e0
Vendor states this is fixed in 10a6fc486ac40a410f0fb84cc15161238eccd20a (fixed)
Vendor states this is fixed in 20b775cf274cfbfa3da871a1108877e17b8b19e1 (fixed)
Vendor states this is fixed in 4e48e5b26b3edc0e1dd329201ffc924a7a1f9337 (fixed)
Vendor states this is fixed in 95bbdca4999bc59a72ebab01663d421d6ce5775d (fixed)
Vendor states this is fixed in a4d2011cbe039b25024831427b60ab91ee247066 (fixed)
Vendor states this is fixed in b778b5240485106abf665eb509cc01779ed0cb00 (fixed)
Vendor states this is fixed in bb8b45883eb072adba297922b67d1467082ac880 (fixed)
Vendor states this is fixed in cfc76acaf2c4b43d1e140f1e4cbde15adb540bc5 (fixed)
Vendor states this is fixed in eaf92fad1f21be63427920c12f22227e5f757424 (fixed)
Vendor states this is fixed in 4.10 (unaffected)
Vendor states this is fixed in 4.19.325 (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 (11)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/10a6fc486ac40a410f0fb84cc15161238eccd20a
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/20b775cf274cfbfa3da871a1108877e17b8b19e1
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/4e48e5b26b3edc0e1dd329201ffc924a7a1f9337
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/95bbdca4999bc59a72ebab01663d421d6ce5775d
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a4d2011cbe039b25024831427b60ab91ee247066
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b778b5240485106abf665eb509cc01779ed0cb00
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/bb8b45883eb072adba297922b67d1467082ac880
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/cfc76acaf2c4b43d1e140f1e4cbde15adb540bc5

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