Description
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.
Published: 2026-07-24
Score: 7.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A double free condition occurs in the OcteonTX2 PF representor initialization pathway of the Linux kernel. When the hardware resource setup fails, the code unwinds partially initialized queues before returning, and the same cleanup routine is invoked again, freeing the exact same resources twice. This leads to memory corruption within the kernel. Based on the description, it is inferred that such corruption could allow an attacker with sufficient kernel privilege to execute arbitrary code or cause a system crash, resulting in denial of service.

Affected Systems

The vulnerability affects any Linux kernel build that includes the OcteonTX2 PF driver before the split‑cleanup fix. Reference commits were applied for the v6.13‑rc1 branch and remain in later snapshots such as v7.1‑rc3, indicating that kernels from those releases onward that have not incorporated the change are vulnerable. All systems running a Linux kernel version that contains the OcteonTX2 PF driver and have access to the representor hardware are at risk.

Risk and Exploitability

The EPSS score is <1%, and the vulnerability is not listed in the CISA KEV catalog, indicating a very low likelihood of real‑world exploitation. The CVSS score of 7.8 indicates high severity. Exploitation would require presence of OcteonTX2 representor hardware and code execution in kernel context, making it a niche threat. As a result, the overall risk is considered high, primarily affecting unpatched kernels that still employ the vulnerable driver.

Generated by OpenCVE AI on August 13, 2026 at 11:04 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the kernel to a release that includes the split‑cleanup commit that fixes the double free; the referenced commits provide the necessary patch.
  • If an official kernel update is not immediately available, rebuild the kernel from source and apply the commits that split the cleanup logic, ensuring the modified cleanup labels are in place.
  • If OcteonTX2 representor hardware is not required, disable or unload the corresponding PF driver to remove the attack surface.

Generated by OpenCVE AI on August 13, 2026 at 11:04 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Ubuntu USN Ubuntu USN USN-8618-1 Linux kernel vulnerabilities
History

Wed, 12 Aug 2026 00:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-415
CPEs cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.1:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.1:rc4:*:*:*:*:*:*
Metrics cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}


Mon, 03 Aug 2026 20:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-415

Tue, 28 Jul 2026 16:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-763
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate


Sun, 26 Jul 2026 03:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-415

Fri, 24 Jul 2026 18:30:00 +0000

Type Values Removed Values Added
Description 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.
Title octeontx2-pf: fix double free in rvu_rep_rsrc_init()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-07-24T15:23:09.209Z

Reserved: 2026-07-19T15:36:31.770Z

Link: CVE-2026-64224

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2026-07-24T16:16:51.320

Modified: 2026-08-12T00:11:26.863

Link: CVE-2026-64224

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-07-24T00:00:00Z

Links: CVE-2026-64224 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-13T11:15:05Z

Weaknesses