# CVE-2022-50242: drivers: net: qlcnic: Fix potential memory leak in qlcnic_sriov_init()

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2025-09-15T14:01:50.328Z
- Modified: 2026-06-17T05:23:03.430Z
- Weaknesses: CWE-401
- 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 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; from f197a7aa62888f27c9a7976b18eb4f040f6606ce before 01de1123322e4fe1bbd0fcdf0982511b55519c03; 3.10 (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.*; from 5.15.86 up to 5.15.*; from 6.0.16 up to 6.0.*; from 6.1.2 up to 6.1.*; from 6.2 up to *)
- linux linux_kernel: from 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.2

## References

- <https://git.kernel.org/stable/c/15770edc01edfce773269e8a443ca8e420f6f859> (patch)
- <https://git.kernel.org/stable/c/0aefadf23ee5e33b747df195ace42d3be2025e4e> (patch)
- <https://git.kernel.org/stable/c/132c502919bb08e16e3054cb28bb7b149ec20cf5> (patch)
- <https://git.kernel.org/stable/c/a44490abaf00f5b0cc5c448a17eae331c6195d0a> (patch)
- <https://git.kernel.org/stable/c/14b349a15c297cf3e01b5deb4116f7cf297b6184> (patch)
- <https://git.kernel.org/stable/c/8399b9893548c03fdb18be277bf99d985dbde925> (patch)
- <https://git.kernel.org/stable/c/aa2d179544b6815b4a23c0c44543ba0971d49fce> (patch)
- <https://git.kernel.org/stable/c/dcae92a249551d1a447804b4be1c9fab0e8c95e8> (patch)
- <https://git.kernel.org/stable/c/01de1123322e4fe1bbd0fcdf0982511b55519c03> (patch)

## Sources

- CVE List: [CVE-2022-50242](https://www.cve.org/CVERecord?id=CVE-2022-50242), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2022-50242](https://nvd.nist.gov/vuln/detail/CVE-2022-50242), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-50242 · Whole record: https://cve.day/CVE-2022-50242.json · Rebuilt by cve.day 2026-11-25T22:58:21.125Z
