CVE-2022-48859
kernel: net: marvell: prestera: Add missing of_node_put() in prestera_switch_set_base_mac_addr
Severity
LowRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · July 16, 2024
Updated · November 21, 2025
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.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 3.3CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
CWE-401 · Missing Release of Memory after Effective Lifetime