CVE-2021-47104
IB/qib: Fix memory leak in qib_user_sdma_queue_pkts()
Check your servers for CVE-2021-47104
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2021-47104 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
In the Linux kernel, the following vulnerability has been resolved:
IB/qib: Fix memory leak in qib_user_sdma_queue_pkts()
The wrong goto label was used for the error case and missed cleanup of the pkt allocation.
Addresses-Coverity-ID: 1493352 ("Resource leak")
Exploitation
EPSS 0.24%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 16.1% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 4 Mar 2024):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from bda41654b6e0c125a624ca35d6d20beb8015b5d0, before 1ced0a3015a95c6a6db45e37250912c4c86697ab affected from 3f57c3f67fd93b4da86aeffea1ca32c484d054ad, before 76b648063eb36c72dfc0a6896de8a0a7d2c7841c affected from 60833707b968d5ae02a75edb7886dcd4a957cf0d, before d53456492b5d02033c73dfa0f3b94c86337791ba affected from 73d2892148aa4397a885b4f4afcfc5b27a325c42, before 0aaec9c5f60754b56f84460ea439b8c5e91f4caa affected from 0f8cdfff06829a0b0348b6debc29ff6a61967724, before 79dcbd8176152b860028b62f81a635d987365752 affected from c3e17e58f571f34c51aeb17274ed02c2ed5cf780, before 7cf6466e00a77b0a914b7b2c28a1fc7947d55e59 affected from d39bf40e55e666b5905fdbd46a0dced030ce87be, before aefcc25f3a0cd28a87d11d41d30419a12cd26a34 affected from d39bf40e55e666b5905fdbd46a0dced030ce87be, before bee90911e0138c76ee67458ac0d58b38a3190f65 affected 0d4395477741608d123dad51def9fe50b7ebe952 affected from 4.4.292, before 4.4.297 affected from 4.9.290, before 4.9.295 affected from 4.14.255, before 4.14.260 affected from 4.19.216, before 4.19.223 affected from 5.4.157, before 5.4.169 affected from 5.10.77, before 5.10.89 affected from 5.14.16, before 5.15
Other versions: unaffected
|
| Linux |
affected 5.15 unaffected before 5.15 unaffected from 4.4.297 up to and including 4.4.* unaffected from 4.9.295 up to and including 4.9.* unaffected from 4.14.260 up to and including 4.14.* unaffected from 4.19.223 up to and including 4.19.* unaffected from 5.4.169 up to and including 5.4.* unaffected from 5.10.89 up to and including 5.10.* unaffected from 5.15.12 up to and including 5.15.* unaffected 5.16 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2021-47104 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2021-47104
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2021-47104
trivy image --scanners vuln IMAGE | grep CVE-2021-47104
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/1ced0a3015a95c6a6db45e37250912c4c86697ab git.kernel.org
- https://git.kernel.org/stable/c/76b648063eb36c72dfc0a6896de8a0a7d2c7841c git.kernel.org
- https://git.kernel.org/stable/c/d53456492b5d02033c73dfa0f3b94c86337791ba git.kernel.org
- https://git.kernel.org/stable/c/0aaec9c5f60754b56f84460ea439b8c5e91f4caa git.kernel.org
- https://git.kernel.org/stable/c/79dcbd8176152b860028b62f81a635d987365752 git.kernel.org
- https://git.kernel.org/stable/c/7cf6466e00a77b0a914b7b2c28a1fc7947d55e59 git.kernel.org
- https://git.kernel.org/stable/c/aefcc25f3a0cd28a87d11d41d30419a12cd26a34 git.kernel.org
- https://git.kernel.org/stable/c/bee90911e0138c76ee67458ac0d58b38a3190f65 git.kernel.org
Source: the record CVE-2021-47104 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse