CVE-2026-93215 cdx: Fix double free when sysfs file creation fails
설명
In the Linux kernel, the following vulnerability has been resolved: cdx: Fix double free when sysfs file creation fails In cdx_create_res_attr(), if sysfs_create_bin_file() fails, the code frees res_attr but doesn't set cdx_dev->res_attr[num] to NULL. This leaves a dangling pointer in the array. Then cdx_destroy_res_attr() frees the already-freed memory. Fix the double free by initializing cdx_dev->res_attr[num] after sysfs_create_bin_file() completes.
영향 받는 제품 제품 1개
-
해결 버전 있음
Linux
Linux
영향 받는 버전
- 6.8
해결 버전
- 6.8 미만
- 6.12.109 이상
- 6.18.50 이상
- 7.2.4 이상
참고 자료 4건
- git.kernel.org https://git.kernel.org/stable/c/4cd24873ab9fdbd730604881a6e8087bc7b99336 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/6f4acc3a3c300e174e3f586b97b04ed8f5948c36 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/7e9451bf0bdba6daee1eaf4e7566612af6ca1c32 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/88f4cd42a04bdadd189d7f667a4c279f4e962ca6 (새 창)