CVE-2026-93215 cdx: Fix double free when sysfs file creation fails

Not scored Published Updated

A double free vulnerability in the Linux kernel CDX bus driver allows local attackers to cause a denial of service or potentially execute arbitrary code.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2026-93215?

CVE-2026-93215 is an use after free vulnerability in Linux, published on 24 Sep 2026. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Which versions are affected by CVE-2026-93215?

How do I fix CVE-2026-93215?

Apply the vendor's patch.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2026-93215 being exploited?

There is no known exploitation of CVE-2026-93215 in the wild and no public exploit code.

Sources

Also known as BELL-CVE-2026-93215, DEBIAN-CVE-2026-93215, GHSA-hvg6-3p54-385v, UBUNTU-CVE-2026-93215.

Is CVE-2026-93215 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free