Bug 2482065 (CVE-2026-46030) - CVE-2026-46030 kernel: EDAC/versalnet: Fix device_node leak in mc_probe()
Summary: CVE-2026-46030 kernel: EDAC/versalnet: Fix device_node leak in mc_probe()
Keywords:
Status: NEW
Alias: CVE-2026-46030
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-05-27 15:09 UTC by OSIDB Bzimport
Modified: 2026-05-27 20:09 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-05-27 15:09:37 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.