CVE-2026-64224 (GCVE-0-2026-64224)

Vulnerability from cvelistv5 – Published: 2026-07-24 15:23 – Updated: 2026-07-24 15:23
VLAI
Title
octeontx2-pf: fix double free in rvu_rep_rsrc_init()
Summary
In the Linux kernel, the following vulnerability has been resolved: octeontx2-pf: fix double free in rvu_rep_rsrc_init() rvu_rep_rsrc_init() allocates queue memory before calling otx2_init_hw_resources(). When hardware resource setup fails, otx2_init_hw_resources() already unwinds the partially initialized SQ, CQ, and aura state before returning an error. The representor error path then calls otx2_free_hw_resources() again and can free the same resources a second time. Fix this by splitting the cleanup labels so that a failure from otx2_init_hw_resources() only releases queue memory. Keep the otx2_free_hw_resources() call for failures that happen after hardware resource initialization completed successfully. 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 representor hardware.
Severity
No CVSS data available.
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: 3937b7308d4fce2793fa7fa56ed0faf0f8b6dc7a , < 8864b664d0443ecb8e56690e5546fcda5fe5e81b (git)
Affected: 3937b7308d4fce2793fa7fa56ed0faf0f8b6dc7a , < eb72a65f2bb2cc059e2ca5d83de01fdf3ea602ad (git)
Affected: 3937b7308d4fce2793fa7fa56ed0faf0f8b6dc7a , < e8fb3de2a8effcaf62bec2c56b93d8bb480371d1 (git)
Create a notification for this product.
Linux Linux Affected: 6.13
Unaffected: 0 , < 6.13 (semver)
Unaffected: 6.18.34 , ≤ 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/rep.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "8864b664d0443ecb8e56690e5546fcda5fe5e81b",
              "status": "affected",
              "version": "3937b7308d4fce2793fa7fa56ed0faf0f8b6dc7a",
              "versionType": "git"
            },
            {
              "lessThan": "eb72a65f2bb2cc059e2ca5d83de01fdf3ea602ad",
              "status": "affected",
              "version": "3937b7308d4fce2793fa7fa56ed0faf0f8b6dc7a",
              "versionType": "git"
            },
            {
              "lessThan": "e8fb3de2a8effcaf62bec2c56b93d8bb480371d1",
              "status": "affected",
              "version": "3937b7308d4fce2793fa7fa56ed0faf0f8b6dc7a",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/net/ethernet/marvell/octeontx2/nic/rep.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.13"
            },
            {
              "lessThan": "6.13",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.34",
              "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": "6.18.34",
                  "versionStartIncluding": "6.13",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.0.11",
                  "versionStartIncluding": "6.13",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.1",
                  "versionStartIncluding": "6.13",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nocteontx2-pf: fix double free in rvu_rep_rsrc_init()\n\nrvu_rep_rsrc_init() allocates queue memory before calling\notx2_init_hw_resources(). When hardware resource setup fails,\notx2_init_hw_resources() already unwinds the partially initialized\nSQ, CQ, and aura state before returning an error. The representor\nerror path then calls otx2_free_hw_resources() again and can free\nthe same resources a second time.\n\nFix this by splitting the cleanup labels so that a failure from\notx2_init_hw_resources() only releases queue memory. Keep the\notx2_free_hw_resources() call for failures that happen after\nhardware resource initialization completed successfully.\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\npresent in v7.1-rc3.\n\nRuntime validation was not performed because reproducing this path\nrequires OcteonTX2 representor hardware."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-07-24T15:23:09.209Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/8864b664d0443ecb8e56690e5546fcda5fe5e81b"
        },
        {
          "url": "https://git.kernel.org/stable/c/eb72a65f2bb2cc059e2ca5d83de01fdf3ea602ad"
        },
        {
          "url": "https://git.kernel.org/stable/c/e8fb3de2a8effcaf62bec2c56b93d8bb480371d1"
        }
      ],
      "title": "octeontx2-pf: fix double free in rvu_rep_rsrc_init()",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-64224",
    "datePublished": "2026-07-24T15:23:09.209Z",
    "dateReserved": "2026-07-19T15:36:31.770Z",
    "dateUpdated": "2026-07-24T15:23:09.209Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-64224",
      "date": "2026-07-31",
      "epss": "0.00166",
      "percentile": "0.06299"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-64224\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-07-24T16:16:51.320\",\"lastModified\":\"2026-07-30T14:59:47.950\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nocteontx2-pf: fix double free in rvu_rep_rsrc_init()\\n\\nrvu_rep_rsrc_init() allocates queue memory before calling\\notx2_init_hw_resources(). When hardware resource setup fails,\\notx2_init_hw_resources() already unwinds the partially initialized\\nSQ, CQ, and aura state before returning an error. The representor\\nerror path then calls otx2_free_hw_resources() again and can free\\nthe same resources a second time.\\n\\nFix this by splitting the cleanup labels so that a failure from\\notx2_init_hw_resources() only releases queue memory. Keep the\\notx2_free_hw_resources() call for failures that happen after\\nhardware resource initialization completed successfully.\\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\\npresent in v7.1-rc3.\\n\\nRuntime validation was not performed because reproducing this path\\nrequires OcteonTX2 representor hardware.\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"drivers/net/ethernet/marvell/octeontx2/nic/rep.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"3937b7308d4fce2793fa7fa56ed0faf0f8b6dc7a\",\"lessThan\":\"8864b664d0443ecb8e56690e5546fcda5fe5e81b\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"3937b7308d4fce2793fa7fa56ed0faf0f8b6dc7a\",\"lessThan\":\"eb72a65f2bb2cc059e2ca5d83de01fdf3ea602ad\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"3937b7308d4fce2793fa7fa56ed0faf0f8b6dc7a\",\"lessThan\":\"e8fb3de2a8effcaf62bec2c56b93d8bb480371d1\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"drivers/net/ethernet/marvell/octeontx2/nic/rep.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"6.13\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"6.13\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.18.34\",\"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\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/8864b664d0443ecb8e56690e5546fcda5fe5e81b\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/e8fb3de2a8effcaf62bec2c56b93d8bb480371d1\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/eb72a65f2bb2cc059e2ca5d83de01fdf3ea602ad\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}",
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-07-28T10:07:40+00:00",
      "cve": "CVE-2026-64224",
      "id": "CVE-2026-64224",
      "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: fix double free in rvu_rep_rsrc_init()",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-64224.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-07-28T17:09:02Z",
      "cve": "CVE-2026-64224",
      "id": "CVE-2026-64224",
      "initial_release_date": "2026-07-25T00:14:12Z",
      "product_status:known_affected": "84",
      "product_status:known_not_affected": "214",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2026-64224",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2026-64224.json",
      "version": "3"
    }
  }
}



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…