← Database

CVE-2026-46030

MEDIUM CVSS: 5.5 Published: 2026-05-27 Modified: 2026-06-17

Description

In the Linux kernel, the following vulnerability has been resolved: EDAC/versalnet: Fix device_node leak in mc_probe() of_parse_phandle() returns a device_node reference that must be released with of_node_put(). The original code never freed r5_core_node on any exit path, causing a memory leak. Fix this by using the automatic cleanup attribute __free(device_node) which ensures of_node_put() is called when the variable goes out of scope.

Affected Platforms

Linux Linux Kernel

Weakness Type

CWE-401

References