# CVE-2026-64118: qed: fix double free in qed\_cxt\_tables\_alloc()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.4
- **CVSS:** 8.4 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.20% (percentile 5, 2026-11-26)
- **CWE:** CWE-415
- **Published:** 2026-07-19T15:40:17.643Z
- **Modified:** 2026-10-19T21:17:24.603Z

## Who should check

- Anyone running Linux \>= fe56b9e6a8d957d6a20729d626027f800c17a2da, \< 9fe030719bd083b766602692ee96c8c985798e3c; \>= fe56b9e6a8d957d6a20729d626027f800c17a2da, \< 06fa8e69019fd3c41a7b0ea8c5f509c3a33dc227; \>= fe56b9e6a8d957d6a20729d626027f800c17a2da, \< 8cf5e4d2ca6b101d163c7423a426fb0aec34f7bb; \>= fe56b9e6a8d957d6a20729d626027f800c17a2da, \< 3904b993cc17ec5d7c5d3b57dbd0b775dafb9684; \>= fe56b9e6a8d957d6a20729d626027f800c17a2da, \< bdf678a273cadbccc347f331ae2e93ff4d14834c; \>= fe56b9e6a8d957d6a20729d626027f800c17a2da, \< 0e47fc1c9181ae029e0e35a865cbf2adcbae626c; \>= fe56b9e6a8d957d6a20729d626027f800c17a2da, \< a04c207f0801abdd23a169b5f902a9845059a65a; \>= fe56b9e6a8d957d6a20729d626027f800c17a2da, \< 2bccfb8476ca5f3548afbd623dc7a6980d4e77de
- Anyone running Linux 4.4

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

## Affected and fixed versions

- Linux: \>= fe56b9e6a8d957d6a20729d626027f800c17a2da, \< 9fe030719bd083b766602692ee96c8c985798e3c; \>= fe56b9e6a8d957d6a20729d626027f800c17a2da, \< 06fa8e69019fd3c41a7b0ea8c5f509c3a33dc227; \>= fe56b9e6a8d957d6a20729d626027f800c17a2da, \< 8cf5e4d2ca6b101d163c7423a426fb0aec34f7bb; \>= fe56b9e6a8d957d6a20729d626027f800c17a2da, \< 3904b993cc17ec5d7c5d3b57dbd0b775dafb9684; \>= fe56b9e6a8d957d6a20729d626027f800c17a2da, \< bdf678a273cadbccc347f331ae2e93ff4d14834c; \>= fe56b9e6a8d957d6a20729d626027f800c17a2da, \< 0e47fc1c9181ae029e0e35a865cbf2adcbae626c; \>= fe56b9e6a8d957d6a20729d626027f800c17a2da, \< a04c207f0801abdd23a169b5f902a9845059a65a; \>= fe56b9e6a8d957d6a20729d626027f800c17a2da, \< 2bccfb8476ca5f3548afbd623dc7a6980d4e77de (cvelist)
- Linux: 4.4 (cvelist)

## Mitigation

- Upgrade Linux to 2bccfb8476ca5f3548afbd623dc7a6980d4e77de or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-64118. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-64118.md
Affected: Linux >= fe56b9e6a8d957d6a20729d626027f800c17a2da, < 9fe030719bd083b766602692ee96c8c985798e3c; >= fe56b9e6a8d957d6a20729d626027f800c17a2da, < 06fa8e69019fd3c41a7b0ea8c5f509c3a33dc227; >= fe56b9e6a8d957d6a20729d626027f800c17a2da, < 8cf5e4d2ca6b101d163c7423a426fb0aec34f7bb; >= fe56b9e6a8d957d6a20729d…
Fixed in: Linux 9fe030719bd083b766602692ee96c8c985798e3c, Linux 06fa8e69019fd3c41a7b0ea8c5f509c3a33dc227, Linux 8cf5e4d2ca6b101d163c7423a426fb0aec34f7bb, Linux 3904b993cc17ec5d7c5d3b57dbd0b775dafb9684, Linux 0e47fc1c9181ae029e0e35a865cbf2adcbae626c, Linux 2bccfb8476ca5f3548afbd623dc7a6980d4e77de

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-64118 being exploited?

There is no confirmed exploitation: CVE-2026-64118 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.20% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-64118?

High: CVSS 8.4 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-64118?

Linux \>= fe56b9e6a8d957d6a20729d626027f800c17a2da, \< 9fe030719bd083b766602692ee96c8c985798e3c; \>= fe56b9e6a8d957d6a20729d626027f800c17a2da, \< 06fa8e69019fd3c41a7b0ea8c5f509c3a33dc227; \>= fe56b9e6a8d957d6a20729d626027f800c17a2da, \< 8cf5e4d2ca6b101d163c7423a426fb0aec34f7bb; \>= fe56b9e6a8d957d6a20729d626027f800c17a2da, \< 3904b993cc17ec5d7c5d3b57dbd0b775dafb9684; \>= fe56b9e6a8d957d6a20729d626027f800c17a2da, \< bdf678a273cadbccc347f331ae2e93ff4d14834c; \>= fe56b9e6a8d957d6a20729d626027f800c17a2da, \< 0e47fc1c9181ae029e0e35a865cbf2adcbae626c; \>= fe56b9e6a8d957d6a20729d626027f800c17a2da, \< a04c207f0801abdd23a169b5f902a9845059a65a; \>= fe56b9e6a8d957d6a20729d626027f800c17a2da, \< 2bccfb8476ca5f3548afbd623dc7a6980d4e77de; Linux 4.4.

### Is there a fix for CVE-2026-64118?

Yes. Fixed in Linux 9fe030719bd083b766602692ee96c8c985798e3c, Linux 06fa8e69019fd3c41a7b0ea8c5f509c3a33dc227, Linux 8cf5e4d2ca6b101d163c7423a426fb0aec34f7bb, Linux 3904b993cc17ec5d7c5d3b57dbd0b775dafb9684, Linux 0e47fc1c9181ae029e0e35a865cbf2adcbae626c, Linux 2bccfb8476ca5f3548afbd623dc7a6980d4e77de. Upgrade Linux to 2bccfb8476ca5f3548afbd623dc7a6980d4e77de or later.

### How do I check if I'm affected by CVE-2026-64118?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/9fe030719bd083b766602692ee96c8c985798e3c>
- patch: <https://git.kernel.org/stable/c/06fa8e69019fd3c41a7b0ea8c5f509c3a33dc227>
- patch: <https://git.kernel.org/stable/c/8cf5e4d2ca6b101d163c7423a426fb0aec34f7bb>
- patch: <https://git.kernel.org/stable/c/3904b993cc17ec5d7c5d3b57dbd0b775dafb9684>
- patch: <https://git.kernel.org/stable/c/bdf678a273cadbccc347f331ae2e93ff4d14834c>
- patch: <https://git.kernel.org/stable/c/0e47fc1c9181ae029e0e35a865cbf2adcbae626c>
- patch: <https://git.kernel.org/stable/c/a04c207f0801abdd23a169b5f902a9845059a65a>
- patch: <https://git.kernel.org/stable/c/2bccfb8476ca5f3548afbd623dc7a6980d4e77de>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-64118>

HTML: <https://flawdb.com/CVE-2026-64118> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-64118>
