Skip to content

v0.56.1: a plan judges a create on the whole list (security patch)

Choose a tag to compare

@john-broadway john-broadway released this 27 Nov 03:54

What changed for an operator

A security patch. Update, nothing to migrate.

A create's plan could call an existing guest absent. The plan of a create (and a restore is a create) says whether the id is already there. On a node with more guests than fit the door's 6 KiB evaluation cap, it compared the id with the part of the list that fit. A restore planned over an existing guest could answer exists: false, depending on the order the vendor listed the guests. With force=1 such a restore replaces the guest's disks. No gate was passed: the call still had to be armed and confirmed. The plan is what you approve on, and it said a wrong thing.

Now the plan judges the whole list. When it cannot, it carries no exists at all and says the list was read in part.

If you run 0.56.0 or earlier on a node with a few dozen guests, do not rely on exists: false in a create or restore plan until you update.

Two neighbours found by the review of the fix ride with it. The plan compares the id as the call would send it (vmid=0101 is guest 101). A rollback's snapshot list read in part no longer calls its target "not on this guest".

Reported by kevwillow (GHSA-qpqv-jwjc-w64q). Thank you.

The release

A plan judges a create on the whole list. Reported by kevwillow (GHSA-qpqv-jwjc-w64q). A create's plan reads the collection and says whether the id is already there. That read is cut at the door's evaluation cap (6 KiB), and the plan compared the id against the rows that fit: on a node with more guests than fit (27 in the report), a restore planned over an existing guest answered exists: false whenever the vendor's row order left that guest out of the part. With force=1 such a restore replaces the guest's disks. No gate was passed: the plan said a wrong thing before a call the operator still had to arm and confirm. Now a row found in the part that was read is there, as before. When it is not there, the plan fetches the same list again, once for each id-like argument (three at most on any address), and judges it on that one column; a guest found that way is shown by that key alone. If any id-like argument is one the address does not publish, there is no extra read and the plan claims nothing. If a column is still over the cap, or a second read is refused or fails, the plan carries no exists at all: it says the list was read in part, with returned and total. A collection read in part is no longer counted from the part. Every extra read is receipted like the first.

A plan compares the id the call would send. Found by the review of the fix above. vmid=0101 goes to the vendor as the integer 101, and the plan compared the text with the rows and called guest 101 absent, on a list of any size. The id is now compared as the call sends it.

A rollback's snapshot list read in part is not the list. Found by the same review. On a guest with more snapshots than fit the cap, a rollback to one in the part that did not fit was planned as "not on this guest" and refused with the arguments blamed. That refusal stands; its words were wrong, and the plan now says it could not confirm the snapshot is on this guest, and why. A rollback to a snapshot in the part that was read runs behind its safety snapshot as before.

A test no longer depends on the clock. One test compared two memory recalls field for field, and each stamps its own age_seconds; a second that ticked over between them failed the scheduled run on 2026-11-26. It compares without that field now.

SECURITY.md says what ARM does with nothing configured. Three places still called ARM opt-in or inert when unset. With no arm configured every mutation is refused: ARM is the one control that is closed, not inert, and an unarmed mutation that runs is a finding. SETUP's double parenthetical is split, and the README's docs table links Discussions.

Where to read more