ghsa-r2g2-5w3q-5hqj
Vulnerability from github
Published
2025-12-08 03:31
Modified
2025-12-08 03:31
Details

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

net: netsec: fix error handling in netsec_register_mdio()

If phy_device_register() fails, phy_device_free() need be called to put refcount, so memory of phy device and device name can be freed in callback function.

If get_phy_device() fails, mdiobus_unregister() need be called, or it will cause warning in mdiobus_free() and kobject is leaked.

Show details on source website


{
  "affected": [],
  "aliases": [
    "CVE-2022-50624"
  ],
  "database_specific": {
    "cwe_ids": [],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2025-12-08T02:15:48Z",
    "severity": null
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet: netsec: fix error handling in netsec_register_mdio()\n\nIf phy_device_register() fails, phy_device_free() need be called to\nput refcount, so memory of phy device and device name can be freed\nin callback function.\n\nIf get_phy_device() fails, mdiobus_unregister() need be called,\nor it will cause warning in mdiobus_free() and kobject is leaked.",
  "id": "GHSA-r2g2-5w3q-5hqj",
  "modified": "2025-12-08T03:31:03Z",
  "published": "2025-12-08T03:31:03Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-50624"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/1e0bee973ef6fc3c1e3acb014515eaea37c8fa17"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/62f0a08e82a6312efd7df7f595c0b11d4ffde610"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/728884b22d83148a330b23f9472f1e118b589211"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/846e677daf51220d7975c61a20e440a88473951e"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/94423589689124e8cd145b38a1034be7f25835b2"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/fda2d07234a21be4d71ebfe97a45f499726902d6"
    }
  ],
  "schema_version": "1.4.0",
  "severity": []
}


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 seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…