All vulnerabilities
CVE-2026-93215

Linux: cdx: Fix double free when sysfs file creation fails

Linux LinuxOperating systems
CVSS
NoneNot scored
ExploitationNo known exploitationNot in CISA KEV, which does not prove it is unexploitedCISA KEV
Exploit odds (EPSS)0.17%Chance of exploitation activity in the next 30 days, higher than 5% of CVEs. Scored 23 Oct 2026FIRST EPSS
Fixed in88f4cd42a04bdadd189d7f667a4c279f4e962ca6Also 4cd24873ab9fdbd730604881a6e8087bc7b99336, 7e9451bf0bdba6daee1eaf4e7566612af6ca1c32 and 1 moreCVE List
Published24 Sep 2026Updated 19 Oct 2026CVE List

What fixes it

  • 88f4cd42a04bdadd189d7f667a4c279f4e962ca6LinuxCVE List
  • 4cd24873ab9fdbd730604881a6e8087bc7b99336LinuxCVE List
  • 7e9451bf0bdba6daee1eaf4e7566612af6ca1c32LinuxCVE List
  • 6f4acc3a3c300e174e3f586b97b04ed8f5948c36LinuxCVE List

A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.

Description

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.

Text from CVE List

Affected versions 10

  • Linuxaffected: aeda33ab8160c7a2e24ba4f44492ad1e974ddc7d before 88f4cd42a04bdadd189d7f667a4c279f4e962ca6CVE List
  • Linuxaffected: aeda33ab8160c7a2e24ba4f44492ad1e974ddc7d before 4cd24873ab9fdbd730604881a6e8087bc7b99336CVE List
  • Linuxaffected: aeda33ab8160c7a2e24ba4f44492ad1e974ddc7d before 7e9451bf0bdba6daee1eaf4e7566612af6ca1c32CVE List
  • Linuxaffected: aeda33ab8160c7a2e24ba4f44492ad1e974ddc7d before 6f4acc3a3c300e174e3f586b97b04ed8f5948c36CVE List
  • Linuxaffected: 6.8CVE List
  • Linuxunaffected: all versions before 6.8CVE List
  • Linuxunaffected: 6.12.109 through 6.12.*CVE List
  • Linuxunaffected: 6.18.50 through 6.18.*CVE List
  • Linuxunaffected: 7.2.4 through 7.2.*CVE List
  • Linuxunaffected: 7.3CVE List

References 4