Vulnerability · Published May 22, 2024 · Assigned by Linux

CVE-2021-47485IB/qib: Protect from buffer overflow in struct qib_user_sdma_pkt fields

High 7.8

In plain English

A high-severity security flaw in Linux from Linux. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 15% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.8High
Exploit odds (30 days)0.2%top 85.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12linux5.15.3-1DEBIAN-CVE-2021-47485
Debian:13linux5.15.3-1DEBIAN-CVE-2021-47485
Debian:14linux5.15.3-1DEBIAN-CVE-2021-47485
Ubuntu:22.04:LTSlinux-allwinner-5.19no fix listedUBUNTU-CVE-2021-47485
Ubuntu:22.04:LTSlinux-aws-5.19no fix listedUBUNTU-CVE-2021-47485
Ubuntu:22.04:LTSlinux-aws-6.2no fix listedUBUNTU-CVE-2021-47485
Ubuntu:22.04:LTSlinux-azure-5.19no fix listedUBUNTU-CVE-2021-47485
Ubuntu:22.04:LTSlinux-azure-6.2no fix listedUBUNTU-CVE-2021-47485
Ubuntu:22.04:LTSlinux-azure-fde-5.19no fix listedUBUNTU-CVE-2021-47485
Ubuntu:22.04:LTSlinux-azure-fde-6.2no fix listedUBUNTU-CVE-2021-47485
Ubuntu:22.04:LTSlinux-gcp-5.19no fix listedUBUNTU-CVE-2021-47485
Ubuntu:22.04:LTSlinux-gcp-6.2no fix listedUBUNTU-CVE-2021-47485
Ubuntu:22.04:LTSlinux-hwe-5.19no fix listedUBUNTU-CVE-2021-47485
Ubuntu:22.04:LTSlinux-hwe-6.2no fix listedUBUNTU-CVE-2021-47485
Ubuntu:22.04:LTSlinux-intel-iot-realtimeno fix listedUBUNTU-CVE-2021-47485
Ubuntu:22.04:LTSlinux-lowlatency-hwe-5.19no fix listedUBUNTU-CVE-2021-47485
Ubuntu:22.04:LTSlinux-lowlatency-hwe-6.2no fix listedUBUNTU-CVE-2021-47485
Ubuntu:22.04:LTSlinux-nvidia-6.2no fix listedUBUNTU-CVE-2021-47485
Ubuntu:22.04:LTSlinux-oem-5.17no fix listedUBUNTU-CVE-2021-47485
Ubuntu:22.04:LTSlinux-oem-6.0no fix listedUBUNTU-CVE-2021-47485
Ubuntu:22.04:LTSlinux-oem-6.1no fix listedUBUNTU-CVE-2021-47485
Ubuntu:24.04:LTSlinux-raspi-realtimeno fix listedUBUNTU-CVE-2021-47485
Ubuntu:22.04:LTSlinux-realtimeno fix listedUBUNTU-CVE-2021-47485
Ubuntu:22.04:LTSlinux-riscvno fix listedUBUNTU-CVE-2021-47485
Ubuntu:22.04:LTSlinux-riscv-5.19no fix listedUBUNTU-CVE-2021-47485
Ubuntu:22.04:LTSlinux-starfive-5.19no fix listedUBUNTU-CVE-2021-47485
Ubuntu:22.04:LTSlinux-starfive-6.2no fix listedUBUNTU-CVE-2021-47485

Affected products (as reported)

VendorProductVersions
Linux Linux f931551bafe1f10ded7f5282e2aa162c267a2e5d – before bda41654b6e0c125a624ca35d6d20beb8015b5d0f931551bafe1f10ded7f5282e2aa162c267a2e5d – before 3f57c3f67fd93b4da86aeffea1ca32c484d054adf931551bafe1f10ded7f5282e2aa162c267a2e5d – before 60833707b968d5ae02a75edb7886dcd4a957cf0df931551bafe1f10ded7f5282e2aa162c267a2e5d – before 73d2892148aa4397a885b4f4afcfc5b27a325c42f931551bafe1f10ded7f5282e2aa162c267a2e5d – before 0f8cdfff06829a0b0348b6debc29ff6a61967724f931551bafe1f10ded7f5282e2aa162c267a2e5d – before c3e17e58f571f34c51aeb17274ed02c2ed5cf780f931551bafe1f10ded7f5282e2aa162c267a2e5d – before 0d4395477741608d123dad51def9fe50b7ebe952f931551bafe1f10ded7f5282e2aa162c267a2e5d – before d39bf40e55e666b5905fdbd46a0dced030ce87be
Linux Linux 2.6.35

References