CVEvulnerability
CVE-2022-48859
5.5 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2024-07-16
- Last modified
- 2026-06-17
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- 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 configurations
• linux linux kernel (>= 5.10 < 5.15.29)
• linux linux kernel (>= 5.16 < 5.16.15)
Related
Weakness · CWE (1)
- CWE-401 Missing Release of Memory after Effective Lifetime weakness
References
- https://git.kernel.org/stable/c/4cc66bf17220ff9631f9fa99b02a872e0ad5a08b Patch
- https://git.kernel.org/stable/c/b7c2fd1d126329340639adfb8dd2938fe4b65df7 Patch
- https://git.kernel.org/stable/c/c9ffa3e2bc451816ce0295e40063514fabf2bd36 Patch
- https://git.kernel.org/stable/c/4cc66bf17220ff9631f9fa99b02a872e0ad5a08b Patch
- https://git.kernel.org/stable/c/b7c2fd1d126329340639adfb8dd2938fe4b65df7 Patch
- https://git.kernel.org/stable/c/c9ffa3e2bc451816ce0295e40063514fabf2bd36 Patch