What’s Vulnerable › Vulnerabilities
CVE-2022-49681: xtensa: xtfpga: Fix refcount leak bug in setup
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-02-26 · updated 2026-06-17
Description
In the Linux kernel, the following vulnerability has been resolved: xtensa: xtfpga: Fix refcount leak bug in setup In machine_setup(), of_find_compatible_node() will return a node pointer with refcount incremented. We should use of_node_put() when it is not used anymore.
Affected products
- Linux kernel: before 4.9.321; from 4.10 before 4.14.286; from 4.15 before 4.19.250; from 4.20 before 5.4.202; from 5.5 before 5.10.127; from 5.11 before 5.15.51 — fixed in 4.14.286, 4.19.250, 4.9.321, 5.10.127, 5.15.51, 5.18.8
How to fix
Upgrade to a fixed version: Linux kernel 4.14.286, 4.19.250, 4.9.321, 5.10.127. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/0162451723178602c37f0555d235dfa17e486112
- https://git.kernel.org/stable/c/0715d0e60052662c3f225342062f174dd721d1c7
- https://git.kernel.org/stable/c/173940b3ae40114d4179c251a98ee039dc9cd5b3
- https://git.kernel.org/stable/c/35d7e961be68732eb3acaeba81fb81ca16eafd05
- https://git.kernel.org/stable/c/6c0839cf1b9e1b3c88da6af76794583cbfae8da3
- https://git.kernel.org/stable/c/9b30c5c8884eda3f541229899671cebbad15979b
- https://git.kernel.org/stable/c/a52972ee706b438302eb0350e61f378eb191e3d1
- https://git.kernel.org/stable/c/b12d5c52f073a0420622aaf2f21b615cce8b36cc
Get alerted when CVE-2022-49681 or the next vulnerability affects your stack