← CVE Intelligence

CVE-2022-48859

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

Description (CNA)

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 (CNA)

Vendor / productVersions
Linux / Linuxaffected 501ef3066c89d7f9045315e1be58749cf9e6814d before b7c2fd1d126329340639adfb8dd2938fe4b65df7; affected 501ef3066c89d7f9045315e1be58749cf9e6814d before 4cc66bf17220ff9631f9fa99b02a872e0ad5a08b; affected 501ef3066c89d7f9045315e1be58749cf9e6814d before c9ffa3e2bc451816ce0295e40063514fabf2bd36
Linux / Linuxaffected 5.10; unaffected 0 before 5.10; unaffected 5.15.29 through 5.15.*; unaffected 5.16.15 through 5.16.*; unaffected 5.17 through *

CWE

No CWE identifiers supplied.

References

ADP enrichment

CVE

No English description supplied.

CISA-ADP

No English description supplied.

No references supplied.