CVE-2022-50242

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

No CVSS score yet EPSS 0.17%

Published 15 Sep 2025 Updated 11 May 2026 CNA: Linux

Check your servers for CVE-2022-50242

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2022-50242 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.17%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 6.66% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from f197a7aa62888f27c9a7976b18eb4f040f6606ce, before 15770edc01edfce773269e8a443ca8e420f6f859
affected from f197a7aa62888f27c9a7976b18eb4f040f6606ce, before 0aefadf23ee5e33b747df195ace42d3be2025e4e
affected from f197a7aa62888f27c9a7976b18eb4f040f6606ce, before 132c502919bb08e16e3054cb28bb7b149ec20cf5
affected from f197a7aa62888f27c9a7976b18eb4f040f6606ce, before a44490abaf00f5b0cc5c448a17eae331c6195d0a
affected from f197a7aa62888f27c9a7976b18eb4f040f6606ce, before 14b349a15c297cf3e01b5deb4116f7cf297b6184
affected from f197a7aa62888f27c9a7976b18eb4f040f6606ce, before 8399b9893548c03fdb18be277bf99d985dbde925
affected from f197a7aa62888f27c9a7976b18eb4f040f6606ce, before aa2d179544b6815b4a23c0c44543ba0971d49fce
affected from f197a7aa62888f27c9a7976b18eb4f040f6606ce, before dcae92a249551d1a447804b4be1c9fab0e8c95e8
affected from f197a7aa62888f27c9a7976b18eb4f040f6606ce, before 01de1123322e4fe1bbd0fcdf0982511b55519c03
Other versions: unaffected
Linux
affected 3.10
unaffected before 3.10
unaffected from 4.9.337 up to and including 4.9.*
unaffected from 4.14.303 up to and including 4.14.*
unaffected from 4.19.270 up to and including 4.19.*
unaffected from 5.4.229 up to and including 5.4.*
unaffected from 5.10.163 up to and including 5.10.*
unaffected from 5.15.86 up to and including 5.15.*
unaffected from 6.0.16 up to and including 6.0.*
unaffected from 6.1.2 up to and including 6.1.*
unaffected 6.2 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2022-50242 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2022-50242

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2022-50242
trivy image --scanners vuln IMAGE | grep CVE-2022-50242

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2022-50242 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.