CVE-2021-47485

IB/qib: Protect from buffer overflow in struct qib_user_sdma_pkt fields

HIGH
7.8
CVSS Score
Published: May 22, 2024 at 08:19 AM UTC
Updated: August 5, 2026 at 09:24 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

2.6.35 ≤ v < 4.14.2552.6.35 ≤ v < 4.19.2162.6.35 ≤ v < 4.4.2922.6.35 ≤ v < 4.9.2902.6.35 ≤ v < 5.10.772.6.35 ≤ v < 5.14.162.6.35 ≤ v < 5.152.6.35 ≤ v < 5.4.1574.10 ≤ v < 4.14.2554.15 ≤ v < 4.19.2164.20 ≤ v < 5.4.1574.5 ≤ v < 4.9.2905.11 ≤ v < 5.14.165.5 ≤ v < 5.10.775.15 rc15.15 rc25.15 rc35.15 rc45.15 rc55.15 rc65.15 rc7f931551bafe1f10ded7f5282e2aa162c267a2e5d
Vendor states this is fixed in 0d4395477741608d123dad51def9fe50b7ebe952 (fixed)
Vendor states this is fixed in 0f8cdfff06829a0b0348b6debc29ff6a61967724 (fixed)
Vendor states this is fixed in 3f57c3f67fd93b4da86aeffea1ca32c484d054ad (fixed)
Vendor states this is fixed in 60833707b968d5ae02a75edb7886dcd4a957cf0d (fixed)
Vendor states this is fixed in 73d2892148aa4397a885b4f4afcfc5b27a325c42 (fixed)
Vendor states this is fixed in bda41654b6e0c125a624ca35d6d20beb8015b5d0 (fixed)
Vendor states this is fixed in c3e17e58f571f34c51aeb17274ed02c2ed5cf780 (fixed)
Vendor states this is fixed in d39bf40e55e666b5905fdbd46a0dced030ce87be (fixed)
Vendor states this is fixed in 2.6.35 (unaffected)
Vendor states this is fixed in 4.14.255 (unaffected)
Vendor states this is fixed in 4.19.216 (unaffected)
Vendor states this is fixed in 4.4.292 (unaffected)
Vendor states this is fixed in 4.9.290 (unaffected)
Vendor states this is fixed in 5.10.77 (unaffected)
Vendor states this is fixed in 5.14.16 (unaffected)
Vendor states this is fixed in 5.15 (unaffected)
Vendor states this is fixed in 5.4.157 (unaffected)

References (8)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/0d4395477741608d123dad51def9fe50b7ebe952
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/0f8cdfff06829a0b0348b6debc29ff6a61967724
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/3f57c3f67fd93b4da86aeffea1ca32c484d054ad
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/60833707b968d5ae02a75edb7886dcd4a957cf0d
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/73d2892148aa4397a885b4f4afcfc5b27a325c42
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/bda41654b6e0c125a624ca35d6d20beb8015b5d0
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c3e17e58f571f34c51aeb17274ed02c2ed5cf780
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/d39bf40e55e666b5905fdbd46a0dced030ce87be

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.8HIGHLinux
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-120

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card