Fedora 21 Update: trinity-1.5-1.fc21

updates at fedoraproject.org updates at fedoraproject.org
Sun Mar 22 04:29:52 UTC 2015


--------------------------------------------------------------------------------
Fedora Update Notification
FEDORA-2015-3782
2015-03-13 12:39:54
--------------------------------------------------------------------------------

Name        : trinity
Product     : Fedora 21
Version     : 1.5
Release     : 1.fc21
URL         : http://codemonkey.org.uk/projects/trinity/
Summary     : System call fuzz tester
Description :
Trinity 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.

--------------------------------------------------------------------------------
Update Information:

This update brings numerous enhancements to test newer Linux kernel interfaces, as well as some bug fixes.
--------------------------------------------------------------------------------
ChangeLog:

* Wed Mar 11 2015 Jerry James <loganjerry at gmail.com> - 1.5-1
- New upstream version
--------------------------------------------------------------------------------

This update can be installed with the "yum" update program.  Use
su -c 'yum update trinity' at the command line.
For more information, refer to "Managing Software with yum",
available at http://docs.fedoraproject.org/yum/.

All packages are signed with the Fedora Project GPG key.  More details on the
GPG keys used by the Fedora Project can be found at
https://fedoraproject.org/keys
--------------------------------------------------------------------------------


More information about the package-announce mailing list