News for hackers. Stuff that matters.
Re:[btrfs] is vulnerable to a hash-DoS attack by leif on Thursday December 13, 2012 @10:59AM (#4916232)
Not a new attack. There is a decent history of an arms race in TOCTTOU races in access/open that leads to this type of algorithmic complexity attack against bad hashing. Maybe btrfs does worse things if you do this but it's not alone.

See http://www.cs.stonybrook.edu/~xcai/races2.pdf and some of its references.

Re:[btrfs] is vulnerable to a hash-DoS attack by CJefferson on Thursday December 13, 2012 @11:40AM (#4916477)
Doesn't the first paragraph of the article talk about the history of hash collision attacks? Or are you talking about some other way in which this is not a new attack?

Also, looking at his numbers, btrfs is doing something very wrong, over simple hash collisions. A file system which takes over 5 seconds to make 61 files is simply broken (in this situation, not making general comments about btrfs).

Re:[btrfs] is vulnerable to a hash-DoS attack by leif on Thursday December 13, 2012 @04:38PM (#4918236)
You're right, I skimmed and that's my fault.

However, it's worth noting that these sorts of attacks can give privilege escalation, not just DoS.