CVE-2026-64222 (GCVE-0-2026-64222)

Vulnerability from cvelistv5 – Published: 2026-07-24 15:23 – Updated: 2026-07-27 04:59
VLAI
Title
octeontx2-pf: avoid double free of pool->stack on AQ init failure
Summary
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.
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: caa2da34fd25a37e9fd43343b6966fb9d730a6d5 , < e6e9bc0bf963662b7042048ab0281014625d4cb4 (git)
Affected: caa2da34fd25a37e9fd43343b6966fb9d730a6d5 , < b92e7ea408b6f1144648909c9c49a55d245d7300 (git)
Affected: caa2da34fd25a37e9fd43343b6966fb9d730a6d5 , < 94192b0579333c3deee2441379aab8ca98fc2e6b (git)
Affected: caa2da34fd25a37e9fd43343b6966fb9d730a6d5 , < 4c29603498b05c049dbbbc47e882f2fbf0193cd7 (git)
Affected: caa2da34fd25a37e9fd43343b6966fb9d730a6d5 , < 0488a0bb344fb1992853b60082acff6be8164d74 (git)
Affected: caa2da34fd25a37e9fd43343b6966fb9d730a6d5 , < 0d9b9d7dbef976ae7f855b6358f1d703014e96ea (git)
Affected: caa2da34fd25a37e9fd43343b6966fb9d730a6d5 , < c4b8c5d51632538b19ee01cf6d70cbceeefbd3ec (git)
Affected: caa2da34fd25a37e9fd43343b6966fb9d730a6d5 , < 9b244c242bec48b37e82b89787afd6a4c43457e1 (git)
Create a notification for this product.
Linux Linux Affected: 5.6
Unaffected: 0 , < 5.6 (semver)
Unaffected: 5.10.259 , ≤ 5.10.* (semver)
Unaffected: 5.15.210 , ≤ 5.15.* (semver)
Unaffected: 6.1.176 , ≤ 6.1.* (semver)
Unaffected: 6.6.143 , ≤ 6.6.* (semver)
Unaffected: 6.12.93 , ≤ 6.12.* (semver)
Unaffected: 6.18.35 , ≤ 6.18.* (semver)
Unaffected: 7.0.11 , ≤ 7.0.* (semver)
Unaffected: 7.1 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/net/ethernet/marvell/octeontx2/nic/cn20k.c",
            "drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "e6e9bc0bf963662b7042048ab0281014625d4cb4",
              "status": "affected",
              "version": "caa2da34fd25a37e9fd43343b6966fb9d730a6d5",
              "versionType": "git"
            },
            {
              "lessThan": "b92e7ea408b6f1144648909c9c49a55d245d7300",
              "status": "affected",
              "version": "caa2da34fd25a37e9fd43343b6966fb9d730a6d5",
              "versionType": "git"
            },
            {
              "lessThan": "94192b0579333c3deee2441379aab8ca98fc2e6b",
              "status": "affected",
              "version": "caa2da34fd25a37e9fd43343b6966fb9d730a6d5",
              "versionType": "git"
            },
            {
              "lessThan": "4c29603498b05c049dbbbc47e882f2fbf0193cd7",
              "status": "affected",
              "version": "caa2da34fd25a37e9fd43343b6966fb9d730a6d5",
              "versionType": "git"
            },
            {
              "lessThan": "0488a0bb344fb1992853b60082acff6be8164d74",
              "status": "affected",
              "version": "caa2da34fd25a37e9fd43343b6966fb9d730a6d5",
              "versionType": "git"
            },
            {
              "lessThan": "0d9b9d7dbef976ae7f855b6358f1d703014e96ea",
              "status": "affected",
              "version": "caa2da34fd25a37e9fd43343b6966fb9d730a6d5",
              "versionType": "git"
            },
            {
              "lessThan": "c4b8c5d51632538b19ee01cf6d70cbceeefbd3ec",
              "status": "affected",
              "version": "caa2da34fd25a37e9fd43343b6966fb9d730a6d5",
              "versionType": "git"
            },
            {
              "lessThan": "9b244c242bec48b37e82b89787afd6a4c43457e1",
              "status": "affected",
              "version": "caa2da34fd25a37e9fd43343b6966fb9d730a6d5",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/net/ethernet/marvell/octeontx2/nic/cn20k.c",
            "drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.6"
            },
            {
              "lessThan": "5.6",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.259",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.210",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.176",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.143",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.93",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.35",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.0.*",
              "status": "unaffected",
              "version": "7.0.11",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.259",
                  "versionStartIncluding": "5.6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.210",
                  "versionStartIncluding": "5.6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.176",
                  "versionStartIncluding": "5.6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.143",
                  "versionStartIncluding": "5.6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.93",
                  "versionStartIncluding": "5.6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.35",
                  "versionStartIncluding": "5.6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.0.11",
                  "versionStartIncluding": "5.6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.1",
                  "versionStartIncluding": "5.6",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nocteontx2-pf: avoid double free of pool-\u003estack on AQ init failure\n\notx2_pool_aq_init() frees pool-\u003estack when mailbox sync or retry\nallocation fails, but leaves the pointer unchanged. Later,\notx2_sq_aura_pool_init() unwinds the partial setup through\notx2_aura_pool_free(), which frees pool-\u003estack again. The CN20K-specific\ncn20k_pool_aq_init() implementation has the same bug in\nits corresponding error path.\n\nSet pool-\u003estack to NULL immediately after the local free so the shared\ncleanup path does not free the same stack again while cleaning up\npartially initialized pool state.\n\nThe bug was first flagged by an experimental analysis tool we are\ndeveloping for kernel memory-management bugs while analyzing\nv6.13-rc1. The tool is still under development and is not yet publicly\navailable. Manual inspection confirms that the bug is still present in\nv7.1-rc3.\n\nRuntime validation was not performed because reproducing this path\nrequires OcteonTX2/CN20K hardware."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          }
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-07-27T04:59:00.636Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/e6e9bc0bf963662b7042048ab0281014625d4cb4"
        },
        {
          "url": "https://git.kernel.org/stable/c/b92e7ea408b6f1144648909c9c49a55d245d7300"
        },
        {
          "url": "https://git.kernel.org/stable/c/94192b0579333c3deee2441379aab8ca98fc2e6b"
        },
        {
          "url": "https://git.kernel.org/stable/c/4c29603498b05c049dbbbc47e882f2fbf0193cd7"
        },
        {
          "url": "https://git.kernel.org/stable/c/0488a0bb344fb1992853b60082acff6be8164d74"
        },
        {
          "url": "https://git.kernel.org/stable/c/0d9b9d7dbef976ae7f855b6358f1d703014e96ea"
        },
        {
          "url": "https://git.kernel.org/stable/c/c4b8c5d51632538b19ee01cf6d70cbceeefbd3ec"
        },
        {
          "url": "https://git.kernel.org/stable/c/9b244c242bec48b37e82b89787afd6a4c43457e1"
        }
      ],
      "title": "octeontx2-pf: avoid double free of pool-\u003estack on AQ init failure",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-64222",
    "datePublished": "2026-07-24T15:23:08.072Z",
    "dateReserved": "2026-07-19T15:36:31.770Z",
    "dateUpdated": "2026-07-27T04:59:00.636Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-64222",
      "date": "2026-08-03",
      "epss": "0.00122",
      "percentile": "0.0229"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-64222\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-07-24T16:16:50.053\",\"lastModified\":\"2026-07-30T15:00:27.343\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nocteontx2-pf: avoid double free of pool-\u003estack on AQ init failure\\n\\notx2_pool_aq_init() frees pool-\u003estack when mailbox sync or retry\\nallocation fails, but leaves the pointer unchanged. Later,\\notx2_sq_aura_pool_init() unwinds the partial setup through\\notx2_aura_pool_free(), which frees pool-\u003estack again. The CN20K-specific\\ncn20k_pool_aq_init() implementation has the same bug in\\nits corresponding error path.\\n\\nSet pool-\u003estack to NULL immediately after the local free so the shared\\ncleanup path does not free the same stack again while cleaning up\\npartially initialized pool state.\\n\\nThe bug was first flagged by an experimental analysis tool we are\\ndeveloping for kernel memory-management bugs while analyzing\\nv6.13-rc1. The tool is still under development and is not yet publicly\\navailable. Manual inspection confirms that the bug is still present in\\nv7.1-rc3.\\n\\nRuntime validation was not performed because reproducing this path\\nrequires OcteonTX2/CN20K hardware.\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"drivers/net/ethernet/marvell/octeontx2/nic/cn20k.c\",\"drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"caa2da34fd25a37e9fd43343b6966fb9d730a6d5\",\"lessThan\":\"e6e9bc0bf963662b7042048ab0281014625d4cb4\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"caa2da34fd25a37e9fd43343b6966fb9d730a6d5\",\"lessThan\":\"b92e7ea408b6f1144648909c9c49a55d245d7300\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"caa2da34fd25a37e9fd43343b6966fb9d730a6d5\",\"lessThan\":\"94192b0579333c3deee2441379aab8ca98fc2e6b\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"caa2da34fd25a37e9fd43343b6966fb9d730a6d5\",\"lessThan\":\"4c29603498b05c049dbbbc47e882f2fbf0193cd7\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"caa2da34fd25a37e9fd43343b6966fb9d730a6d5\",\"lessThan\":\"0488a0bb344fb1992853b60082acff6be8164d74\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"caa2da34fd25a37e9fd43343b6966fb9d730a6d5\",\"lessThan\":\"0d9b9d7dbef976ae7f855b6358f1d703014e96ea\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"caa2da34fd25a37e9fd43343b6966fb9d730a6d5\",\"lessThan\":\"c4b8c5d51632538b19ee01cf6d70cbceeefbd3ec\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"caa2da34fd25a37e9fd43343b6966fb9d730a6d5\",\"lessThan\":\"9b244c242bec48b37e82b89787afd6a4c43457e1\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"drivers/net/ethernet/marvell/octeontx2/nic/cn20k.c\",\"drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"5.6\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"5.6\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.10.259\",\"lessThanOrEqual\":\"5.10.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.15.210\",\"lessThanOrEqual\":\"5.15.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.1.176\",\"lessThanOrEqual\":\"6.1.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.6.143\",\"lessThanOrEqual\":\"6.6.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.12.93\",\"lessThanOrEqual\":\"6.12.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.18.35\",\"lessThanOrEqual\":\"6.18.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.0.11\",\"lessThanOrEqual\":\"7.0.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.1\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H\",\"baseScore\":7.0,\"baseSeverity\":\"HIGH\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"HIGH\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":1.0,\"impactScore\":5.9}]},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/0488a0bb344fb1992853b60082acff6be8164d74\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/0d9b9d7dbef976ae7f855b6358f1d703014e96ea\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/4c29603498b05c049dbbbc47e882f2fbf0193cd7\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/94192b0579333c3deee2441379aab8ca98fc2e6b\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/9b244c242bec48b37e82b89787afd6a4c43457e1\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/b92e7ea408b6f1144648909c9c49a55d245d7300\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/c4b8c5d51632538b19ee01cf6d70cbceeefbd3ec\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/e6e9bc0bf963662b7042048ab0281014625d4cb4\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}",
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-07-29T07:03:35+00:00",
      "cve": "CVE-2026-64222",
      "id": "CVE-2026-64222",
      "initial_release_date": "2026-07-24T00:00:00+00:00",
      "product_status:known_affected": "184",
      "product_status:known_not_affected": "90",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: octeontx2-pf: avoid double free of pool-\u003estack on AQ init failure",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-64222.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-07-30T16:32:43Z",
      "cve": "CVE-2026-64222",
      "id": "CVE-2026-64222",
      "initial_release_date": "2026-07-25T00:14:15Z",
      "product_status:known_affected": "219",
      "product_status:known_not_affected": "79",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2026-64222",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2026-64222.json",
      "version": "4"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Loading…