The vulnerability stems from improper preservation of security attributes in libvirt XML during boot device configuration changes. Both tools interact with libvirt's API to modify VM configurations. The functions responsible for updating the XML configuration would need to copy existing security settings (like <seclabel> tags or authentication parameters) when rewriting the domain XML. The patch links (OpenDev reviews 862625 and 862620) indicate these were the areas modified to address the permission preservation issue, though exact code diffs aren't available. The functions identified are core components handling boot device updates in each respective package, making them the most likely candidates for the vulnerability.