CVE-2022-48859

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

State
Published
Severity
Not scored
Published
Jul 16, 2024
Updated
May 11, 2026
Reserved
Jul 16, 2024

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 501ef3066c89d7f9045315e1be58749cf9e6814d to before b7c2fd1d126329340639adfb8dd2938fe4b65df7Affected
  • 501ef3066c89d7f9045315e1be58749cf9e6814d to before 4cc66bf17220ff9631f9fa99b02a872e0ad5a08bAffected
  • 501ef3066c89d7f9045315e1be58749cf9e6814d to before c9ffa3e2bc451816ce0295e40063514fabf2bd36Affected
LinuxLinux
  • 5.10Affected
  • before 5.10Not affected
  • 5.15.29 through 5.15.*Not affected
  • 5.16.15 through 5.16.*Not affected
  • 5.17 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.