CVE-2022-50242 (GCVE-0-2022-50242)

Vulnerability from cvelistv5 – Published: 2025-09-15 14:01 – Updated: 2025-09-15 14:01
VLAI?
Title
drivers: net: qlcnic: Fix potential memory leak in qlcnic_sriov_init()
Summary
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.
Severity ?
No CVSS data available.
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: f197a7aa62888f27c9a7976b18eb4f040f6606ce , < 15770edc01edfce773269e8a443ca8e420f6f859 (git)
Affected: f197a7aa62888f27c9a7976b18eb4f040f6606ce , < 0aefadf23ee5e33b747df195ace42d3be2025e4e (git)
Affected: f197a7aa62888f27c9a7976b18eb4f040f6606ce , < 132c502919bb08e16e3054cb28bb7b149ec20cf5 (git)
Affected: f197a7aa62888f27c9a7976b18eb4f040f6606ce , < a44490abaf00f5b0cc5c448a17eae331c6195d0a (git)
Affected: f197a7aa62888f27c9a7976b18eb4f040f6606ce , < 14b349a15c297cf3e01b5deb4116f7cf297b6184 (git)
Affected: f197a7aa62888f27c9a7976b18eb4f040f6606ce , < 8399b9893548c03fdb18be277bf99d985dbde925 (git)
Affected: f197a7aa62888f27c9a7976b18eb4f040f6606ce , < aa2d179544b6815b4a23c0c44543ba0971d49fce (git)
Affected: f197a7aa62888f27c9a7976b18eb4f040f6606ce , < dcae92a249551d1a447804b4be1c9fab0e8c95e8 (git)
Affected: f197a7aa62888f27c9a7976b18eb4f040f6606ce , < 01de1123322e4fe1bbd0fcdf0982511b55519c03 (git)
Create a notification for this product.
    Linux Linux Affected: 3.10
Unaffected: 0 , < 3.10 (semver)
Unaffected: 4.9.337 , ≤ 4.9.* (semver)
Unaffected: 4.14.303 , ≤ 4.14.* (semver)
Unaffected: 4.19.270 , ≤ 4.19.* (semver)
Unaffected: 5.4.229 , ≤ 5.4.* (semver)
Unaffected: 5.10.163 , ≤ 5.10.* (semver)
Unaffected: 5.15.86 , ≤ 5.15.* (semver)
Unaffected: 6.0.16 , ≤ 6.0.* (semver)
Unaffected: 6.1.2 , ≤ 6.1.* (semver)
Unaffected: 6.2 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "15770edc01edfce773269e8a443ca8e420f6f859",
              "status": "affected",
              "version": "f197a7aa62888f27c9a7976b18eb4f040f6606ce",
              "versionType": "git"
            },
            {
              "lessThan": "0aefadf23ee5e33b747df195ace42d3be2025e4e",
              "status": "affected",
              "version": "f197a7aa62888f27c9a7976b18eb4f040f6606ce",
              "versionType": "git"
            },
            {
              "lessThan": "132c502919bb08e16e3054cb28bb7b149ec20cf5",
              "status": "affected",
              "version": "f197a7aa62888f27c9a7976b18eb4f040f6606ce",
              "versionType": "git"
            },
            {
              "lessThan": "a44490abaf00f5b0cc5c448a17eae331c6195d0a",
              "status": "affected",
              "version": "f197a7aa62888f27c9a7976b18eb4f040f6606ce",
              "versionType": "git"
            },
            {
              "lessThan": "14b349a15c297cf3e01b5deb4116f7cf297b6184",
              "status": "affected",
              "version": "f197a7aa62888f27c9a7976b18eb4f040f6606ce",
              "versionType": "git"
            },
            {
              "lessThan": "8399b9893548c03fdb18be277bf99d985dbde925",
              "status": "affected",
              "version": "f197a7aa62888f27c9a7976b18eb4f040f6606ce",
              "versionType": "git"
            },
            {
              "lessThan": "aa2d179544b6815b4a23c0c44543ba0971d49fce",
              "status": "affected",
              "version": "f197a7aa62888f27c9a7976b18eb4f040f6606ce",
              "versionType": "git"
            },
            {
              "lessThan": "dcae92a249551d1a447804b4be1c9fab0e8c95e8",
              "status": "affected",
              "version": "f197a7aa62888f27c9a7976b18eb4f040f6606ce",
              "versionType": "git"
            },
            {
              "lessThan": "01de1123322e4fe1bbd0fcdf0982511b55519c03",
              "status": "affected",
              "version": "f197a7aa62888f27c9a7976b18eb4f040f6606ce",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "3.10"
            },
            {
              "lessThan": "3.10",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.9.*",
              "status": "unaffected",
              "version": "4.9.337",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.14.*",
              "status": "unaffected",
              "version": "4.14.303",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.19.*",
              "status": "unaffected",
              "version": "4.19.270",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.229",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.163",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.86",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.0.*",
              "status": "unaffected",
              "version": "6.0.16",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.2",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.2",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.9.337",
                  "versionStartIncluding": "3.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.14.303",
                  "versionStartIncluding": "3.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.19.270",
                  "versionStartIncluding": "3.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.229",
                  "versionStartIncluding": "3.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.163",
                  "versionStartIncluding": "3.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.86",
                  "versionStartIncluding": "3.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.0.16",
                  "versionStartIncluding": "3.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.2",
                  "versionStartIncluding": "3.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.2",
                  "versionStartIncluding": "3.10",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrivers: net: qlcnic: Fix potential memory leak in qlcnic_sriov_init()\n\nIf vp alloc failed in qlcnic_sriov_init(), all previously allocated vp\nneeds to be freed."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-09-15T14:01:50.328Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/15770edc01edfce773269e8a443ca8e420f6f859"
        },
        {
          "url": "https://git.kernel.org/stable/c/0aefadf23ee5e33b747df195ace42d3be2025e4e"
        },
        {
          "url": "https://git.kernel.org/stable/c/132c502919bb08e16e3054cb28bb7b149ec20cf5"
        },
        {
          "url": "https://git.kernel.org/stable/c/a44490abaf00f5b0cc5c448a17eae331c6195d0a"
        },
        {
          "url": "https://git.kernel.org/stable/c/14b349a15c297cf3e01b5deb4116f7cf297b6184"
        },
        {
          "url": "https://git.kernel.org/stable/c/8399b9893548c03fdb18be277bf99d985dbde925"
        },
        {
          "url": "https://git.kernel.org/stable/c/aa2d179544b6815b4a23c0c44543ba0971d49fce"
        },
        {
          "url": "https://git.kernel.org/stable/c/dcae92a249551d1a447804b4be1c9fab0e8c95e8"
        },
        {
          "url": "https://git.kernel.org/stable/c/01de1123322e4fe1bbd0fcdf0982511b55519c03"
        }
      ],
      "title": "drivers: net: qlcnic: Fix potential memory leak in qlcnic_sriov_init()",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2022-50242",
    "datePublished": "2025-09-15T14:01:50.328Z",
    "dateReserved": "2025-09-15T13:58:00.971Z",
    "dateUpdated": "2025-09-15T14:01:50.328Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…