{"id":"CVE-2026-93215","summary":"cdx: Fix double free when sysfs file creation fails","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ncdx: Fix double free when sysfs file creation fails\n\nIn cdx_create_res_attr(), if sysfs_create_bin_file() fails, the code\nfrees res_attr but doesn't set cdx_dev-\u003eres_attr[num] to NULL. This\nleaves a dangling pointer in the array. Then cdx_destroy_res_attr()\nfrees the already-freed memory. Fix the double free by initializing\ncdx_dev-\u003eres_attr[num] after sysfs_create_bin_file() completes.","modified":"2026-09-26T03:48:38.723503108Z","published":"2026-09-24T15:10:37.863Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/93xxx/CVE-2026-93215.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/4cd24873ab9fdbd730604881a6e8087bc7b99336"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6f4acc3a3c300e174e3f586b97b04ed8f5948c36"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7e9451bf0bdba6daee1eaf4e7566612af6ca1c32"},{"type":"WEB","url":"https://git.kernel.org/stable/c/88f4cd42a04bdadd189d7f667a4c279f4e962ca6"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/93xxx/CVE-2026-93215.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-93215"},{"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":"aeda33ab8160c7a2e24ba4f44492ad1e974ddc7d"},{"fixed":"88f4cd42a04bdadd189d7f667a4c279f4e962ca6"},{"fixed":"4cd24873ab9fdbd730604881a6e8087bc7b99336"},{"fixed":"7e9451bf0bdba6daee1eaf4e7566612af6ca1c32"},{"fixed":"6f4acc3a3c300e174e3f586b97b04ed8f5948c36"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-93215.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.8.0"},{"fixed":"6.12.109"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.50"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.2.4"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-93215.json"}}],"schema_version":"1.9.0"}