CVE-2021-47473
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| linux_kernel | linux | 5.14.15, 5.10.76 |
| Linux | Linux | 7fb223d0ad801f633c78cbe42b1d1b55f5d163ad, 3.11 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 8c0eb596baa51f2b43949c698c644727ef17805c, 8c0eb596baa51f2b43949c698c644727ef17805c, 8c0eb596baa51f2b43949c698c644727ef17805c |
| Linux | Linux | 3.11, 0, 5.10.76 |
| Linux | Linux | 8c0eb596baa51f2b43949c698c644727ef17805c, 5.14.15, 5.15 |
| linux | linux_kernel | 3.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