In-band deduplication for Btrfs
In-band deduplication for Btrfs
Posted Mar 15, 2016 16:10 UTC (Tue) by intgr (subscriber, #39733)In reply to: In-band deduplication for Btrfs by nybble41
Parent article: In-band deduplication for Btrfs
I disagree, that actually is a very scary failure mode for a file system. If an attacker is allowed to influence what gets stored in a file system, then a preimage attack or possibly a clever application of a collision attack would allow poisoning the file system.
For instance, an attacker knows that some user wants to store document A on the system. The attacker can prepare a colliding document B and upload it before the user gets the chance to upload A. When document A is written later, the file system will throw away A and keep the tampered document B instead.
Consider that document A can be, for example, a system package update that the system administrator installs. Lulz ensues.