Update default Cloud Hypervisor to v51.2 - #493
Open
MiguelsPizza wants to merge 1 commit into
Open
MiguelsPizza wants to merge 1 commit into
MiguelsPizza wants to merge 1 commit into
Conversation
v49.0 and v51.1 are affected by CVE-2026-45782. Embed v51.2 and use it for new instances; keep older versions so existing snapshots restore.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Cloud Hypervisor v49.0 and v51.1 are affected by CVE-2026-45782 (GHSA-f47p-p25q-83rh). This embeds v51.2 and makes it the default for new instances (with live disk resize, like v51.1); v49.0 and v51.1 stay embedded so existing snapshots still restore.
Tests:
go test ./lib/hypervisor/cloudhypervisor/ -run 'TestCapabilities|TestRegisteredCapabilities'andgo test ./lib/vmm/ -run TestIsVersionSupported(Linux) pass; on main they fail withundefined: vmm.V51_2, and without the capabilities changeTestCapabilitiesAdvertiseDiskResizeOnV51fails for "version v51.2".Note
Medium Risk
Changes the default VMM binary for new VMs (security fix) while keeping older binaries for restore; mis-versioned snapshots could still fail until migrated.
Overview
Adds Cloud Hypervisor v51.2 as an embedded VMM binary (x86_64 and aarch64) and sets
DefaultVersionto v51.2 so new instances launch on the patched release. v49.0 and v51.1 remain embedded for snapshot restore during upgrades.Download/CI paths (
Makefiledownload-ch-binaries,ensure-ch-binaries,.github/workflows/test.yml) now fetch v51.2 alongside the older versions.CapabilitiesForVersiontreats v51.2 like v51.1 for live disk resize; tests andlib/vmmREADME are updated accordingly.Reviewed by Cursor Bugbot for commit 990f1c2. Bugbot is set up for automated code reviews on this repo. Configure here.