3 ms·
User Mode Linux is fresh in my mind due to a recent HN post on it – wouldn't it be easier to fuzz the kernel as an user-mode program instead of futzing around w
by akx 7y ago
User Mode Linux is fresh in my mind due to a recent HN post on it – wouldn't it be easier to fuzz the kernel as an user-mode program instead of futzing around with a `/dev/afl` device?
- deleted 7y ago[deleted]
- sitkack 7y agoBeing so pluggable, a file system should even be fuzzable inside of a highly sandboxed environment. 1) compile fs code into wasm 2) generate in-memory disk images 3) run fs code over in-memory disk image 4) use a neural net to search the fuzz space At that point one could couple something like profile guide optimization but branch predicted adversarial input differentiation. This would automatically find patterns between on-disk data structures and the code that is executed from changes in those structures. Zero syscall, zero vm exit file system fuzzing all in user space. One could easily get thousands of cores working on this problem in short order.
- yjftsjthsd-h 7y agoNetBSD has been sort of doing this; they have rump kernels to run kernel pieces in userspace, and testing/fuzzing is a significant use.