GHSA-3G3W-HWV4-W6VM

Vulnerability from github – Published: 2025-05-01 15:31 – Updated: 2025-05-01 15:31
VLAI
Details

In the Linux kernel, the following vulnerability has been resolved:

xen/pcpu: fix possible memory leak in register_pcpu()

In device_add(), dev_set_name() is called to allocate name, if it returns error, the name need be freed. As comment of device_register() says, it should use put_device() to give up the reference in the error path. So fix this by calling put_device(), then the name can be freed in kobject_cleanup().

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2022-49816"
  ],
  "database_specific": {
    "cwe_ids": [],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2025-05-01T15:16:04Z",
    "severity": null
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nxen/pcpu: fix possible memory leak in register_pcpu()\n\nIn device_add(), dev_set_name() is called to allocate name, if it returns\nerror, the name need be freed. As comment of device_register() says, it\nshould use put_device() to give up the reference in the error path. So fix\nthis by calling put_device(), then the name can be freed in kobject_cleanup().",
  "id": "GHSA-3g3w-hwv4-w6vm",
  "modified": "2025-05-01T15:31:48Z",
  "published": "2025-05-01T15:31:48Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-49816"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/0199bf0a8f74509736744c9e36f4473a5892a09d"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/6209a85079a035b5c2279b15b197531156b549fa"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/7ed540bcee2e24479524b9705cc7462b2652f944"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/bb9924a6edd9d4a9ef83a5f337af60f8a7a68f98"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/c08c13cb13fa3866dd0700db3b246fcd2043ab81"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/ccb22c876e8e7f62377e749c971907efe65d34c2"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/da36a2a76b01b210ffaa55cdc2c99bc8783697c5"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/e948f3c129d78537ded70bcc99c31f0b45f05dd7"
    }
  ],
  "schema_version": "1.4.0",
  "severity": []
}


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…