Android security tags, read closely by Lightrion

CVE-2023-40082 AI-generated analysis

platform/packages/modules/Virtualization, pvmfw (protected VM firmware), device tree preparation for the guest payload

AI-generated: written from the bulletin and the fixing diffs by claude-fable-5-1, then checked against the code by claude-opus-5-5 (5 corrections). Verify against the commit before relying on it.

pvmfw now generates a random 64-bit value and writes it into the guest device tree's /chosen/kaslr-seed property, so the template's constant placeholder (-1) is no longer passed to the guest.

Root cause

The pvmfw template device tree has a placeholder /chosen/kaslr-seed value (the commit message says the constant -1). modify_for_next_stage in pvmfw/src/fdt.rs patched the DICE node, set the strict-boot and new-instance chosen flags and filtered bootargs, but never wrote kaslr-seed. As a result the constant placeholder was passed to the guest.

How the fix works

Completeness

Behavior changes

Per major

Unknowns

Back to December 2023 · Findings