CVE-2024-56747

scsi: qedi: Fix a possible memory leak in qedi_alloc_and_init_sb()

State
Published
Severity
3.3 Low
Published
Dec 29, 2024
Updated
May 11, 2026
Reserved
Dec 29, 2024

Read the record on cve.org

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

Scores

CVSSScoreVectorSource
3.13.3 LowCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:LCISA-ADP

Weaknesses

  • CWE-401 Missing Release of Memory after Effective Lifetime

Affected Products

ProductVersions
LinuxLinux
  • ace7f46ba5fde7273207c7122b0650ceb72510e0 to before 4e48e5b26b3edc0e1dd329201ffc924a7a1f9337Affected
  • ace7f46ba5fde7273207c7122b0650ceb72510e0 to before eaf92fad1f21be63427920c12f22227e5f757424Affected
  • ace7f46ba5fde7273207c7122b0650ceb72510e0 to before a4d2011cbe039b25024831427b60ab91ee247066Affected
  • ace7f46ba5fde7273207c7122b0650ceb72510e0 to before bb8b45883eb072adba297922b67d1467082ac880Affected
  • ace7f46ba5fde7273207c7122b0650ceb72510e0 to before b778b5240485106abf665eb509cc01779ed0cb00Affected
  • ace7f46ba5fde7273207c7122b0650ceb72510e0 to before 10a6fc486ac40a410f0fb84cc15161238eccd20aAffected
  • ace7f46ba5fde7273207c7122b0650ceb72510e0 to before cfc76acaf2c4b43d1e140f1e4cbde15adb540bc5Affected
  • ace7f46ba5fde7273207c7122b0650ceb72510e0 to before 20b775cf274cfbfa3da871a1108877e17b8b19e1Affected
  • ace7f46ba5fde7273207c7122b0650ceb72510e0 to before 95bbdca4999bc59a72ebab01663d421d6ce5775dAffected
LinuxLinux
  • 4.10Affected
  • before 4.10Not affected
  • 4.19.325 through 4.19.*Not affected
  • 5.4.287 through 5.4.*Not affected
  • 5.10.231 through 5.10.*Not affected
  • 5.15.174 through 5.15.*Not affected
  • 6.1.120 through 6.1.*Not affected
  • 6.6.64 through 6.6.*Not affected
  • 6.11.11 through 6.11.*Not affected
  • 6.12.2 through 6.12.*Not affected
  • 6.13 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.