{"id":"CVE-2026-93215","published":"2026-09-24T15:10:37Z","modified":"2026-10-19T09:07:27Z","title":"cdx: Fix double free when sysfs file creation fails","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"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_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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00209,"percentile":0.06288,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/88f4cd42a04bdadd189d7f667a4c279f4e962ca6","tags":[]},{"url":"https://git.kernel.org/stable/c/4cd24873ab9fdbd730604881a6e8087bc7b99336","tags":[]},{"url":"https://git.kernel.org/stable/c/7e9451bf0bdba6daee1eaf4e7566612af6ca1c32","tags":[]},{"url":"https://git.kernel.org/stable/c/6f4acc3a3c300e174e3f586b97b04ed8f5948c36","tags":[]}],"priority":{"score":1.3,"factors":[{"name":"EPSS percentile","points":1.26}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= aeda33ab8160c7a2e24ba4f44492ad1e974ddc7d, < 88f4cd42a04bdadd189d7f667a4c279f4e962ca6",">= aeda33ab8160c7a2e24ba4f44492ad1e974ddc7d, < 4cd24873ab9fdbd730604881a6e8087bc7b99336",">= aeda33ab8160c7a2e24ba4f44492ad1e974ddc7d, < 7e9451bf0bdba6daee1eaf4e7566612af6ca1c32",">= aeda33ab8160c7a2e24ba4f44492ad1e974ddc7d, < 6f4acc3a3c300e174e3f586b97b04ed8f5948c36"]},{"vendor":"Linux","product":"Linux","versions":["6.8"]}],"euvd":{"id":"EUVD-2026-85944","exploited":false,"provenance":"source"}}