[Bugs] [Bug 1751575] New: File corruption in encrypted volume during read operation

bugzilla at redhat.com bugzilla at redhat.com
Thu Sep 12 08:03:18 UTC 2019


https://bugzilla.redhat.com/show_bug.cgi?id=1751575

            Bug ID: 1751575
           Summary: File corruption in encrypted volume during read
                    operation
           Product: GlusterFS
           Version: 5
            Status: NEW
         Component: encryption-xlator
          Assignee: bugs at gluster.org
          Reporter: charis.stais at gmail.com
                CC: bugs at gluster.org
  Target Milestone: ---
    Classification: Community



Description of problem:
setup: replica x3 no distribution using encrypt xlator.
File read returns some blocks corrupted. The chance of appearance for this
corruption increases as file size gets bigger. So, there is higher probability
for the issue to be visible in bigger files.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Copy a file in an encrypted volume (most preferably a file of >20MB size for
higher probability) 
2. From a client, take the MD5 checksum of that file
3. Every execution of MD5 calculation returns a different hash

Actual results: File returned in read operations is corrupted.


Expected results: File should not be corrupted.


Additional info:
The issue seems to be a bug during concurrent access in encryption translator
during XTS encryption. At all times the problem appears to one or two blocks of
the file while the others are fine. The reason seems to be related to the
initialization vector that xlator uses for the XTS encryption.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list