CVE-2026-64224

Source
https://cve.org/CVERecord?id=CVE-2026-64224
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64224.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-64224
Downstream
Published
2026-07-24T15:23:09.209Z
Modified
2026-07-27T04:03:13.261217129Z
Summary
octeontx2-pf: fix double free in rvu_rep_rsrc_init()
Details

In the Linux kernel, the following vulnerability has been resolved:

octeontx2-pf: fix double free in rvureprsrc_init()

rvureprsrcinit() allocates queue memory before calling otx2inithwresources(). When hardware resource setup fails, otx2inithwresources() already unwinds the partially initialized SQ, CQ, and aura state before returning an error. The representor error path then calls otx2freehwresources() again and can free the same resources a second time.

Fix this by splitting the cleanup labels so that a failure from otx2inithwresources() only releases queue memory. Keep the otx2freehwresources() 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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64224.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
3937b7308d4fce2793fa7fa56ed0faf0f8b6dc7a
Fixed
8864b664d0443ecb8e56690e5546fcda5fe5e81b
Fixed
eb72a65f2bb2cc059e2ca5d83de01fdf3ea602ad
Fixed
e8fb3de2a8effcaf62bec2c56b93d8bb480371d1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64224.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.34
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.0.11

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64224.json"