# CVE-2026-64222: octeontx2-pf: avoid double free of pool->stack on AQ init failure

- Severity: High 7.0 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.12%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-07-24T15:23:08.072Z
- Modified: 2026-10-19T21:17:27.463Z
- Weaknesses: CWE-415
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from caa2da34fd25a37e9fd43343b6966fb9d730a6d5 before e6e9bc0bf963662b7042048ab0281014625d4cb4; from caa2da34fd25a37e9fd43343b6966fb9d730a6d5 before b92e7ea408b6f1144648909c9c49a55d245d7300; from caa2da34fd25a37e9fd43343b6966fb9d730a6d5 before 94192b0579333c3deee2441379aab8ca98fc2e6b; from caa2da34fd25a37e9fd43343b6966fb9d730a6d5 before 4c29603498b05c049dbbbc47e882f2fbf0193cd7; from caa2da34fd25a37e9fd43343b6966fb9d730a6d5 before 0488a0bb344fb1992853b60082acff6be8164d74; from caa2da34fd25a37e9fd43343b6966fb9d730a6d5 before 0d9b9d7dbef976ae7f855b6358f1d703014e96ea; from caa2da34fd25a37e9fd43343b6966fb9d730a6d5 before c4b8c5d51632538b19ee01cf6d70cbceeefbd3ec; from caa2da34fd25a37e9fd43343b6966fb9d730a6d5 before 9b244c242bec48b37e82b89787afd6a4c43457e1; 5.6 (not affected: before 5.6; from 5.10.259 up to 5.10.*; from 5.15.210 up to 5.15.*; from 6.1.176 up to 6.1.*; from 6.6.143 up to 6.6.*; from 6.12.93 up to 6.12.*; from 6.18.35 up to 6.18.*; from 7.0.11 up to 7.0.*; from 7.1 up to *)
- linux linux_kernel: from 5.6 before 5.10.259; from 5.11 before 5.15.210; from 5.16 before 6.1.176; from 6.2 before 6.6.143; from 6.7 before 6.12.93; from 6.13 before 6.18.35; from 6.19 before 7.0.11; 7.1

## References

- <https://git.kernel.org/stable/c/e6e9bc0bf963662b7042048ab0281014625d4cb4> (patch)
- <https://git.kernel.org/stable/c/b92e7ea408b6f1144648909c9c49a55d245d7300> (patch)
- <https://git.kernel.org/stable/c/94192b0579333c3deee2441379aab8ca98fc2e6b> (patch)
- <https://git.kernel.org/stable/c/4c29603498b05c049dbbbc47e882f2fbf0193cd7> (patch)
- <https://git.kernel.org/stable/c/0488a0bb344fb1992853b60082acff6be8164d74> (patch)
- <https://git.kernel.org/stable/c/0d9b9d7dbef976ae7f855b6358f1d703014e96ea> (patch)
- <https://git.kernel.org/stable/c/c4b8c5d51632538b19ee01cf6d70cbceeefbd3ec> (patch)
- <https://git.kernel.org/stable/c/9b244c242bec48b37e82b89787afd6a4c43457e1> (patch)

## Sources

- CVE List: [CVE-2026-64222](https://www.cve.org/CVERecord?id=CVE-2026-64222), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-64222](https://nvd.nist.gov/vuln/detail/CVE-2026-64222), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-64222 · Whole record: https://cve.day/CVE-2026-64222.json · Rebuilt by cve.day 2026-11-25T22:59:30.005Z
