GHSA-97vh-qvrh-cxxqunknown
In the Linux kernel, the following vulnerability has been resolved: EDAC/versalnet: Fix...
🔗 CVE IDs covered (1)
📋 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.
🔗 References (5)
- https://nvd.nist.gov/vuln/detail/CVE-2026-46030
- https://git.kernel.org/stable/c/17e136993b2b5111d1ee1c57bbd188ae0bb0e128
- https://git.kernel.org/stable/c/5c709b376460ff322580c41600e31c02f7cc0307
- https://git.kernel.org/stable/c/b6e61356ad24987be40bf25369d22dd8dd00a513
- https://github.com/advisories/GHSA-97vh-qvrh-cxxq