CVE-2022-50025 (GCVE-0-2022-50025)

Vulnerability from cvelistv5 – Published: 2025-06-18 11:01 – Updated: 2025-09-03 12:59
VLAI?
Title
cxl: Fix a memory leak in an error handling path
Summary
In the Linux kernel, the following vulnerability has been resolved: cxl: Fix a memory leak in an error handling path A bitmap_zalloc() must be balanced by a corresponding bitmap_free() in the error handling path of afu_allocate_irqs().
Severity ?
No CVSS data available.
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: 80fa93fce37d3490f4bb0da8a5b239a6745bc744 , < c2c7a29f99788e9e5dfe41d16868ea33da7cc235 (git)
Affected: 80fa93fce37d3490f4bb0da8a5b239a6745bc744 , < 6544ff559315498ad6c0a311359ca44987f9ca07 (git)
Affected: 80fa93fce37d3490f4bb0da8a5b239a6745bc744 , < 89d51dc6878c47b6400922fac21b6a33f9d1a588 (git)
Affected: 80fa93fce37d3490f4bb0da8a5b239a6745bc744 , < 695af60af755873399ce01cb97176768828bc1fd (git)
Affected: 80fa93fce37d3490f4bb0da8a5b239a6745bc744 , < 4be138bcd6d68cec0ce47051b117541061f5141a (git)
Affected: 80fa93fce37d3490f4bb0da8a5b239a6745bc744 , < addff638c41753639368c252d0c5ba0d8fe9ed97 (git)
Affected: 80fa93fce37d3490f4bb0da8a5b239a6745bc744 , < c2557780ee7818b701681c226fa4cb7c0b171665 (git)
Affected: 80fa93fce37d3490f4bb0da8a5b239a6745bc744 , < 3a15b45b5454da862376b5d69a4967f5c6fa1368 (git)
Create a notification for this product.
    Linux Linux Affected: 3.19
Unaffected: 0 , < 3.19 (semver)
Unaffected: 4.9.326 , ≤ 4.9.* (semver)
Unaffected: 4.14.291 , ≤ 4.14.* (semver)
Unaffected: 4.19.256 , ≤ 4.19.* (semver)
Unaffected: 5.4.211 , ≤ 5.4.* (semver)
Unaffected: 5.10.138 , ≤ 5.10.* (semver)
Unaffected: 5.15.63 , ≤ 5.15.* (semver)
Unaffected: 5.19.4 , ≤ 5.19.* (semver)
Unaffected: 6.0 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/misc/cxl/irq.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "c2c7a29f99788e9e5dfe41d16868ea33da7cc235",
              "status": "affected",
              "version": "80fa93fce37d3490f4bb0da8a5b239a6745bc744",
              "versionType": "git"
            },
            {
              "lessThan": "6544ff559315498ad6c0a311359ca44987f9ca07",
              "status": "affected",
              "version": "80fa93fce37d3490f4bb0da8a5b239a6745bc744",
              "versionType": "git"
            },
            {
              "lessThan": "89d51dc6878c47b6400922fac21b6a33f9d1a588",
              "status": "affected",
              "version": "80fa93fce37d3490f4bb0da8a5b239a6745bc744",
              "versionType": "git"
            },
            {
              "lessThan": "695af60af755873399ce01cb97176768828bc1fd",
              "status": "affected",
              "version": "80fa93fce37d3490f4bb0da8a5b239a6745bc744",
              "versionType": "git"
            },
            {
              "lessThan": "4be138bcd6d68cec0ce47051b117541061f5141a",
              "status": "affected",
              "version": "80fa93fce37d3490f4bb0da8a5b239a6745bc744",
              "versionType": "git"
            },
            {
              "lessThan": "addff638c41753639368c252d0c5ba0d8fe9ed97",
              "status": "affected",
              "version": "80fa93fce37d3490f4bb0da8a5b239a6745bc744",
              "versionType": "git"
            },
            {
              "lessThan": "c2557780ee7818b701681c226fa4cb7c0b171665",
              "status": "affected",
              "version": "80fa93fce37d3490f4bb0da8a5b239a6745bc744",
              "versionType": "git"
            },
            {
              "lessThan": "3a15b45b5454da862376b5d69a4967f5c6fa1368",
              "status": "affected",
              "version": "80fa93fce37d3490f4bb0da8a5b239a6745bc744",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/misc/cxl/irq.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "3.19"
            },
            {
              "lessThan": "3.19",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.9.*",
              "status": "unaffected",
              "version": "4.9.326",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.14.*",
              "status": "unaffected",
              "version": "4.14.291",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.19.*",
              "status": "unaffected",
              "version": "4.19.256",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.211",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.138",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.63",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.19.*",
              "status": "unaffected",
              "version": "5.19.4",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.0",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.9.326",
                  "versionStartIncluding": "3.19",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.14.291",
                  "versionStartIncluding": "3.19",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.19.256",
                  "versionStartIncluding": "3.19",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.211",
                  "versionStartIncluding": "3.19",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.138",
                  "versionStartIncluding": "3.19",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.63",
                  "versionStartIncluding": "3.19",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.19.4",
                  "versionStartIncluding": "3.19",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.0",
                  "versionStartIncluding": "3.19",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ncxl: Fix a memory leak in an error handling path\n\nA bitmap_zalloc() must be balanced by a corresponding bitmap_free() in the\nerror handling path of afu_allocate_irqs()."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-09-03T12:59:01.003Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/c2c7a29f99788e9e5dfe41d16868ea33da7cc235"
        },
        {
          "url": "https://git.kernel.org/stable/c/6544ff559315498ad6c0a311359ca44987f9ca07"
        },
        {
          "url": "https://git.kernel.org/stable/c/89d51dc6878c47b6400922fac21b6a33f9d1a588"
        },
        {
          "url": "https://git.kernel.org/stable/c/695af60af755873399ce01cb97176768828bc1fd"
        },
        {
          "url": "https://git.kernel.org/stable/c/4be138bcd6d68cec0ce47051b117541061f5141a"
        },
        {
          "url": "https://git.kernel.org/stable/c/addff638c41753639368c252d0c5ba0d8fe9ed97"
        },
        {
          "url": "https://git.kernel.org/stable/c/c2557780ee7818b701681c226fa4cb7c0b171665"
        },
        {
          "url": "https://git.kernel.org/stable/c/3a15b45b5454da862376b5d69a4967f5c6fa1368"
        }
      ],
      "title": "cxl: Fix a memory leak in an error handling path",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2022-50025",
    "datePublished": "2025-06-18T11:01:28.816Z",
    "dateReserved": "2025-06-18T10:57:27.394Z",
    "dateUpdated": "2025-09-03T12:59:01.003Z",
    "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…