CVE-2026-64222: octeontx2-pf: avoid double free of pool->stack on AQ init failure
In the Linux kernel, the following vulnerability has been resolved:
octeontx2-pf: avoid double free of pool->stack on AQ init failure
otx2poolaqinit() frees pool->stack when mailbox sync or retry allocation fails, but leaves the pointer unchanged. Later, otx2sqaurapoolinit() unwinds the partial setup through otx2aurapoolfree(), which frees pool->stack again. The CN20K-specific cn20kpoolaqinit() implementation has the same bug in its corresponding error path.
Set pool->stack to NULL immediately after the local free so the shared cleanup path does not free the same stack again while cleaning up partially initialized pool state.
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 validation was not performed because reproducing this path requires OcteonTX2/CN20K hardware.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Linux kernel (octeontx2-pf / otx2_aura_pool_free)to a version that resolves this vulnerability.Fixed in v6.13-rc1 - Upgrade
Upgrade
Linux kernel (octeontx2-pf / otx2_aura_pool_free)to a version that resolves this vulnerability.Fixed in v7.1-rc3
Event History
Frequently Asked Questions
What is the severity of CVE-2026-64222?
CVE-2026-64222 has a risk rating of 22, indicating a significant security vulnerability.
How do I fix CVE-2026-64222?
To fix CVE-2026-64222, update your Linux kernel to the version that addresses this vulnerability.
What is the impact of CVE-2026-64222?
CVE-2026-64222 can lead to a double free condition that may cause instability or crashes in the affected system.
Which software is affected by CVE-2026-64222?
CVE-2026-64222 affects the Linux kernel specifically related to octeontx2-pf functionality.
When was CVE-2026-64222 published?
CVE-2026-64222 was published on July 24, 2026.