EDAC/versalnet: Fix device_node leak in mc_probe()
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.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.18.27, 7.0.4
- CVEs
- CVE-2026-46030
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 06:55 UTC · Revision 1
Source evidence
EDAC/versalnet: Fix device_node leak in mc_probe()
core-osv · Original sourcePublished 27 May 2026, 12:56 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.
osv:CVE-2026-46030
Kernel
Fixed versions: 6.18.27, 7.0.4
Complete source record
{
"id": "1dc4f695ced59919a84401025f17f70c2edc69104cbb87524bd8aa1953426250",
"url": "https://osv.dev/vulnerability/CVE-2026-46030",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "EDAC/versalnet: Fix device_node leak in mc_probe()",
"summary": "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.",
"evidence": "osv:CVE-2026-46030",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.18.27",
"evidence": "/affected/1/ranges"
},
{
"value": "7.0.4",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2026-46030",
"aliases": [
"CVE-2026-46030"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "d5fe2fec6c40dda03df8cc9b4a97de0b7e39f984"
},
{
"fixed": "b6e61356ad24987be40bf25369d22dd8dd00a513"
},
{
"fixed": "17e136993b2b5111d1ee1c57bbd188ae0bb0e128"
},
{
"fixed": "5c709b376460ff322580c41600e31c02f7cc0307"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-46030.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.18.0"
},
{
"fixed": "6.18.27"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.19.0"
},
{
"fixed": "7.0.4"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-46030.json"
}
}
],
"modified": "2026-10-28T02:30:26.621780205Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/17e136993b2b5111d1ee1c57bbd188ae0bb0e128",
"https://git.kernel.org/stable/c/5c709b376460ff322580c41600e31c02f7cc0307",
"https://git.kernel.org/stable/c/b6e61356ad24987be40bf25369d22dd8dd00a513",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46030.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-46030",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46030.json"
}
},
"related_cves": [
{
"value": "CVE-2026-46030",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 493168,
"published_at": "2026-05-27T12:56:39.17+00:00"
}