PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-46030 Linux CVE debrief

A memory leak vulnerability in the Linux kernel's EDAC (Error Detection and Correction) driver for AMD/Xilinx Versal NET platforms has been resolved. The issue was in the `mc_probe()` function within the `versalnet` EDAC driver, where `of_parse_phandle()` returns a device_node reference that was never released with `of_node_put()`, causing a reference count leak on all exit paths. The fix implements the automatic cleanup attribute `__free(device_node)` to ensure proper resource deallocation when the variable goes out of scope. This is a defensive coding improvement that prevents gradual memory exhaustion in systems utilizing the Versal NET EDAC driver. The vulnerability was published to CVE on 2026-05-27 and modified the same day. No CVSS score has been assigned, and the vulnerability is not listed in CISA's Known Exploited Vulnerabilities catalog.

Vendor
Linux
Product
Unknown
CVSS
Unknown
CISA KEV
Not listed in stored evidence
Original CVE published
2026-05-27
Original CVE updated
2026-05-27
Advisory published
2026-05-27
Advisory updated
2026-05-27

Who should care

System administrators and security teams managing Linux deployments on AMD/Xilinx Versal NET hardware platforms; kernel maintainers responsible for EDAC subsystem backports; embedded systems developers utilizing the Versal NET EDAC driver for hardware error detection and correction capabilities.

Technical summary

The EDAC (Error Detection and Correction) driver for AMD/Xilinx Versal NET platforms contained a device_node reference leak in its probe function. The `of_parse_phandle()` call in `mc_probe()` returns a reference-counted device_node pointer that requires explicit release via `of_node_put()`. The original implementation failed to release `r5_core_node` on any exit path, resulting in a memory leak. The resolution employs the GCC cleanup attribute `__free(device_node)` to automatically invoke `of_node_put()` when the variable goes out of scope, ensuring deterministic resource cleanup regardless of exit path taken.

Defensive priority

low

Recommended defensive actions

  • Review kernel configurations for systems utilizing AMD/Xilinx Versal NET platforms to ensure EDAC driver is updated
  • Apply stable kernel updates containing commits 17e136993b2b, 5c709b376460, or b6e61356ad24 as appropriate for your kernel version
  • Monitor memory usage on affected systems for signs of gradual exhaustion prior to patching
  • Verify that custom kernel builds include the EDAC_VERSALNET driver fix if compiled from source

Evidence notes

The vulnerability description is sourced from the official CVE record and NVD entry. The technical details regarding `of_parse_phandle()` and `__free(device_node)` are derived directly from the CVE description field. Three kernel.org stable tree commits are referenced as evidence of the fix being applied across kernel versions.

Official resources

The vulnerability was disclosed via the Linux kernel stable tree with commit references published on 2026-05-27. The fix was backported to multiple stable kernel branches as indicated by the three separate commit references.