# CVE-2022-49681: xtensa: xtfpga: Fix refcount leak bug in setup

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.28%, higher than 13% of CVEs (2026-11-30)
- Published: 2025-02-26T02:24:10.231Z
- Modified: 2026-06-17T05:18:50.707Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 33c760fbb7a8fa46314437746dd7f5540da5498e before b12d5c52f073a0420622aaf2f21b615cce8b36cc; from 33c760fbb7a8fa46314437746dd7f5540da5498e before 35d7e961be68732eb3acaeba81fb81ca16eafd05; from 33c760fbb7a8fa46314437746dd7f5540da5498e before 0715d0e60052662c3f225342062f174dd721d1c7; from 33c760fbb7a8fa46314437746dd7f5540da5498e before a52972ee706b438302eb0350e61f378eb191e3d1; from 33c760fbb7a8fa46314437746dd7f5540da5498e before 6c0839cf1b9e1b3c88da6af76794583cbfae8da3; from 33c760fbb7a8fa46314437746dd7f5540da5498e before 0162451723178602c37f0555d235dfa17e486112; from 33c760fbb7a8fa46314437746dd7f5540da5498e before 9b30c5c8884eda3f541229899671cebbad15979b; from 33c760fbb7a8fa46314437746dd7f5540da5498e before 173940b3ae40114d4179c251a98ee039dc9cd5b3; 3.8 (not affected: before 3.8; from 4.9.321 up to 4.9.*; from 4.14.286 up to 4.14.*; from 4.19.250 up to 4.19.*; from 5.4.202 up to 5.4.*; from 5.10.127 up to 5.10.*; from 5.15.51 up to 5.15.*; from 5.18.8 up to 5.18.*; from 5.19 up to *)
- linux 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; from 5.16 before 5.18.8; 5.19

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/b12d5c52f073a0420622aaf2f21b615cce8b36cc> (patch)
- <https://git.kernel.org/stable/c/35d7e961be68732eb3acaeba81fb81ca16eafd05> (patch)
- <https://git.kernel.org/stable/c/0715d0e60052662c3f225342062f174dd721d1c7> (patch)
- <https://git.kernel.org/stable/c/a52972ee706b438302eb0350e61f378eb191e3d1> (patch)
- <https://git.kernel.org/stable/c/6c0839cf1b9e1b3c88da6af76794583cbfae8da3> (patch)
- <https://git.kernel.org/stable/c/0162451723178602c37f0555d235dfa17e486112> (patch)
- <https://git.kernel.org/stable/c/9b30c5c8884eda3f541229899671cebbad15979b> (patch)
- <https://git.kernel.org/stable/c/173940b3ae40114d4179c251a98ee039dc9cd5b3> (patch)

## Sources

- CVE List: [CVE-2022-49681](https://www.cve.org/CVERecord?id=CVE-2022-49681), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2022-49681](https://nvd.nist.gov/vuln/detail/CVE-2022-49681), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-49681 · Whole record: https://cve.day/CVE-2022-49681.json · Rebuilt by cve.day 2026-11-25T22:58:20.801Z
