Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected d5fe2fec6c40dda03df8cc9b4a97de0b7e39f984 before b6e61356ad24987be40bf25369d22dd8dd00a513; affected d5fe2fec6c40dda03df8cc9b4a97de0b7e39f984 before 17e136993b2b5111d1ee1c57bbd188ae0bb0e128; affected d5fe2fec6c40dda03df8cc9b4a97de0b7e39f984 before 5c709b376460ff322580c41600e31c02f7cc0307 |
| Linux / Linux | affected 6.18; unaffected 0 before 6.18; unaffected 6.18.27 through 6.18.*; unaffected 7.0.4 through 7.0.*; unaffected 7.1 through * |
CWE
No CWE identifiers supplied.