# CVE-2022-48856: gianfar: ethtool: Fix refcount leak in gfar_get_ts_info

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `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.21%, higher than 12% of CVEs (2026-12-01)
- Published: 2024-07-16T12:25:21.804Z
- Modified: 2026-06-17T05:16:23.610Z
- Weaknesses: CWE-401
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

gianfar: ethtool: Fix refcount leak in gfar_get_ts_info

The of_find_compatible_node() function returns a node pointer with
refcount incremented, We should use of_node_put() on it when done
Add the missing of_node_put() to release the refcount.

(As written by CVE List.)

## Affected

- Linux Linux: from 7349a74ea75ca27606ead81df3ed67f1b32a94ba before 6263f2eb93a85ad7df504daf0c341a7fb6bbe8a6; from 7349a74ea75ca27606ead81df3ed67f1b32a94ba before f7b3b520349193f8a82cca74daf366199e06add9; from 7349a74ea75ca27606ead81df3ed67f1b32a94ba before 21044e679ed535345042d2023f7df0ca8e897e2a; from 7349a74ea75ca27606ead81df3ed67f1b32a94ba before f49f646f9ec296fc0afe7ae92c2bb47f23e3846c; from 7349a74ea75ca27606ead81df3ed67f1b32a94ba before 0e1b9a2078e07fb1e6e91bf8badfd89ecab1e848; from 7349a74ea75ca27606ead81df3ed67f1b32a94ba before 2ac5b58e645c66932438bb021cb5b52097ce70b0; 4.18 (not affected: before 4.18; from 4.19.235 up to 4.19.*; from 5.4.185 up to 5.4.*; from 5.10.106 up to 5.10.*; from 5.15.29 up to 5.15.*; from 5.16.15 up to 5.16.*; from 5.17 up to *)
- linux linux_kernel: from 4.18 before 4.19.235; from 4.20 before 5.4.185; from 5.5 before 5.10.106; from 5.11 before 5.15.29; from 5.16 before 5.16.15

## References

- <https://git.kernel.org/stable/c/6263f2eb93a85ad7df504daf0c341a7fb6bbe8a6> (patch)
- <https://git.kernel.org/stable/c/f7b3b520349193f8a82cca74daf366199e06add9> (patch)
- <https://git.kernel.org/stable/c/21044e679ed535345042d2023f7df0ca8e897e2a> (patch)
- <https://git.kernel.org/stable/c/f49f646f9ec296fc0afe7ae92c2bb47f23e3846c> (patch)
- <https://git.kernel.org/stable/c/0e1b9a2078e07fb1e6e91bf8badfd89ecab1e848> (patch)
- <https://git.kernel.org/stable/c/2ac5b58e645c66932438bb021cb5b52097ce70b0> (patch)

## Sources

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

---

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