CVE-2022-50242

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

State
Published
Severity
Not scored
Published
Sep 15, 2025
Updated
May 11, 2026
Reserved
Sep 15, 2025

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • f197a7aa62888f27c9a7976b18eb4f040f6606ce to before 15770edc01edfce773269e8a443ca8e420f6f859Affected
  • f197a7aa62888f27c9a7976b18eb4f040f6606ce to before 0aefadf23ee5e33b747df195ace42d3be2025e4eAffected
  • f197a7aa62888f27c9a7976b18eb4f040f6606ce to before 132c502919bb08e16e3054cb28bb7b149ec20cf5Affected
  • f197a7aa62888f27c9a7976b18eb4f040f6606ce to before a44490abaf00f5b0cc5c448a17eae331c6195d0aAffected
  • f197a7aa62888f27c9a7976b18eb4f040f6606ce to before 14b349a15c297cf3e01b5deb4116f7cf297b6184Affected
  • f197a7aa62888f27c9a7976b18eb4f040f6606ce to before 8399b9893548c03fdb18be277bf99d985dbde925Affected
  • f197a7aa62888f27c9a7976b18eb4f040f6606ce to before aa2d179544b6815b4a23c0c44543ba0971d49fceAffected
  • f197a7aa62888f27c9a7976b18eb4f040f6606ce to before dcae92a249551d1a447804b4be1c9fab0e8c95e8Affected
  • f197a7aa62888f27c9a7976b18eb4f040f6606ce to before 01de1123322e4fe1bbd0fcdf0982511b55519c03Affected
LinuxLinux
  • 3.10Affected
  • before 3.10Not affected
  • 4.9.337 through 4.9.*Not affected
  • 4.14.303 through 4.14.*Not affected
  • 4.19.270 through 4.19.*Not affected
  • 5.4.229 through 5.4.*Not affected
  • 5.10.163 through 5.10.*Not affected
  • 5.15.86 through 5.15.*Not affected
  • 6.0.16 through 6.0.*Not affected
  • 6.1.2 through 6.1.*Not affected
  • 6.2 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.