ghsa-xmrj-2g7q-5pcq
Vulnerability from github
Published
2025-03-17 21:30
Modified
2025-03-17 21:30
Details

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

ASoC: atmel: Fix error handling in sam9x5_wm8731_driver_probe

The device_node pointer is returned by of_parse_phandle() with refcount incremented. We should use of_node_put() on it when done.

This function only calls of_node_put() in the regular path. And it will cause refcount leak in error path.

Show details on source website


{
  "affected": [],
  "aliases": [
    "CVE-2022-49241"
  ],
  "database_specific": {
    "cwe_ids": [],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2025-02-26T07:01:01Z",
    "severity": "MODERATE"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nASoC: atmel: Fix error handling in sam9x5_wm8731_driver_probe\n\nThe device_node pointer is returned by of_parse_phandle()  with refcount\nincremented. We should use of_node_put() on it when done.\n\nThis function only calls of_node_put() in the regular path.\nAnd it will cause refcount leak in error path.",
  "id": "GHSA-xmrj-2g7q-5pcq",
  "modified": "2025-03-17T21:30:32Z",
  "published": "2025-03-17T21:30:32Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-49241"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/14228225091a0854b1de23e5b4fe8bdeeca9683b"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/740dc3e846537c3743da98bf106f376023fd085c"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/90ac679aa6a01841da90ec5a4aaa4b5e0badddf0"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/f43ad5dc43240289f4cf13c16cc506f4f7087931"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/f589063b585ac6dd2081bde6c145411cf48d8d92"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    }
  ]
}


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.
  • 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…