CVE-2022-50242
JSON

5.5medium

drivers: net: qlcnic: Fix potential memory leak in qlcnic_sriov_init()

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.17% (higher than 6% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom f197a7aa62888f27c9a7976b18eb4f040f6606ce before 15770edc01edfce773269e8a443ca8e420f6f859, from f197a7aa62888f27c9a7976b18eb4f040f6606ce before 0aefadf23ee5e33b747df195ace42d3be2025e4e, from f197a7aa62888f27c9a7976b18eb4f040f6606ce before 132c502919bb08e16e3054cb28bb7b149ec20cf5, from f197a7aa62888f27c9a7976b18eb4f040f6606ce before a44490abaf00f5b0cc5c448a17eae331c6195d0a, from f197a7aa62888f27c9a7976b18eb4f040f6606ce before 14b349a15c297cf3e01b5deb4116f7cf297b6184, from f197a7aa62888f27c9a7976b18eb4f040f6606ce before 8399b9893548c03fdb18be277bf99d985dbde925, from f197a7aa62888f27c9a7976b18eb4f040f6606ce before aa2d179544b6815b4a23c0c44543ba0971d49fce, from f197a7aa62888f27c9a7976b18eb4f040f6606ce before dcae92a249551d1a447804b4be1c9fab0e8c95e8 and 2 more
Not affected: before 3.10, from 4.9.337 up to 4.9.*, from 4.14.303 up to 4.14.*, from 4.19.270 up to 4.19.*, from 5.4.229 up to 5.4.*, from 5.10.163 up to 5.10.*
CVE List
linux linux_kernelfrom 3.10 before 4.9.337, from 4.10 before 4.14.303, from 4.15 before 4.19.270, from 4.20 before 5.4.229, from 5.5 before 5.10.163, from 5.11 before 5.15.86, from 5.16 before 6.0.16, from 6.1 before 6.1.2NVD

Classification

References

Sources

SourceRecordLicence
CVE ListCVE-2022-50242 changed 2026-05-11CVE Terms of Use
NVDCVE-2022-50242 changed 2026-06-17Public domain