Re: syzkaller for uffd-wp

From: Dmitry Vyukov
Date: Mon Nov 11 2019 - 05:29:03 EST


On Thu, Oct 31, 2019 at 9:49 AM Andrea Arcangeli <aarcange@xxxxxxxxxx> wrote:
>
> Hi Dmitry,
>
> would it be possible to grill the uffd-wp patchset with syzkaller?
> It'd be nice if we can detect bugs before it gets merged.
>
> Peter posted it upstream, but we can provide a kernel git tree to
> pull. To fuzzy you likely need to add the new UFFD_WP feature flag and
> registration options to the fuzzer.
>
> Thanks,
> Andrea

+syzkaller, linux-fsdevel

[getting through backlog after OSS/ELC/LSS]

Hi Andrea,

I won't have time for this in the near future unfortunately.
But if you (or anybody on the lists) are interested in providing
better testing for uffd, we have docs on how to extend syzkaller:
https://github.com/google/syzkaller/blob/master/docs/syscall_descriptions.md#describing-new-system-calls
You may also look at the past changes adding new syscall descriptions
and we have help provided on the syzkaller@ mailing list.
Generally, the core syzkaller team (<1 person overall) can't become
experts and describe thousands of subsystems in a dozen of OSes.