CVE-2026-64222
octeontx2-pf: avoid double free of pool->stack on AQ init failure
Reported by linux · Published July 24, 2026
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| Linux | Linux | e6e9bc0bf963662b7042048ab0281014625d4cb4, c4b8c5d51632538b19ee01cf6d70cbceeefbd3ec, b92e7ea408b6f1144648909c9c49a55d245d7300, 9b244c242bec48b37e82b89787afd6a4c43457e1, 94192b0579333c3deee2441379aab8ca98fc2e6b, 4c29603498b05c049dbbbc47e882f2fbf0193cd7, 0d9b9d7dbef976ae7f855b6358f1d703014e96ea, 0488a0bb344fb1992853b60082acff6be8164d74 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | caa2da34fd25a37e9fd43343b6966fb9d730a6d5, caa2da34fd25a37e9fd43343b6966fb9d730a6d5, caa2da34fd25a37e9fd43343b6966fb9d730a6d5 |
| Linux | Linux | 5.6, 0, 5.10.259 |
| Linux | Linux | 7.1, 0, 5.10.259 |
| linux | linux_kernel | 5.6, 5.6, 5.6 |
Timeline
- Jul 24, 2026 Coalition ESS Score
- Jul 24, 2026 CVE Published
- Jul 25, 2026 EPSS Score (7 in total, the first dated here)
- Jul 26, 2026 Security Advisory (20 in total, the first dated here)
- Aug 12, 2026 Distribution Patch (21 in total, the first dated here)
- Oct 19, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-64222
vulnetix vdb fixes CVE-2026-64222
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-64222/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart