Okay, this one is bothering me.... if writing to a file (albeit a special file sure) can destroy the underlying file system... is there not some sort of severe security risk lurking here?
How could the underlying file system code allow a miss behaving file write to destroy the rest of the file system? Are there not safety mechanisms in the file system abstraction code that ensure the writes are only happening in the area they are allowed to?
Did this bug only affect file systems built on EXT4 (all the test cases I have seen so far) or were other file systems affected (i.e. xfs, btrfs, etc.)?
This one raises a ton of red flags in my mind about a potential flaw elsewhere in the file system handling code tangential to the swap file handling changes.
Can anyone with some time see if they can replicate this by hammering say a 8gb VM file stored on a ext4 fs?
How could the underlying file system code allow a miss behaving file write to destroy the rest of the file system? Are there not safety mechanisms in the file system abstraction code that ensure the writes are only happening in the area they are allowed to?
Did this bug only affect file systems built on EXT4 (all the test cases I have seen so far) or were other file systems affected (i.e. xfs, btrfs, etc.)?
This one raises a ton of red flags in my mind about a potential flaw elsewhere in the file system handling code tangential to the swap file handling changes.
Can anyone with some time see if they can replicate this by hammering say a 8gb VM file stored on a ext4 fs?
Comment