{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "33c760fbb7a8fa46314437746dd7f5540da5498e"
            },
            {
              "fixed": "b12d5c52f073a0420622aaf2f21b615cce8b36cc"
            },
            {
              "fixed": "35d7e961be68732eb3acaeba81fb81ca16eafd05"
            },
            {
              "fixed": "0715d0e60052662c3f225342062f174dd721d1c7"
            },
            {
              "fixed": "a52972ee706b438302eb0350e61f378eb191e3d1"
            },
            {
              "fixed": "6c0839cf1b9e1b3c88da6af76794583cbfae8da3"
            },
            {
              "fixed": "0162451723178602c37f0555d235dfa17e486112"
            },
            {
              "fixed": "9b30c5c8884eda3f541229899671cebbad15979b"
            },
            {
              "fixed": "173940b3ae40114d4179c251a98ee039dc9cd5b3"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49681.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nxtensa: xtfpga: Fix refcount leak bug in setup\n\nIn machine_setup(), of_find_compatible_node() will return a node\npointer with refcount incremented. We should use of_node_put() when\nit is not used anymore.",
  "id": "CVE-2022-49681",
  "modified": "2026-04-01T23:09:53.288335049Z",
  "published": "2025-02-26T02:24:10.231Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/0162451723178602c37f0555d235dfa17e486112"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/0715d0e60052662c3f225342062f174dd721d1c7"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/173940b3ae40114d4179c251a98ee039dc9cd5b3"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/35d7e961be68732eb3acaeba81fb81ca16eafd05"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/6c0839cf1b9e1b3c88da6af76794583cbfae8da3"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/9b30c5c8884eda3f541229899671cebbad15979b"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/a52972ee706b438302eb0350e61f378eb191e3d1"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/b12d5c52f073a0420622aaf2f21b615cce8b36cc"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49681.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-49681"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.7.3",
  "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": "xtensa: xtfpga: Fix refcount leak bug in setup"
}