Sat, 08 Jun 2024 06:44:35 UTC | login

Information for build trinity-1.9-2.fc31

ID106464
Package Nametrinity
Version1.9
Release2.fc31
Epoch
Sourcegit+https://src.fedoraproject.org/rpms/trinity.git#97ef630d6fd1f5e7a1a54436e639fc62cce5abfa
SummarySystem call fuzz tester
DescriptionTrinity makes syscalls at random, with random arguments. Where Trinity differs from other fuzz testers is that the arguments it passes are not purely random. We found some bugs in the past by just passing random values, but once the really dumb bugs were found, these dumb fuzzers would just run and run. The problem was if a syscall took for example a file descriptor as an argument, one of the first things it would try to do was validate that fd. Being garbage, the kernel would just reject it as -EINVAL of course. So on startup, Trinity creates a list of file descriptors, by opening pipes, scanning sysfs, procfs, /dev, and creates a bunch of sockets using random network protocols. Then when a syscall needs an fd, it gets passed one of these at random. File descriptors aren't the only thing Trinity knows about. Every syscall has its arguments annotated, and where possible it tries to provide something at least semi-sensible. "Length" arguments for example get passed one of a whole bunch of potentially interesting values. (Powers of 2 +/-1 are a good choice for triggering off-by-one bugs it seems). Trinity also shares those file descriptors between multiple threads, which causes havoc sometimes. If a child process successfully creates an mmap, the pointer is stored, and fed to subsequent syscalls, sometimes with hilarious results.
Built bydavidlt
State failed
Volume DEFAULT
StartedSat, 21 Sep 2019 13:30:55 UTC
CompletedSat, 21 Sep 2019 14:19:47 UTC
Taskbuild (f31-candidate, /rpms/trinity.git:97ef630d6fd1f5e7a1a54436e639fc62cce5abfa)
Extra{'source': {'original_url': 'git+https://src.fedoraproject.org/rpms/trinity.git#97ef630d6fd1f5e7a1a54436e639fc62cce5abfa'}}
Tags No tags
RPMs No RPMs
Changelog * Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.9-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Thu Jan 24 2019 Jerry James <loganjerry@gmail.com> - 1.9-1 - New upstream version - Drop upstreamed -autofs, -irda, and -memfd patches * Sat Jul 21 2018 Jerry James <loganjerry@gmail.com> - 1.8-3 - Add -irda patch to fix bz 1606570 * Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.8-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.8-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Sat Nov 18 2017 Jerry James <loganjerry@gmail.com> - 1.8-1 - New upstream version - Drop upstreamed -uio patch - Add -net-protocols patch to fix bz 1514786 - Add -autofs patch to fix compilation under kernel 4.14+