Bug 2482575 (CVE-2026-46221) - CVE-2026-46221 kernel: EDAC/versalnet: Fix device name memory leak
Summary: CVE-2026-46221 kernel: EDAC/versalnet: Fix device name memory leak
Keywords:
Status: NEW
Alias: CVE-2026-46221
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-05-28 11:04 UTC by OSIDB Bzimport
Modified: 2026-05-28 12:48 UTC (History)
2 users (show)

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


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-05-28 11:04:01 UTC
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.


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