scsi: qla2xxx: Fix memory leak in __qlt_24xx_handle_abts() (Linux Linux)

CVE-2022-48650
MEDIUM 4.7

At a glance

Source
NVD
EPSS
EPSS 0.23 % · percentile 14 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: scsi: qla2xxx: Fix memory leak in __qlt_24xx_handle_abts() Commit 8f394da36a36 ("scsi: qla2xxx: Drop TARGET_SCF_LOOKUP_LUN_FROM_TAG") made the __qlt_24xx_handle_abts() function return early if tcm_qla2xxx_find_cmd_by_tag() didn't find a command, but it missed to clean up the allocated memory for the management command.

Weaknesses (CWE)

  • CWE-401 — Missing Release of Memory after Effective Lifetime

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 4.7CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:HCISA-ADP
CVSS 3.1MEDIUM 4.7CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 1c5bf7c529d95755f32b8ef449d10df2d50aaf5a < 29a22a3d495c147117137719d2c39045c44ccebf ; affected 8f394da36a361cbe0e1e8b1d4213e5598c8095ac < 89df49e561b4a8948521fc3f8a013012eaa08f82 ; affected 8f394da36a361cbe0e1e8b1d4213e5598c8095ac < 6a4236ed47f5b0a57eb6b8fb1c351b15b3d341d7 ; affected 8f394da36a361cbe0e1e8b1d4213e5598c8095ac < 601be20fc6a1b762044d2398befffd6bf236cebf
Linux · Linuxaffected 5.11 ; unaffected 0 < 5.11 ; unaffected 5.15.71 ≤ 5.15.* ; unaffected 5.19.12 ≤ 5.19.* ; unaffected 6.0 ≤ *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD