CVE-2022-50242
kernel: drivers: net: qlcnic: Fix potential memory leak in qlcnic_sriov_init()
Severity
LowRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · September 15, 2025
Updated · June 30, 2026
Description
In the Linux kernel, the following vulnerability has been resolved:
drivers: net: qlcnic: Fix potential memory leak in qlcnic_sriov_init()
If vp alloc failed in qlcnic_sriov_init(), all previously allocated vp needs to be freed.
Statement
The change fixes a memory leak in qlcnic_sriov_init() on error paths when allocating VFs. It does not enable memory corruption or privilege escalation. Triggering requires administrative control over the host (enabling SR-IOV / probing the qlcnic driver). Impact is limited to a small local availability degradation during failed initialization attempts.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 2.3CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:L
CWE-404 · Improper Resource Shutdown or Release