CVE-2022-49681Published Feb 26, 2025 · Feb 26Updated Oct 28
xtensa: xtfpga: Fix refcount leak bug in setup
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 33c760fbb7a8fa46314437746dd7f5540da5498e · < 0162451723178602c37f0555d235dfa17e486112| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel's xtensa xtfpga setup code leaks a device-tree node reference in machine_setup(). The input does not specify how an attacker could exploit the leak or whether access, authentication, or user interaction is required.
Engineers running the Linux kernel with xtensa xtfpga support should check their versions; affected versions are not specified.