Bugzilla – Bug 1228007
VUL-0: CVE-2022-48859: kernel: net: marvell: prestera: Add missing of_node_put() in prestera_switch_set_base_mac_addr
Last modified: 2024-07-17 12:41:45 UTC
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. References: http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2022-48859 https://www.cve.org/CVERecord?id=CVE-2022-48859 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/pub/scm/linux/security/vulns.git/plain/cve/published/2022/CVE-2022-48859.mbox https://bugzilla.redhat.com/show_bug.cgi?id=2298203