{"id":"CVE-2026-93215","aliases":["CVE-2026-93215"],"related":[],"kind":"vulnerability","state":"published","title":"cdx: Fix double free when sysfs file creation fails","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_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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2026-09-24T15:10:37.863Z","modified":"2026-10-19T10:17:12.440Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"aeda33ab8160c7a2e24ba4f44492ad1e974ddc7d","fixed":"88f4cd42a04bdadd189d7f667a4c279f4e962ca6","status":"affected"},{"type":"git","introduced":"aeda33ab8160c7a2e24ba4f44492ad1e974ddc7d","fixed":"4cd24873ab9fdbd730604881a6e8087bc7b99336","status":"affected"},{"type":"git","introduced":"aeda33ab8160c7a2e24ba4f44492ad1e974ddc7d","fixed":"7e9451bf0bdba6daee1eaf4e7566612af6ca1c32","status":"affected"},{"type":"git","introduced":"aeda33ab8160c7a2e24ba4f44492ad1e974ddc7d","fixed":"6f4acc3a3c300e174e3f586b97b04ed8f5948c36","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.8","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.8","status":"unaffected"},{"type":"semver","introduced":"6.12.109","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.50","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.4","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/88f4cd42a04bdadd189d7f667a4c279f4e962ca6","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4cd24873ab9fdbd730604881a6e8087bc7b99336","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7e9451bf0bdba6daee1eaf4e7566612af6ca1c32","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6f4acc3a3c300e174e3f586b97b04ed8f5948c36","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-93215","url":"https://www.cve.org/CVERecord?id=CVE-2026-93215","licence":"CVE Terms of Use","modified":"2026-10-19T09:07:27.148Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-93215","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-93215","licence":"Public domain","modified":"2026-10-19T10:17:12.440Z"}],"updatedAt":"2026-11-25T22:59:40.780Z","epss":{"score":0.00168,"percentile":0.06377,"date":"2026-12-01T12:00:22.000Z"}}