-
Bug
-
Resolution: Fixed
-
Medium
-
None
-
None
-
3
-
9223372036854775807
Silent data corruption occurs when fallocate(FALLOC_FL_PUNCH_HOLE|FALLOC_FL_KEEP_SIZE) is used on encrypted files with a non-page-aligned offset or length.
Users get no error, but the punched bytes are wrong and bytes outside the requested range are also corrupted. This can affect VM and disk images, databases, fallocate --dig-holes, sparse copy tools, and log compaction.