CVE-2026-64118 qed: fix double free in qed_cxt_tables_alloc()
A double free vulnerability in the Linux kernel qed driver allows attackers to cause denial of service or potentially execute code via memory corruption.
- 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-64118?
CVE-2026-64118 is a high-severity memory corruption vulnerability in Linux kernel, published on 19 Jul 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:
qed: fix double free in qed_cxt_tables_alloc()
If one of the later PF or VF CID bitmap allocations fails, qed_cid_map_alloc() jumps to cid_map_fail and frees the previously allocated CID bitmaps before returning an error. qed_cxt_tables_alloc() then calls qed_cxt_mngr_free(), which invokes qed_cid_map_free() again.
Fix this by setting each CID bitmap pointer to NULL after bitmap_free() to avoid double free.
The bug was first flagged by an experimental analysis tool we are developing for kernel memory-management bugs while analyzing v6.13-rc1. The tool is still under development and is not yet publicly available. Manual inspection confirms that the bug is still present in v7.1-rc3.
Runtime reproduction was not attempted because exercising the failing allocation path requires device-specific setup.
Weakness: CWE-415
Which versions are affected by CVE-2026-64118?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2026-64118?
Apply the vendor's patch.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2026-64118 being exploited?
There is no known exploitation of CVE-2026-64118 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2026-64118, DEBIAN-CVE-2026-64118, GHSA-wf22-p86j-w6w4, ROOT-OS-UBUNTU-2204-CVE-2026-64118, UBUNTU-CVE-2026-64118.