What’s Vulnerable › Vulnerabilities
CVE-2022-48859: net: marvell: prestera: Add missing of_node_put() in prestera_switch_set_base_mac_addr
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-07-16 · updated 2026-06-17
- Weakness: CWE-401
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.
Affected products
- Linux kernel: from 5.10 before 5.15.29; from 5.16 before 5.16.15 — fixed in 5.15.29, 5.16.15
How to fix
Upgrade to a fixed version: Linux kernel 5.15.29, 5.16.15. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/4cc66bf17220ff9631f9fa99b02a872e0ad5a08b
- https://git.kernel.org/stable/c/b7c2fd1d126329340639adfb8dd2938fe4b65df7
- https://git.kernel.org/stable/c/c9ffa3e2bc451816ce0295e40063514fabf2bd36
- https://git.kernel.org/stable/c/4cc66bf17220ff9631f9fa99b02a872e0ad5a08b
- https://git.kernel.org/stable/c/b7c2fd1d126329340639adfb8dd2938fe4b65df7
- https://git.kernel.org/stable/c/c9ffa3e2bc451816ce0295e40063514fabf2bd36
Get alerted when CVE-2022-48859 or the next vulnerability affects your stack