CVE-2026-46221

EDAC/versalnet: Fix device name memory leak

MEDIUM
5.5
CVSS Score
Published: May 28, 2026 at 09:40 AM UTC
Updated: June 17, 2026 at 10:53 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.1%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

6.18 ≤ v < 6.18.326.18 ≤ v < 7.0.96.18 ≤ v < 7.16.19 ≤ v < 7.0.97.1 rc17.1 rc2d5fe2fec6c40dda03df8cc9b4a97de0b7e39f984
Vendor states this is fixed in 24d2912962d087ebff7c4984f8ac34a5f23c8dbf (fixed)
Vendor states this is fixed in 8cf5dd235eff6008cb04c3d8064d2acfa90616f1 (fixed)
Vendor states this is fixed in b16033c8774f5fb4c0cb9b445a1dfc68f499ae6a (fixed)
Vendor states this is fixed in 6.18 (unaffected)
Vendor states this is fixed in 6.18.32 (unaffected)
Vendor states this is fixed in 7.0.9 (unaffected)
Vendor states this is fixed in 7.1 (unaffected)

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-401

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card