GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

CVE-2022-50761 (GCVE-0-2022-50761)

Vulnerability from cvelistv5 – Published: 2025-12-24 13:05 – Updated: 2026-05-11 19:25
VLAI
Title
x86/xen: Fix memory leak in xen_init_lock_cpu()
Summary
In the Linux kernel, the following vulnerability has been resolved: x86/xen: Fix memory leak in xen_init_lock_cpu() In xen_init_lock_cpu(), the @name has allocated new string by kasprintf(), if bind_ipi_to_irqhandler() fails, it should be freed, otherwise may lead to a memory leak issue, fix it.
Severity
No CVSS data available.
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: 2d9e1e2f58b5612aa4eab0ab54c84308a29dbd79 , < 9278bdbb566656b3704704f8dd6cbc24a6fcc569 (git)
Affected: 2d9e1e2f58b5612aa4eab0ab54c84308a29dbd79 , < 07764d00c869a3390bd4f80412cc8b0e669e6c58 (git)
Affected: 2d9e1e2f58b5612aa4eab0ab54c84308a29dbd79 , < 53ff99c76be611acea37d33133c9136969914865 (git)
Affected: 2d9e1e2f58b5612aa4eab0ab54c84308a29dbd79 , < 29198f667f4486f9e227e11faf1411fcf4c82a66 (git)
Affected: 2d9e1e2f58b5612aa4eab0ab54c84308a29dbd79 , < 70e7f308d7a8e915c7fbc0f1d959968eab8000cd (git)
Affected: 2d9e1e2f58b5612aa4eab0ab54c84308a29dbd79 , < 70966d6b0f59f795b08a70adf5e4478348ecbfbb (git)
Affected: 2d9e1e2f58b5612aa4eab0ab54c84308a29dbd79 , < 798fc3cf98ca07e448956f39295c5d686ab4b054 (git)
Affected: 2d9e1e2f58b5612aa4eab0ab54c84308a29dbd79 , < b44457b83a034efef58ffa5f3131d4615f1a9837 (git)
Affected: 2d9e1e2f58b5612aa4eab0ab54c84308a29dbd79 , < ca84ce153d887b1dc8b118029976cc9faf2a9b40 (git)
guessed Create a notification for this product.
Linux Linux Affected: 2.6.27
Unaffected: 0 , < 2.6.27 (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)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "arch/x86/xen/spinlock.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "9278bdbb566656b3704704f8dd6cbc24a6fcc569",
              "status": "affected",
              "version": "2d9e1e2f58b5612aa4eab0ab54c84308a29dbd79",
              "versionType": "git"
            },
            {
              "lessThan": "07764d00c869a3390bd4f80412cc8b0e669e6c58",
              "status": "affected",
              "version": "2d9e1e2f58b5612aa4eab0ab54c84308a29dbd79",
              "versionType": "git"
            },
            {
              "lessThan": "53ff99c76be611acea37d33133c9136969914865",
              "status": "affected",
              "version": "2d9e1e2f58b5612aa4eab0ab54c84308a29dbd79",
              "versionType": "git"
            },
            {
              "lessThan": "29198f667f4486f9e227e11faf1411fcf4c82a66",
              "status": "affected",
              "version": "2d9e1e2f58b5612aa4eab0ab54c84308a29dbd79",
              "versionType": "git"
            },
            {
              "lessThan": "70e7f308d7a8e915c7fbc0f1d959968eab8000cd",
              "status": "affected",
              "version": "2d9e1e2f58b5612aa4eab0ab54c84308a29dbd79",
              "versionType": "git"
            },
            {
              "lessThan": "70966d6b0f59f795b08a70adf5e4478348ecbfbb",
              "status": "affected",
              "version": "2d9e1e2f58b5612aa4eab0ab54c84308a29dbd79",
              "versionType": "git"
            },
            {
              "lessThan": "798fc3cf98ca07e448956f39295c5d686ab4b054",
              "status": "affected",
              "version": "2d9e1e2f58b5612aa4eab0ab54c84308a29dbd79",
              "versionType": "git"
            },
            {
              "lessThan": "b44457b83a034efef58ffa5f3131d4615f1a9837",
              "status": "affected",
              "version": "2d9e1e2f58b5612aa4eab0ab54c84308a29dbd79",
              "versionType": "git"
            },
            {
              "lessThan": "ca84ce153d887b1dc8b118029976cc9faf2a9b40",
              "status": "affected",
              "version": "2d9e1e2f58b5612aa4eab0ab54c84308a29dbd79",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "arch/x86/xen/spinlock.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "2.6.27"
            },
            {
              "lessThan": "2.6.27",
              "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": "2.6.27",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.14.303",
                  "versionStartIncluding": "2.6.27",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.19.270",
                  "versionStartIncluding": "2.6.27",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.229",
                  "versionStartIncluding": "2.6.27",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.163",
                  "versionStartIncluding": "2.6.27",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.86",
                  "versionStartIncluding": "2.6.27",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.0.16",
                  "versionStartIncluding": "2.6.27",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.2",
                  "versionStartIncluding": "2.6.27",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.2",
                  "versionStartIncluding": "2.6.27",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nx86/xen: Fix memory leak in xen_init_lock_cpu()\n\nIn xen_init_lock_cpu(), the @name has allocated new string by kasprintf(),\nif bind_ipi_to_irqhandler() fails, it should be freed, otherwise may lead\nto a memory leak issue, fix it."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-05-11T19:25:00.739Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/9278bdbb566656b3704704f8dd6cbc24a6fcc569"
        },
        {
          "url": "https://git.kernel.org/stable/c/07764d00c869a3390bd4f80412cc8b0e669e6c58"
        },
        {
          "url": "https://git.kernel.org/stable/c/53ff99c76be611acea37d33133c9136969914865"
        },
        {
          "url": "https://git.kernel.org/stable/c/29198f667f4486f9e227e11faf1411fcf4c82a66"
        },
        {
          "url": "https://git.kernel.org/stable/c/70e7f308d7a8e915c7fbc0f1d959968eab8000cd"
        },
        {
          "url": "https://git.kernel.org/stable/c/70966d6b0f59f795b08a70adf5e4478348ecbfbb"
        },
        {
          "url": "https://git.kernel.org/stable/c/798fc3cf98ca07e448956f39295c5d686ab4b054"
        },
        {
          "url": "https://git.kernel.org/stable/c/b44457b83a034efef58ffa5f3131d4615f1a9837"
        },
        {
          "url": "https://git.kernel.org/stable/c/ca84ce153d887b1dc8b118029976cc9faf2a9b40"
        }
      ],
      "title": "x86/xen: Fix memory leak in xen_init_lock_cpu()",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2022-50761",
    "datePublished": "2025-12-24T13:05:53.312Z",
    "dateReserved": "2025-12-24T13:02:21.545Z",
    "dateUpdated": "2026-05-11T19:25:00.739Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2022-50761",
      "date": "2026-09-16",
      "epss": "0.00282",
      "percentile": "0.20793"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2022-50761\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-12-24T13:16:02.873\",\"lastModified\":\"2026-06-17T05:24:07.987\",\"vulnStatus\":\"Deferred\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nx86/xen: Fix memory leak in xen_init_lock_cpu()\\n\\nIn xen_init_lock_cpu(), the @name has allocated new string by kasprintf(),\\nif bind_ipi_to_irqhandler() fails, it should be freed, otherwise may lead\\nto a memory leak issue, fix it.\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"arch/x86/xen/spinlock.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"2d9e1e2f58b5612aa4eab0ab54c84308a29dbd79\",\"lessThan\":\"9278bdbb566656b3704704f8dd6cbc24a6fcc569\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"2d9e1e2f58b5612aa4eab0ab54c84308a29dbd79\",\"lessThan\":\"07764d00c869a3390bd4f80412cc8b0e669e6c58\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"2d9e1e2f58b5612aa4eab0ab54c84308a29dbd79\",\"lessThan\":\"53ff99c76be611acea37d33133c9136969914865\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"2d9e1e2f58b5612aa4eab0ab54c84308a29dbd79\",\"lessThan\":\"29198f667f4486f9e227e11faf1411fcf4c82a66\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"2d9e1e2f58b5612aa4eab0ab54c84308a29dbd79\",\"lessThan\":\"70e7f308d7a8e915c7fbc0f1d959968eab8000cd\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"2d9e1e2f58b5612aa4eab0ab54c84308a29dbd79\",\"lessThan\":\"70966d6b0f59f795b08a70adf5e4478348ecbfbb\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"2d9e1e2f58b5612aa4eab0ab54c84308a29dbd79\",\"lessThan\":\"798fc3cf98ca07e448956f39295c5d686ab4b054\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"2d9e1e2f58b5612aa4eab0ab54c84308a29dbd79\",\"lessThan\":\"b44457b83a034efef58ffa5f3131d4615f1a9837\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"2d9e1e2f58b5612aa4eab0ab54c84308a29dbd79\",\"lessThan\":\"ca84ce153d887b1dc8b118029976cc9faf2a9b40\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"arch/x86/xen/spinlock.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"2.6.27\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"2.6.27\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"4.9.337\",\"lessThanOrEqual\":\"4.9.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"4.14.303\",\"lessThanOrEqual\":\"4.14.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"4.19.270\",\"lessThanOrEqual\":\"4.19.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.4.229\",\"lessThanOrEqual\":\"5.4.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.10.163\",\"lessThanOrEqual\":\"5.10.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.15.86\",\"lessThanOrEqual\":\"5.15.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.0.16\",\"lessThanOrEqual\":\"6.0.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.1.2\",\"lessThanOrEqual\":\"6.1.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.2\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/07764d00c869a3390bd4f80412cc8b0e669e6c58\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/29198f667f4486f9e227e11faf1411fcf4c82a66\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/53ff99c76be611acea37d33133c9136969914865\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/70966d6b0f59f795b08a70adf5e4478348ecbfbb\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/70e7f308d7a8e915c7fbc0f1d959968eab8000cd\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/798fc3cf98ca07e448956f39295c5d686ab4b054\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/9278bdbb566656b3704704f8dd6cbc24a6fcc569\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/b44457b83a034efef58ffa5f3131d4615f1a9837\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/ca84ce153d887b1dc8b118029976cc9faf2a9b40\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}",
    "redhat_vex": {
      "aggregate_severity": "Low",
      "current_release_date": "2026-06-30T10:36:37+00:00",
      "cve": "CVE-2022-50761",
      "id": "CVE-2022-50761",
      "initial_release_date": "2022-01-01T00:00:00+00:00",
      "product_status:fixed": "280",
      "product_status:known_affected": "98",
      "product_status:known_not_affected": "98",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: Linux kernel (x86/xen): Memory leak in CPU lock initialization leading to denial of service.",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2022/cve-2022-50761.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-08-31T01:21:06Z",
      "cve": "CVE-2022-50761",
      "id": "CVE-2022-50761",
      "initial_release_date": "2025-12-25T01:03:57Z",
      "product_status:known_affected": "522",
      "product_status:known_not_affected": "155",
      "product_status:recommended": "233",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2022-50761",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2022-50761.json",
      "version": "32"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

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…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…