CVE-2026-64222 Details
Description
In the Linux kernel, the following vulnerability has been resolved: octeontx2-pf: avoid double free of pool->stack on AQ init failure otx2_pool_aq_init() frees pool->stack when mailbox sync or retry allocation fails, but leaves the pointer unchanged. Later, otx2_sq_aura_pool_init() unwinds the partial setup through otx2_aura_pool_free(), which frees pool->stack again. The CN20K-specific cn20k_pool_aq_init() 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.
A double free vulnerability has been identified in the Linux kernel's OcteonTX2 network driver, specifically within the CN20K architecture. The issue arises in the 'otx2_pool_aq_init' function, which frees a memory stack pointer when certain mailbox synchronization or allocation retries fail. However, the function does not nullify the pointer, leaving it vulnerable to being freed again later, causing a double free scenario. This flaw is also present in the CN20K-specific 'cn20k_pool_aq_init' implementation. The vulnerability was discovered through an experimental analysis tool designed to identify kernel memory management issues, although this tool is not yet publicly available. Manual inspections have confirmed the bug's presence in the latest kernel releases, and while the vulnerability requires OcteonTX2/CN20K hardware to reproduce, the necessary conditions for exploitation are met during normal driver operations.
The vulnerability has been addressed in the Linux kernel. Users should upgrade to the latest version where this issue has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/0488a0bb344fb1992853b60082acff6be8164d74 | kernel.org | Patch |
| https://git.kernel.org/stable/c/0d9b9d7dbef976ae7f855b6358f1d703014e96ea | kernel.org | Patch |
| https://git.kernel.org/stable/c/4c29603498b05c049dbbbc47e882f2fbf0193cd7 | kernel.org | Patch |
| https://git.kernel.org/stable/c/94192b0579333c3deee2441379aab8ca98fc2e6b | kernel.org | Patch |
| https://git.kernel.org/stable/c/9b244c242bec48b37e82b89787afd6a4c43457e1 | kernel.org | Patch |
| https://git.kernel.org/stable/c/b92e7ea408b6f1144648909c9c49a55d245d7300 | kernel.org | Patch |
| https://git.kernel.org/stable/c/c4b8c5d51632538b19ee01cf6d70cbceeefbd3ec | kernel.org | Patch |
| https://git.kernel.org/stable/c/e6e9bc0bf963662b7042048ab0281014625d4cb4 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-415 | Double Free | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 5.6, < 5.10.259 >= 5.11, < 5.15.210 >= 5.16, < 6.1.176 >= 6.2, < 6.6.143 >= 6.7, < 6.12.93 >= 6.13, < 6.18.35 >= 6.19, < 7.0.11 7.1 rc1 7.1 rc2 7.1 rc3 7.1 rc4 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Aug 11, 2026 | Initial Analysis | [email protected] |
| Jul 27, 2026 | CVE Modified | kernel.org |
| Jul 24, 2026 | New CVE Received | kernel.org |