Bug 1549944 (CVE-2018-1062)

Summary: CVE-2018-1062 ovirt-engine: When Wipe After Delete (WAD) and Enable Discard are both enabled for a VM disk, discarded data might not be wiped after the disk is removed.
Product: [Other] Security Response Reporter: Doran Moppert <dmoppert>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: bmcclain, dblechte, eedri, lsurette, mgoldboi, michal.skrivanek, nobody, rbalakri, Rhev-m-bugs, security-response-team, sherold, sisharma, smohan, srevivo, ssaha, vbellur, ykaul, ylavi
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: ovirt-engine 4.1.9 Doc Type: If docs needed, set a value
Doc Text:
It was discovered that the combination of Enable Discard and Wipe After Delete flags for VM disks managed by oVirt, could cause a disk to be incompletely zeroed when removed from a VM. If the same storage blocks happen to be later allocated to a new disk attached to another VM, potentially sensitive data could be revealed to privileged users of that VM.
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-03-06 05:56:42 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1532545    

Description Doran Moppert 2018-02-28 06:31:28 UTC
In oVirt 4.1, the Enable Discard feature was introduced.  This was found to be unreliable in combination with Wipe After Delete (WAD), in that a VM Disk with both flags configured could be removed from a VM and not have all of its blocks wiped.  If the same storage pages were then assigned to another Virtual Machine, potentially sensitive data could be read from those pages instead of zeroes.

Comment 1 Doran Moppert 2018-02-28 06:31:34 UTC
Acknowledgments:

Name: Idan Shaby (Red Hat)

Comment 2 Doran Moppert 2018-03-06 05:44:29 UTC
External References:

https://gerrit.ovirt.org/#/c/84875
https://gerrit.ovirt.org/#/c/84861