CVE-2026-46221 Details
Description
In the Linux kernel, the following vulnerability has been resolved: EDAC/versalnet: Fix device name memory leak The device name allocated via kzalloc() in init_one_mc() is assigned to dev->init_name but never freed on the normal removal path. device_register() copies init_name and then sets dev->init_name to NULL, so the name pointer becomes unreachable from the device. Thus leaking memory. Use a stack-local char array instead of using kzalloc() for name.
A memory leak vulnerability has been identified in the Linux kernel's EDAC Versalnet driver. The issue arises because the device name, allocated using kzalloc() in the init_one_mc() function, is assigned to dev->init_name but is never freed during the normal removal process. When device_register() is called, it copies init_name and then sets dev->init_name to NULL, making the name pointer inaccessible from the device and causing a memory leak. The vulnerability affects the Linux kernel EDAC Versalnet driver for the AMD Versal NET DDR controller.
The vulnerability has been fixed in the Linux kernel. Users can apply the latest patches available in the Linux kernel stable tree to address this issue.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/24d2912962d087ebff7c4984f8ac34a5f23c8dbf | kernel.org | Patch |
| https://git.kernel.org/stable/c/8cf5dd235eff6008cb04c3d8064d2acfa90616f1 | kernel.org | Patch |
| https://git.kernel.org/stable/c/b16033c8774f5fb4c0cb9b445a1dfc68f499ae6a | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-401 | Missing Release of Memory after Effective Lifetime | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 6.18, < 6.18.32 >= 6.19, < 7.0.9 7.1 rc1 7.1 rc2 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jun 10, 2026 | Initial Analysis | [email protected] |
| May 28, 2026 | New CVE Received | kernel.org |