CVE-2021-47104

IB/qib: Fix memory leak in qib_user_sdma_queue_pkts()

State
Published
Severity
Not scored
Published
Mar 4, 2024
Updated
May 23, 2026
Reserved
Mar 4, 2024

Read the record on cve.org

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")

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • bda41654b6e0c125a624ca35d6d20beb8015b5d0 to before 1ced0a3015a95c6a6db45e37250912c4c86697abAffected
  • 3f57c3f67fd93b4da86aeffea1ca32c484d054ad to before 76b648063eb36c72dfc0a6896de8a0a7d2c7841cAffected
  • 60833707b968d5ae02a75edb7886dcd4a957cf0d to before d53456492b5d02033c73dfa0f3b94c86337791baAffected
  • 73d2892148aa4397a885b4f4afcfc5b27a325c42 to before 0aaec9c5f60754b56f84460ea439b8c5e91f4caaAffected
  • 0f8cdfff06829a0b0348b6debc29ff6a61967724 to before 79dcbd8176152b860028b62f81a635d987365752Affected
  • c3e17e58f571f34c51aeb17274ed02c2ed5cf780 to before 7cf6466e00a77b0a914b7b2c28a1fc7947d55e59Affected
  • d39bf40e55e666b5905fdbd46a0dced030ce87be to before aefcc25f3a0cd28a87d11d41d30419a12cd26a34Affected
  • d39bf40e55e666b5905fdbd46a0dced030ce87be to before bee90911e0138c76ee67458ac0d58b38a3190f65Affected
  • 0d4395477741608d123dad51def9fe50b7ebe952Affected
  • 4.4.292 to before 4.4.297Affected
  • 4.9.290 to before 4.9.295Affected
  • 4.14.255 to before 4.14.260Affected
  • 4.19.216 to before 4.19.223Affected
  • 5.4.157 to before 5.4.169Affected
  • 5.10.77 to before 5.10.89Affected
  • 5.14.16 to before 5.15Affected
LinuxLinux
  • 5.15Affected
  • before 5.15Not affected
  • 4.4.297 through 4.4.*Not affected
  • 4.9.295 through 4.9.*Not affected
  • 4.14.260 through 4.14.*Not affected
  • 4.19.223 through 4.19.*Not affected
  • 5.4.169 through 5.4.*Not affected
  • 5.10.89 through 5.10.*Not affected
  • 5.15.12 through 5.15.*Not affected
  • 5.16 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.