CVE-2021-47485
IB/qib: Protect from buffer overflow in struct qib_user_sdma_pkt fields
Check your servers for CVE-2021-47485
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-47485 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: Protect from buffer overflow in struct qib_user_sdma_pkt fields
Overflowing either addrlimit or bytes_togo can allow userspace to trigger a buffer overflow of kernel memory. Check for overflows in all the places doing math on user controlled buffers.
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
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 15.7% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 22 May 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 f931551bafe1f10ded7f5282e2aa162c267a2e5d, before bda41654b6e0c125a624ca35d6d20beb8015b5d0 affected from f931551bafe1f10ded7f5282e2aa162c267a2e5d, before 3f57c3f67fd93b4da86aeffea1ca32c484d054ad affected from f931551bafe1f10ded7f5282e2aa162c267a2e5d, before 60833707b968d5ae02a75edb7886dcd4a957cf0d affected from f931551bafe1f10ded7f5282e2aa162c267a2e5d, before 73d2892148aa4397a885b4f4afcfc5b27a325c42 affected from f931551bafe1f10ded7f5282e2aa162c267a2e5d, before 0f8cdfff06829a0b0348b6debc29ff6a61967724 affected from f931551bafe1f10ded7f5282e2aa162c267a2e5d, before c3e17e58f571f34c51aeb17274ed02c2ed5cf780 affected from f931551bafe1f10ded7f5282e2aa162c267a2e5d, before 0d4395477741608d123dad51def9fe50b7ebe952 affected from f931551bafe1f10ded7f5282e2aa162c267a2e5d, before d39bf40e55e666b5905fdbd46a0dced030ce87be
Other versions: unaffected
|
| Linux |
affected 2.6.35 unaffected before 2.6.35 unaffected from 4.4.292 up to and including 4.4.* unaffected from 4.9.290 up to and including 4.9.* unaffected from 4.14.255 up to and including 4.14.* unaffected from 4.19.216 up to and including 4.19.* unaffected from 5.4.157 up to and including 5.4.* unaffected from 5.10.77 up to and including 5.10.* unaffected from 5.14.16 up to and including 5.14.* unaffected 5.15 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-47485 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2021-47485
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-47485
trivy image --scanners vuln IMAGE | grep CVE-2021-47485
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/bda41654b6e0c125a624ca35d6d20beb8015b5d0 git.kernel.org
- https://git.kernel.org/stable/c/3f57c3f67fd93b4da86aeffea1ca32c484d054ad git.kernel.org
- https://git.kernel.org/stable/c/60833707b968d5ae02a75edb7886dcd4a957cf0d git.kernel.org
- https://git.kernel.org/stable/c/73d2892148aa4397a885b4f4afcfc5b27a325c42 git.kernel.org
- https://git.kernel.org/stable/c/0f8cdfff06829a0b0348b6debc29ff6a61967724 git.kernel.org
- https://git.kernel.org/stable/c/c3e17e58f571f34c51aeb17274ed02c2ed5cf780 git.kernel.org
- https://git.kernel.org/stable/c/0d4395477741608d123dad51def9fe50b7ebe952 git.kernel.org
- https://git.kernel.org/stable/c/d39bf40e55e666b5905fdbd46a0dced030ce87be git.kernel.org
Source: the record CVE-2021-47485 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