CVE-2021-47473

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.15:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.15:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.15:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.15:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.15:rc5:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.15:rc6:*:*:*:*:*:*

History

07 Jan 2025, 20:19

Type Values Removed Values Added
First Time Linux linux Kernel
Linux
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.5
References () https://git.kernel.org/stable/c/7fb223d0ad801f633c78cbe42b1d1b55f5d163ad - () https://git.kernel.org/stable/c/7fb223d0ad801f633c78cbe42b1d1b55f5d163ad - Patch
References () https://git.kernel.org/stable/c/96f0aebf29be25254fa585af43924e34aa21fd9a - () https://git.kernel.org/stable/c/96f0aebf29be25254fa585af43924e34aa21fd9a - Patch
References () https://git.kernel.org/stable/c/a7fbb56e6c941d9f59437b96412a348e66388d3e - () https://git.kernel.org/stable/c/a7fbb56e6c941d9f59437b96412a348e66388d3e - Patch
CWE CWE-401
CPE cpe:2.3:o:linux:linux_kernel:5.15:rc6:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.15:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.15:rc5:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.15:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.15:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.15:rc2:*:*:*:*:*:*

21 Nov 2024, 06:36

Type Values Removed Values Added
Summary
  • (es) En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: scsi: qla2xxx: corrige una pérdida de memoria en una ruta de error de qla2x00_process_els() Commit 8c0eb596baa5 ("[SCSI] qla2xxx: corrige una pérdida de memoria en una ruta de error de qla2x00_process_els()" ), destinado a cambiar: bsg_job->request->msgcode == FC_BSG_HST_ELS_NOLOGIN bsg_job->request->msgcode != FC_BSG_RPT_ELS pero lo cambió a: bsg_job->request->msgcode == FC_BSG_RPT_ELS en su lugar. Cambie == a != para evitar filtrar la estructura del fcport o liberar memoria no asignada.
References () https://git.kernel.org/stable/c/7fb223d0ad801f633c78cbe42b1d1b55f5d163ad - () https://git.kernel.org/stable/c/7fb223d0ad801f633c78cbe42b1d1b55f5d163ad -
References () https://git.kernel.org/stable/c/96f0aebf29be25254fa585af43924e34aa21fd9a - () https://git.kernel.org/stable/c/96f0aebf29be25254fa585af43924e34aa21fd9a -
References () https://git.kernel.org/stable/c/a7fbb56e6c941d9f59437b96412a348e66388d3e - () https://git.kernel.org/stable/c/a7fbb56e6c941d9f59437b96412a348e66388d3e -

22 May 2024, 07:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-05-22 07:15

Updated : 2025-01-07 20:19


NVD link : CVE-2021-47473

Mitre link : CVE-2021-47473

CVE.ORG link : CVE-2021-47473


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-401

Missing Release of Memory after Effective Lifetime