[go: up one dir, main page]

|
|
Log in / Subscribe / Register

ZFS?

ZFS?

Posted Apr 29, 2016 5:37 UTC (Fri) by fw (subscriber, #26023)
Parent article: Fuzzing filesystems with AFL

What about ZFS?

In the past, the implementation trusted the consistency of data structures once the checksums were correct. I wonder if this has been fixed.


to post comments

ZFS?

Posted Apr 29, 2016 8:25 UTC (Fri) by vegard (subscriber, #52330) [Link]

We only tested mainline filesystems (and only disk-based ones), and even then only the ones that were straightforward to use (i.e. had packages for mkfs ready and had support in the distro we were using so that we could mount it on the host). Although adding support for new ones isn't that hard, especially when you've already done the work for other filesystems; I think we went from supporting ~5 filesystems to ~15 in about a day of work, so testing ZFS at some point in the future shouldn't be too difficult.

There are filesystems in the kernel which trust consistency if the checksums are correct. Ext4 and XFS are not among them, but we have talked to people after the talk who argued that this should be enough. I don't agree with that personally, but it's not my place to try to force filesystem maintainers to change, so the obvious next step seems to be for distros to restrict automouting to a set of whitelisted filesystems (and probably always prompt before mounting by default).


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds