title: IB/qib: Fix memory leak in qib_user_sdma_queue_pkts()
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:
{
product: Linux
vendor: Linux
defaultStatus: unaffected
repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
versions:
version: bda41654b6e0, lessThan: 1ced0a3015a9, status: affected, versionType: git
version: 3f57c3f67fd9, lessThan: 76b648063eb3, status: affected, versionType: git
version: 60833707b968, lessThan: d53456492b5d, status: affected, versionType: git
version: 73d2892148aa, lessThan: 0aaec9c5f607, status: affected, versionType: git
version: 0f8cdfff0682, lessThan: 79dcbd817615, status: affected, versionType: git
version: c3e17e58f571, lessThan: 7cf6466e00a7, status: affected, versionType: git
version: d39bf40e55e6, lessThan: aefcc25f3a0c, status: affected, versionType: git
version: d39bf40e55e6, lessThan: bee90911e013, status: affected, versionType: git
}
{
product: Linux
vendor: Linux
defaultStatus: affected
repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
versions:
version: 5.15, status: affected
version: 0, lessThan: 5.15, status: unaffected, versionType: custom
version: 4.4.297, lessThanOrEqual: 4.4.*, status: unaffected, versionType: custom
version: 4.9.295, lessThanOrEqual: 4.9.*, status: unaffected, versionType: custom
version: 4.14.260, lessThanOrEqual: 4.14.*, status: unaffected, versionType: custom
version: 4.19.223, lessThanOrEqual: 4.19.*, status: unaffected, versionType: custom
version: 5.4.169, lessThanOrEqual: 5.4.*, status: unaffected, versionType: custom
version: 5.10.89, lessThanOrEqual: 5.10.*, status: unaffected, versionType: custom
version: 5.15.12, lessThanOrEqual: 5.15.*, status: unaffected, versionType: custom
version: 5.16, lessThanOrEqual: *, status: unaffected, versionType: original_commit_for_fix
}
