CVE-2021-47485
IB/qib: Protect from buffer overflow in struct qib_user_sdma_pkt fields
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= f931551bafe1f10ded7f5282e2aa162c267a2e5d, < bda41654b6e0c125a624ca35d6d20beb8015b5d0; >= f931551bafe1f10ded7f5282e2aa162c267a2e5d, < 3f57c3f67fd93b4da86aeffea1ca32c484d054ad; >= f931551bafe1f10ded7f5282e2aa162c267a2e5d, < 60833707b968d5ae02a75edb7886dcd4a957cf0d; >= f931551bafe1f10ded7f5282e2aa162c267a2e5d, < 73d2892148aa4397a885b4f4afcfc5b27a325c42; >= f931551bafe1f10ded7f5282e2aa162c267a2e5d, < 0f8cdfff06829a0b0348b6debc29ff6a61967724; >= f931551bafe1f10ded7f5282e2aa162c267a2e5d, < c3e17e58f571f34c51aeb17274ed02c2ed5cf780; >= f931551bafe1f10ded7f5282e2aa162c267a2e5d, < 0d4395477741608d123dad51def9fe50b7ebe952; >= f931551bafe1f10ded7f5282e2aa162c267a2e5d, < d39bf40e55e666b5905fdbd46a0dced030ce87be
- Anyone running Linux 2.6.35
Vulnerability facts
- Affected
- Linux >= f931551bafe1f10ded7f5282e2aa162c267a2e5d, < bda41654b6e0c125a624ca35d6d20beb8015b5d0; >= f931551bafe1f10ded7f5282e2aa162c267a2e5d, < 3f57c3f67fd93b4da86aeffea1ca32c484d054ad; >= f931551bafe1f10ded7f5282e2aa162c267a2e5d, < 60833707b968d5ae02a75edb7886dcd4a957cf0d; >= f931551bafe1f10ded7f5282e2aa162c267a2e5d, < 73d2892148aa4397a885b4f4afcfc5b27a325c42; >= f931551bafe1f10ded7f5282e2aa162c267a2e5d, < 0f8cdfff06829a0b0348b6debc29ff6a61967724; >= f931551bafe1f10ded7f5282e2aa162c267a2e5d, < c3e17e58f571f34c51aeb17274ed02c2ed5cf780; >= f931551bafe1f10ded7f5282e2aa162c267a2e5d, < 0d4395477741608d123dad51def9fe50b7ebe952; >= f931551bafe1f10ded7f5282e2aa162c267a2e5d, < d39bf40e55e666b5905fdbd46a0dced030ce87be; Linux 2.6.35
- Fixed in
- Linux 3f57c3f67fd93b4da86aeffea1ca32c484d054ad, Linux 60833707b968d5ae02a75edb7886dcd4a957cf0d, Linux 73d2892148aa4397a885b4f4afcfc5b27a325c42, Linux 0f8cdfff06829a0b0348b6debc29ff6a61967724, Linux 0d4395477741608d123dad51def9fe50b7ebe952
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.35% chance of exploitation in 30 days (percentile 21, 2026-11-26)
- CWE
- CWE-120
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= f931551bafe1f10ded7f5282e2aa162c267a2e5d, < bda41654b6e0c125a624ca35d6d20beb8015b5d0; >= f931551bafe1f10ded7f5282e2aa162c267a2e5d, < 3f57c3f67fd93b4da86aeffea1ca32c484d054ad; >= f931551bafe1f10ded7f5282e2aa162c267a2e5d, < 60833707b968d5ae02a75edb7886dcd4a957cf0d; >= f931551bafe1f10ded7f5282e2aa162c267a2e5d, < 73d2892148aa4397a885b4f4afcfc5b27a325c42; >= f931551bafe1f10ded7f5282e2aa162c267a2e5d, < 0f8cdfff06829a0b0348b6debc29ff6a61967724; >= f931551bafe1f10ded7f5282e2aa162c267a2e5d, < c3e17e58f571f34c51aeb17274ed02c2ed5cf780; >= f931551bafe1f10ded7f5282e2aa162c267a2e5d, < 0d4395477741608d123dad51def9fe50b7ebe952; >= f931551bafe1f10ded7f5282e2aa162c267a2e5d, < d39bf40e55e666b5905fdbd46a0dced030ce87be | — | cvelist |
| Linux | 2.6.35 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2021-47485. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2021-47485.md Affected: Linux >= f931551bafe1f10ded7f5282e2aa162c267a2e5d, < bda41654b6e0c125a624ca35d6d20beb8015b5d0; >= f931551bafe1f10ded7f5282e2aa162c267a2e5d, < 3f57c3f67fd93b4da86aeffea1ca32c484d054ad; >= f931551bafe1f10ded7f5282e2aa162c267a2e5d, < 60833707b968d5ae02a75edb7886dcd4a957cf0d; >= f931551bafe1f10ded7f528… Fixed in: Linux 3f57c3f67fd93b4da86aeffea1ca32c484d054ad, Linux 60833707b968d5ae02a75edb7886dcd4a957cf0d, Linux 73d2892148aa4397a885b4f4afcfc5b27a325c42, Linux 0f8cdfff06829a0b0348b6debc29ff6a61967724, Linux 0d4395477741608d123dad51def9fe50b7ebe952 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/bda41654b6e0c125a624ca35d6d20beb8015b5d0
- https://git.kernel.org/stable/c/3f57c3f67fd93b4da86aeffea1ca32c484d054ad
- https://git.kernel.org/stable/c/60833707b968d5ae02a75edb7886dcd4a957cf0d
- https://git.kernel.org/stable/c/73d2892148aa4397a885b4f4afcfc5b27a325c42
- https://git.kernel.org/stable/c/0f8cdfff06829a0b0348b6debc29ff6a61967724
- https://git.kernel.org/stable/c/c3e17e58f571f34c51aeb17274ed02c2ed5cf780
- https://git.kernel.org/stable/c/0d4395477741608d123dad51def9fe50b7ebe952
- https://git.kernel.org/stable/c/d39bf40e55e666b5905fdbd46a0dced030ce87be
FAQ
Is CVE-2021-47485 being exploited?
There is no confirmed exploitation: CVE-2021-47485 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.35% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2021-47485?
High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2021-47485?
Linux >= f931551bafe1f10ded7f5282e2aa162c267a2e5d, < bda41654b6e0c125a624ca35d6d20beb8015b5d0; >= f931551bafe1f10ded7f5282e2aa162c267a2e5d, < 3f57c3f67fd93b4da86aeffea1ca32c484d054ad; >= f931551bafe1f10ded7f5282e2aa162c267a2e5d, < 60833707b968d5ae02a75edb7886dcd4a957cf0d; >= f931551bafe1f10ded7f5282e2aa162c267a2e5d, < 73d2892148aa4397a885b4f4afcfc5b27a325c42; >= f931551bafe1f10ded7f5282e2aa162c267a2e5d, < 0f8cdfff06829a0b0348b6debc29ff6a61967724; >= f931551bafe1f10ded7f5282e2aa162c267a2e5d, < c3e17e58f571f34c51aeb17274ed02c2ed5cf780; >= f931551bafe1f10ded7f5282e2aa162c267a2e5d, < 0d4395477741608d123dad51def9fe50b7ebe952; >= f931551bafe1f10ded7f5282e2aa162c267a2e5d, < d39bf40e55e666b5905fdbd46a0dced030ce87be; Linux 2.6.35.
Is there a fix for CVE-2021-47485?
Yes. Fixed in Linux 3f57c3f67fd93b4da86aeffea1ca32c484d054ad, Linux 60833707b968d5ae02a75edb7886dcd4a957cf0d, Linux 73d2892148aa4397a885b4f4afcfc5b27a325c42, Linux 0f8cdfff06829a0b0348b6debc29ff6a61967724, Linux 0d4395477741608d123dad51def9fe50b7ebe952. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2021-47485?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.