{"id":"CVE-2022-49681","summary":"xtensa: xtfpga: Fix refcount leak bug in setup","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.","modified":"2026-05-18T05:56:58.783488920Z","published":"2025-02-26T02:24:10.231Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49681.json"},"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"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"33c760fbb7a8fa46314437746dd7f5540da5498e"},{"fixed":"b12d5c52f073a0420622aaf2f21b615cce8b36cc"},{"fixed":"35d7e961be68732eb3acaeba81fb81ca16eafd05"},{"fixed":"0715d0e60052662c3f225342062f174dd721d1c7"},{"fixed":"a52972ee706b438302eb0350e61f378eb191e3d1"},{"fixed":"6c0839cf1b9e1b3c88da6af76794583cbfae8da3"},{"fixed":"0162451723178602c37f0555d235dfa17e486112"},{"fixed":"9b30c5c8884eda3f541229899671cebbad15979b"},{"fixed":"173940b3ae40114d4179c251a98ee039dc9cd5b3"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49681.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.8.0"},{"fixed":"4.9.321"}]},{"type":"ECOSYSTEM","events":[{"introduced":"4.10.0"},{"fixed":"4.14.286"}]},{"type":"ECOSYSTEM","events":[{"introduced":"4.15.0"},{"fixed":"4.19.250"}]},{"type":"ECOSYSTEM","events":[{"introduced":"4.20.0"},{"fixed":"5.4.202"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.5.0"},{"fixed":"5.10.127"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.51"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"5.18.8"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49681.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}