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

Published Jul 24, 2026
·
Updated

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

12 affected components
Linux Linux kernel>=6.13-rc1<=7.1-rc3
Linux Linux kernel>=5.6<5.10.259
Linux Linux kernel>=5.11<5.15.210
Linux Linux kernel>=5.16<6.1.176
Linux Linux kernel>=6.2<6.6.143
Linux Linux kernel>=6.7<6.12.93
Linux Linux kernel>=6.13<6.18.35
Linux Linux kernel>=6.19<7.0.11
Linux Linux kernel=7.1-rc1
Linux Linux kernel=7.1-rc2
Linux Linux kernel=7.1-rc3
Linux Linux kernel=7.1-rc4

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Linux kernel (octeontx2-pf / otx2_aura_pool_free) to a version that resolves this vulnerability.

    Fixed in v6.13-rc1
  2. Upgrade

    Upgrade Linux kernel (octeontx2-pf / otx2_aura_pool_free) to a version that resolves this vulnerability.

    Fixed in v7.1-rc3

Event History

Jul 24, 2026
CVE Published
via MITRE·03:23 PM
Data Sourced
via MITRE·03:23 PM
DescriptionSeverity
Data Sourced
via NVD·04:16 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-64222?

CVE-2026-64222 has a risk rating of 22, indicating a significant security vulnerability.

2

How do I fix CVE-2026-64222?

To fix CVE-2026-64222, update your Linux kernel to the version that addresses this vulnerability.

3

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.

4

Which software is affected by CVE-2026-64222?

CVE-2026-64222 affects the Linux kernel specifically related to octeontx2-pf functionality.

5

When was CVE-2026-64222 published?

CVE-2026-64222 was published on July 24, 2026.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203