CVE-2021-47473

published 22 May 2024 · updated 11 May 2026

scsi: qla2xxx: Fix a memory leak in an error path of qla2x00_process_els()

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 7fb223d0ad801f633c78cbe42b1d1b55f5d163ad, Kernel 96f0aebf29be25254fa585af43924e34aa21fd9a and Kernel a7fbb56e6c941d9f59437b96412a348e66388d3e.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=3.11, >=8c0eb596baa51f2b43949c698c644727ef17805c <7fb223d0ad801f633c78cbe42b1d1b55f5d163ad, >=8c0eb596baa51f2b43949c698c644727ef17805c <96f0aebf29be25254fa585af43924e34aa21fd9a, >=8c0eb596baa51f2b43949c698c644727ef17805c <a7fbb56e6c941d9f59437b96412a348e66388d3e7fb223d0ad801f633c78cbe42b1d1b55f5d163ad, 96f0aebf29be25254fa585af43924e34aa21fd9a, a7fbb56e6c941d9f59437b96412a348e66388d3e

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-47473 severity on Zeptric[![CVE-2021-47473](https://zeptric.io/badge/cve/CVE-2021-47473.svg)](https://zeptric.io/cve/CVE-2021-47473)