# CVE-2022-48859: net: marvell: prestera: Add missing of_node_put() in prestera_switch_set_base_mac_addr

- 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 11% of CVEs (2026-12-01)
- Published: 2024-07-16T12:25:23.799Z
- Modified: 2026-06-17T05:16:24.130Z
- 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:

net: marvell: prestera: Add missing of_node_put() in prestera_switch_set_base_mac_addr

This node pointer is returned by of_find_compatible_node() with
refcount incremented. Calling of_node_put() to aovid the refcount leak.

(As written by CVE List.)

## Affected

- Linux Linux: from 501ef3066c89d7f9045315e1be58749cf9e6814d before b7c2fd1d126329340639adfb8dd2938fe4b65df7; from 501ef3066c89d7f9045315e1be58749cf9e6814d before 4cc66bf17220ff9631f9fa99b02a872e0ad5a08b; from 501ef3066c89d7f9045315e1be58749cf9e6814d before c9ffa3e2bc451816ce0295e40063514fabf2bd36; 5.10 (not affected: before 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 5.10 before 5.15.29; from 5.16 before 5.16.15

## References

- <https://git.kernel.org/stable/c/b7c2fd1d126329340639adfb8dd2938fe4b65df7> (patch)
- <https://git.kernel.org/stable/c/4cc66bf17220ff9631f9fa99b02a872e0ad5a08b> (patch)
- <https://git.kernel.org/stable/c/c9ffa3e2bc451816ce0295e40063514fabf2bd36> (patch)

## Sources

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

---

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