Fedora Account System
Red Hat Associate
Red Hat Customer
OpenStack Nova can retain stale root BlockDeviceMapping connection_info after a volume-backed instance rebuild with a new image fails during Cinder volume reimaging. In nova/compute/manager.py, _rebuild_volume_backed_instance() deletes the old attachment and updates the attachment_id before reimage completes, but a timeout or other failure does not clear or refresh connection_info. A subsequent hard reboot or start can reuse that stale iSCSI or Fibre Channel connection information. If the storage backend has reassigned the referenced target/LUN to a different volume, an authenticated project member may gain read/write access to another tenant's volume. Static review of the RHOSP 18 Nova tree found this code path; backend identifier reuse was not dynamically verified. The reported upstream affected range is Nova >=26.0.0 and <32.2.2; an upstream fix is pending or not confirmed. RHOSP 13, 16.2 and 17.1 lack the reported volume-backed reimage entry point. Reporter: Jan Wasilewski (Atman), via OpenStack VMT. PSIRT ticket: PSIRTSUPT-31628.