Vulnerability · Published Mar 4, 2024 · Assigned by Linux

CVE-2021-47104IB/qib: Fix memory leak in qib_user_sdma_queue_pkts()

Medium 5.5

In plain English

A medium-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 NVD)5.5Medium
Exploit odds (30 days)0.2%top 84.6% 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: Fix memory leak in qib_user_sdma_queue_pkts() The wrong goto label was used for the error case and missed cleanup of the pkt allocation. Addresses-Coverity-ID: 1493352 ("Resource leak")

Affected packages & fixed versions

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

Affected products (as reported)

VendorProductVersions
Linux Linux bda41654b6e0c125a624ca35d6d20beb8015b5d0 – before 1ced0a3015a95c6a6db45e37250912c4c86697ab3f57c3f67fd93b4da86aeffea1ca32c484d054ad – before 76b648063eb36c72dfc0a6896de8a0a7d2c7841c60833707b968d5ae02a75edb7886dcd4a957cf0d – before d53456492b5d02033c73dfa0f3b94c86337791ba73d2892148aa4397a885b4f4afcfc5b27a325c42 – before 0aaec9c5f60754b56f84460ea439b8c5e91f4caa0f8cdfff06829a0b0348b6debc29ff6a61967724 – before 79dcbd8176152b860028b62f81a635d987365752c3e17e58f571f34c51aeb17274ed02c2ed5cf780 – before 7cf6466e00a77b0a914b7b2c28a1fc7947d55e59d39bf40e55e666b5905fdbd46a0dced030ce87be – before aefcc25f3a0cd28a87d11d41d30419a12cd26a34d39bf40e55e666b5905fdbd46a0dced030ce87be – before bee90911e0138c76ee67458ac0d58b38a3190f65
Linux Linux 5.15

References