{"id":"CVE-2026-46221","summary":"EDAC/versalnet: Fix device name memory leak","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nEDAC/versalnet: Fix device name memory leak\n\nThe device name allocated via kzalloc() in init_one_mc() is assigned to\ndev-\u003einit_name but never freed on the normal removal path.  device_register()\ncopies init_name and then sets dev-\u003einit_name to NULL, so the name pointer\nbecomes unreachable from the device. Thus leaking memory.\n\nUse a stack-local char array instead of using kzalloc() for name.","modified":"2026-07-08T08:13:40.492528079Z","published":"2026-05-28T09:40:36.679Z","related":["openSUSE-SU-2026:10954-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46221.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/24d2912962d087ebff7c4984f8ac34a5f23c8dbf"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8cf5dd235eff6008cb04c3d8064d2acfa90616f1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b16033c8774f5fb4c0cb9b445a1dfc68f499ae6a"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46221.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-46221"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"d5fe2fec6c40dda03df8cc9b4a97de0b7e39f984"},{"fixed":"24d2912962d087ebff7c4984f8ac34a5f23c8dbf"},{"fixed":"b16033c8774f5fb4c0cb9b445a1dfc68f499ae6a"},{"fixed":"8cf5dd235eff6008cb04c3d8064d2acfa90616f1"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-46221.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.18.0"},{"fixed":"6.18.32"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.0.9"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-46221.json"}}],"schema_version":"1.7.5"}