5.5medium
xtensa: xtfpga: Fix refcount leak bug in setup
- Severity
- 5.5medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.28% (higher than 13% of CVEs)
- Published
- Last changed
- 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| 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 and 1 more 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.* | CVE List |
| 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 | NVD |
All scores
| CISA-ADP | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: xtensa: xtfpga: Se corrige el error de pérdida de recuento de referencias en la configuración. En machine_setup(), of_find_compatible_node() devolverá un puntero de nodo con el recuento de referencias incrementado. Deberíamos usar of_node_put() cuando ya no se use.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-49681 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2022-49681 changed 2026-06-17 | Public domain |