{"id":"CVE-2026-93215","title":"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->res_at…","summary":"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->res_at…","severity":"none","vendor":"Linux","product":"Linux","affected":["Linux >= aeda33ab8160c7a2e24ba4f44492ad1e974ddc7d < 88f4cd42a04bdadd189d7f667a4c279f4e962ca6","Linux >= aeda33ab8160c7a2e24ba4f44492ad1e974ddc7d < 4cd24873ab9fdbd730604881a6e8087bc7b99336","Linux >= aeda33ab8160c7a2e24ba4f44492ad1e974ddc7d < 7e9451bf0bdba6daee1eaf4e7566612af6ca1c32","Linux >= aeda33ab8160c7a2e24ba4f44492ad1e974ddc7d < 6f4acc3a3c300e174e3f586b97b04ed8f5948c36","Linux 6.8"],"published":"2026-09-24","updated":"2026-09-24","sourceUpdated":"2026-09-24T16:17:16.550","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-93215","references":[{"url":"https://git.kernel.org/stable/c/4cd24873ab9fdbd730604881a6e8087bc7b99336","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/6f4acc3a3c300e174e3f586b97b04ed8f5948c36","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/7e9451bf0bdba6daee1eaf4e7566612af6ca1c32","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/88f4cd42a04bdadd189d7f667a4c279f4e962ca6","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}],"tags":["nvd","cve.org"],"ingestedAt":"2026-09-24T15:45:56.670Z","slug":"CVE-2026-93215","body":"## Overview\n\nIn 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->res_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->res_attr[num] after sysfs_create_bin_file() completes.\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"sunlit","depthScore":3,"depthScoreParts":{"impact":2.8,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}