{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "d0a4c17b40736b368f1f26602ad162e24b4108e7"
            },
            {
              "fixed": "9664491db50a84be92696c8fad2c3b49a7a5f36f"
            },
            {
              "fixed": "8a2b6b5687984a010ed094b4f436a2f091987758"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "5.16.0"
            },
            {
              "fixed": "5.18.8"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49684.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\niio: adc: aspeed: Fix refcount leak in aspeed_adc_set_trim_data\n\nof_find_node_by_name() returns a node pointer with refcount\nincremented, we should use of_node_put() on it when done.\nAdd missing of_node_put() to avoid refcount leak.",
  "id": "CVE-2022-49684",
  "modified": "2026-08-12T03:51:16.380678382Z",
  "published": "2025-02-26T02:24:11.677Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/8a2b6b5687984a010ed094b4f436a2f091987758"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/9664491db50a84be92696c8fad2c3b49a7a5f36f"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49684.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-49684"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.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"
    }
  ],
  "summary": "iio: adc: aspeed: Fix refcount leak in aspeed_adc_set_trim_data"
}