Denial-of-Service Attack Found In Btrfs File-System
An anonymous reader writes "It's been found that the Btrfs file-system is vulnerable to a Hash-DOS attack, a denial-of-service attack caused by hash collisions within the file-system. Two DOS attack vectors were uncovered by Pascal Junod that he described as causing astonishing and unexpected success. It's hoped that the security vulnerability will be fixed for the next Linux kernel release." The article points out that these exploits require local access.
and should we give him a medal or lynch him?
Hail Eris, full of mischief...
E pluribus sanguinem
btrfs is a step in the right direction, but even now, Linux does not have production-level deduplication (which even Windows has, for crying out loud), encryption, snapshots, or something even close to supplanting LVM2.
I just got out of a meeting at my job because we are replacing some old large servers... and because Linux has no stable filesystem with enterprise features, looks like things are either going to Windows, or perhaps Solaris x86 (which is expensive.)
This doesn't mean to suck Sun's teat for ZFS access... but at least try to come close to what even NTFS or even ReFS offers...
My knowledge of file-systems is minimial. But since it's a CRC attack, can you just turn off the ability of Btrfs to check errors (if that's possible)? However, I'm sure data corruption would then ensue.
Anyway, I'm glad I always use ext4/3. I thought about trying ZFS at one point, but decided that using Solaris as a non-server OS is pointless. Does anyone still use Solaris?
The G
no more dangerous than a fork bomb or filling up /tmp or trying to compile open office.
"Algorithmic Complexity Attacks" like this one have long been known, but rarely been documented publicly. One good example to point out why hash-randomization is a good idea!
Most ACs are not even worth the keystrokes to insult them. Be generically insulted by this and ignored otherwise.
Letting an asshole have write access to your filesystem can lead to a fucked up filesystem.
Hopefully more people start fuzzing btrfs so it is that much better when it is declared stable.
Unstable software that is still under heavy development is actually unstable. Who would've guessed?
I think that based on this ingenious discovery, we should all switch over to it by next week.
So the FS is vulnerable to an attack. The attack is not in the FS. That's pretty misleading.
I mean, just to keep up. You know, with that totally great POS you guys think you know how to use. Luser=Linux user
"Denial-of-Service Attack Found In Btrfs File-System" didn't happen. A vulnerability was found. That's a big deal, no reason to obscure it.
An attack was found in the filesystem? What's that supposed to mean?
diegoT
Instead of picking a filesystem and moving forward people will moan and cry and eventually split into a few different groups with beta level implementations. Sound on Linux is a great example. Two completely different sound drivers that both work half assed. What's the word with XFS these days?
Only the State obtains its revenue by coercion. - Murray Rothbard
Indeed, the title makes you think that BTRFS was trojaned or worse is malware.
So a script kiddie found a vulnerability on an experimental filesystem.
There are warnings not to use btrfs in a stable envioronment EVERYWHERE, as its in development and pretty buggy. ... and all this script kiddie is concerned about are colliding hashes on a shared envioronment, what is pretty uncertain, as this will not happen naturally?
But its the amazing feature set that btrfs offers even if its still pretty broken and you cannot rely on it without doing daily backups...
A btrfs filesystem becomming corrupt because it fills up would be something to care about at this time.
You then turn it off.... And go take your meds.
I do not think you know what DeDup means. You as a user still see two copies of the file. If you make changes to one copy of the file it will only change that copy of the file. It is not like a link. In other words it is totally transparent to the end user but saves drive space. So if you work in a large organization and someone sends out an email to all 4000 people that email will only take up the space of one email. Even if everyone saves it the imap server.
In other words you do not know what you are talking about, you probably do not need these functions because you probably do not run a server or servers for a large organization, you seem to have some anger issues, and maybe just a little nuts.
See my blog http://ilovecookes.blogspot.com/ for light hearted technical information.
Editors please! I normally expect even a submitter to know the difference between an attack and a vulnerability. However the editor damn well better know the difference. When I read that an ATTACK had been found in btrfs I went to read about how some malicious code had been placed into the code for btrfs. Maybe this code modified data, erases stuff, sends data to China, or just renames files. But no, this was a simple vulnerability. They didn't find an attack in btrfs, they found the potential for an attack - which is called a vulnerability. Let's at least make an effort here.
Deduplication typically isn't done by the operating system in production systems, it is a feature of enterprise grade storage, backup and archival systems.
Snapshots and encryption can be done in GNU/Linux, or done outside the OS.
What enterprise grade storage/backup/archival systems are you using, the obvious solution will already be evident from that answer in most cases.
But isn't TRWTF that you can use CRC32C collisions to attack a system still in development in 2012? I mean, I opened the link wondering if the butterfs is stupid enough to be using MD5 or something and the attack in on CRC32C - what sick joke is that?
It's just a bug of bash's dealing with special characters.
When there are some special characters , this problem can be reproduced , whichever what filesystem you use.(actually I use EXT4 to reproduce the problem)
Details on my blog : http://wronganswer.tk/?p=272178
It is stupid to make this racial, but since you did, when was the last time a black guy opened up on a group of innocent school children?
Guns don't kill people; Physics kills people! - John Lithgow as Dick Solomon on Third Rock From The Sun
A good joke requires significantly planning.
Guns don't kill people; Physics kills people! - John Lithgow as Dick Solomon on Third Rock From The Sun
So if you get local access to a system running a btfs filsystem then you can destroy it ...but if you have local access you can easily do that anyway with any filesystem ....?
Puteulanus fenestra mortis