VDB

CVE-2021-47473

CVE-2021-47473 PUBLISHED

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

Reported by linux · Published May 22, 2024

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
linux_kernellinux5.14.15, 5.10.76
LinuxLinux7fb223d0ad801f633c78cbe42b1d1b55f5d163ad, 3.11

Affected products

VendorProductVersions
LinuxLinux8c0eb596baa51f2b43949c698c644727ef17805c, 8c0eb596baa51f2b43949c698c644727ef17805c, 8c0eb596baa51f2b43949c698c644727ef17805c
LinuxLinux3.11, 0, 5.10.76
LinuxLinux8c0eb596baa51f2b43949c698c644727ef17805c, 5.14.15, 5.15
linuxlinux_kernel3.11, 3.11, 3.11

Timeline

  • May 22, 2024 CVE Published
  • Jun 16, 2024 EPSS Score (29 in total, the first dated here)
  • Jan 7, 2025 CVE Updated
  • Jun 2, 2026 Security Advisory (259 in total, the first dated here)
  • Jul 13, 2026 Coalition ESS Score
  • Oct 30, 2026 Distribution Patch (166 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2021-47473
vulnetix vdb fixes CVE-2021-47473

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-47473/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›