CVE-2021-47473

MEDIUM

Linux Kernel 3.11-5.10.76 - Use-After-Free in qla2x00_process_els() Error Path

Title source: llm
STIX 2.1

Description

In the Linux kernel, the following vulnerability has been resolved: scsi: qla2xxx: Fix a memory leak in an error path of qla2x00_process_els() Commit 8c0eb596baa5 ("[SCSI] qla2xxx: Fix a memory leak in an error path of qla2x00_process_els()"), intended to change: bsg_job->request->msgcode == FC_BSG_HST_ELS_NOLOGIN bsg_job->request->msgcode != FC_BSG_RPT_ELS but changed it to: bsg_job->request->msgcode == FC_BSG_RPT_ELS instead. Change the == to a != to avoid leaking the fcport structure or freeing unallocated memory.

Scores

CVSS v3 5.5
EPSS 0.0021
EPSS Percentile 11.0%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-401
Status published
Products (10)
Linux/Linux < 3.11
Linux/Linux 3.11
Linux/Linux 5.10.76 - 5.10.*
Linux/Linux 5.14.15 - 5.14.*
Linux/Linux 5.15
Linux/Linux 8c0eb596baa51f2b43949c698c644727ef17805c - 7fb223d0ad801f633c78cbe42b1d1b55f5d163ad
Linux/Linux 8c0eb596baa51f2b43949c698c644727ef17805c - 96f0aebf29be25254fa585af43924e34aa21fd9a
Linux/Linux 8c0eb596baa51f2b43949c698c644727ef17805c - a7fbb56e6c941d9f59437b96412a348e66388d3e
linux/linux_kernel 5.15 rc1 (6 CPE variants)
linux/linux_kernel 3.11 - 5.10.76
Published May 22, 2024
Tracked Since Feb 18, 2026