# CVE-2026-46030: EDAC/versalnet: Fix device_node leak in mc_probe()

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.12%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-05-27T12:56:39.170Z
- Modified: 2026-06-17T10:52:55.837Z
- Weaknesses: CWE-401
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from d5fe2fec6c40dda03df8cc9b4a97de0b7e39f984 before b6e61356ad24987be40bf25369d22dd8dd00a513; from d5fe2fec6c40dda03df8cc9b4a97de0b7e39f984 before 17e136993b2b5111d1ee1c57bbd188ae0bb0e128; from d5fe2fec6c40dda03df8cc9b4a97de0b7e39f984 before 5c709b376460ff322580c41600e31c02f7cc0307; 6.18 (not affected: before 6.18; from 6.18.27 up to 6.18.*; from 7.0.4 up to 7.0.*; from 7.1 up to *)
- linux linux_kernel: from 6.18 before 6.18.27; from 6.19 before 7.0.4

## References

- <https://git.kernel.org/stable/c/b6e61356ad24987be40bf25369d22dd8dd00a513> (patch)
- <https://git.kernel.org/stable/c/17e136993b2b5111d1ee1c57bbd188ae0bb0e128> (patch)
- <https://git.kernel.org/stable/c/5c709b376460ff322580c41600e31c02f7cc0307> (patch)

## Sources

- CVE List: [CVE-2026-46030](https://www.cve.org/CVERecord?id=CVE-2026-46030), CVE Terms of Use, modified 2026-06-14
- NVD: [CVE-2026-46030](https://nvd.nist.gov/vuln/detail/CVE-2026-46030), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-46030 · Whole record: https://cve.day/CVE-2026-46030.json · Rebuilt by cve.day 2026-11-25T22:59:22.552Z
