CVE-2026-46030

EDAC/versalnet: Fix device_node leak in mc_probe()

State
Published
Severity
Not scored
Published
May 27, 2026
Updated
Jun 14, 2026
Reserved
May 13, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • d5fe2fec6c40dda03df8cc9b4a97de0b7e39f984 to before b6e61356ad24987be40bf25369d22dd8dd00a513Affected
  • d5fe2fec6c40dda03df8cc9b4a97de0b7e39f984 to before 17e136993b2b5111d1ee1c57bbd188ae0bb0e128Affected
  • d5fe2fec6c40dda03df8cc9b4a97de0b7e39f984 to before 5c709b376460ff322580c41600e31c02f7cc0307Affected
LinuxLinux
  • 6.18Affected
  • before 6.18Not affected
  • 6.18.27 through 6.18.*Not affected
  • 7.0.4 through 7.0.*Not affected
  • 7.1 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.