# CVE-2021-47485: IB/qib: Protect from buffer overflow in struct qib\_user\_sdma\_pkt fields

- Priority: **Routine**
- Reason: Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-05-22 · Modified: 2026-08-05
- Aliases: UBUNTU-CVE-2021-47485, DEBIAN-CVE-2021-47485
- Record: https://cvemate.com/vulnerability/CVE-2021-47485 · JSON: https://cvemate.com/vulnerability/CVE-2021-47485/json

## Description

```text
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.
```

## Signals

- CVSS: 7.8 high (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.237%, percentile 15.704%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 91)

- debian linux (Debian): \< 5.15.3-1
- ubuntu linux (Ubuntu): All versions (No fix recorded) \| \< 4.4.0-277.311 \| \< 4.15.0-169.177 \| \< 5.4.0-92.103
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): \< 4.4.0-1151.157 \| \< 4.4.0-1189.204 \| \< 4.15.0-1121.129 \| \< 5.4.0-1061.64
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.4 (Ubuntu): \< 5.4.0-1061.64~18.04.1
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-fips (Ubuntu): \< 4.15.0-2061.63 \| All versions (No fix recorded) \| \< 5.4.0-1069.73+fips2
- ubuntu linux-aws-hwe (Ubuntu): \< 4.15.0-1120.128~16.04.1
- ubuntu linux-azure (Ubuntu): \< 4.15.0-1131.144~14.04.1 \| \< 4.15.0-1131.144~16.04.1 \| All versions (No fix recorded) \| \< 5.4.0-1065.68
- ubuntu linux-azure-4.15 (Ubuntu): \< 4.15.0-1131.144
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.3 (Ubuntu): All versions (No fix recorded)

## References

- <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>
- <https://ubuntu.com/security/CVE-2021-47485>
- <https://www.cve.org/CVERecord?id=CVE-2021-47485>
- <https://git.kernel.org/linus/d39bf40e55e666b5905fdbd46a0dced030ce87be>
- <https://ubuntu.com/security/notices/USN-7987-1>
- <https://ubuntu.com/security/notices/USN-7987-2>
- <https://security-tracker.debian.org/tracker/CVE-2021-47485>

---

Data as of 2026-12-05T03:52:05.475Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
