Test name Needs root Needs tmpdir Needs device All filesystems CVE Linux commit Description
abort01.c Yes [DESCRIPTION]
Checks that process which called abort() gets killed by SIGIOT and dumps core.

[ALGORITHM]
- Fork child.
- Child calls abort.
- Parent checks return status.
accept01.c [DESCRIPTION]
Verify that accept() returns the proper errno for various failure cases.
accept02.c Yes CVE-2017-8890 657831ff [DESCRIPTION]

Test for CVE-2017-8890

In Kernels up to 4.10.15 missing commit 657831ff the multicast
group information of a socket gets copied over to a newly created
socket when using the accept() syscall. This will cause a double free
when closing the original and the cloned socket.

WARNING:
There is a high chance that this test will cause an unstable system
if it does not succeed!

For more information about this CVE see:
https://www.suse.com/security/cve/CVE-2017-8890/
accept4_01.c
access01.c Yes Yes
access02.c Yes Yes
access03.c Yes
acct01.c Yes Yes [DOCUMENTATION]
Verify that acct() returns proper errno on failure.
acct02.c Yes Yes [DOCUMENTATION]

This tests if the kernel writes correct data to the
process accounting file.

First, system-wide process accounting is turned on and the output gets
directed to a defined file. After that a dummy program is run in order
to generate data and the process accounting gets turned off again.

To verify the written data, the entries of the accounting file get
parsed into the corresponding acct structure. Since it cannot be guaranteed
that only the command issued by this test gets written into the accounting
file, the contents get parsed until the correct entry is found, or EOF
is reached.

This is also accidental regression test for:
4d9570158b626 kernel/acct.c: fix the acct->needcheck check in check_free_space()
add_key01.c
add_key02.c CVE-2017-15274 5649645d725c
add_key03.c Yes
add_key04.c
adjtimex01.c Yes
adjtimex02.c Yes
af_alg01.c CVE-2017-17806 af3ff8045bbf
af_alg02.c CVE-2017-17805 ecaaab564978
af_alg03.c
af_alg04.c
af_alg05.c
af_alg06.c
aio02.c Yes
alarm05.c
alarm06.c
autogroup01.c Yes
bind01.c
bind03.c Yes
brk01.c
chdir03.c Yes Yes
chmod07.c Yes Yes
clock_getres01.c
clock_nanosleep02.c
clock_nanosleep2_01.c
clock_settime01.c Yes
clone08.c
clone09.c Yes
copy_file_range01.c Yes
copy_file_range02.c Yes Yes Yes
copy_file_range03.c Yes
cpuset01.c Yes
creat01.c Yes
creat03.c Yes
creat04.c Yes Yes
creat05.c Yes
creat06.c Yes Yes
creat07.c
crypto_user01.c CVE-2013-2547 CVE-2018-19854 f43f39958beb
crypto_user02.c Yes
cve-2014-0196.c CVE-2014-0196 4291086b1f08
cve-2015-3290.c Yes CVE-2015-3290 9b6e6a8334d5
cve-2016-10044.c CVE-2016-10044 22f6b4d34fcf
cve-2016-7042.c CVE-2016-7042 03dab869b7b2
cve-2016-7117.c CVE-2016-7117 a2e2725541fa
cve-2017-16939.c CVE-2017-16939 1137b5e2529a
cve-2017-17052.c CVE-2017-17052 2b7e8665b4ff
cve-2017-17053.c CVE-2017-17053 ccd5b3235180
cve-2017-2618.c CVE-2017-2618 0c461cb727d1
cve-2017-2671.c Yes CVE-2017-2671 43a6684519ab
dirtyc0w.c Yes Yes
endian_switch01.c
epoll_create1_01.c
epoll_ctl01.c
epoll_ctl02.c
epoll_wait01.c
epoll_wait02.c
execl01.c
execle01.c
execlp01.c
execv01.c
execve01.c
execve02.c Yes
execve03.c Yes Yes
execve04.c
execve05.c
execvp01.c
exit02.c Yes
fallocate05.c Yes Yes Yes Yes
fanotify08.c Yes
fanotify11.c Yes Yes
fanout01.c Yes
fchdir03.c Yes Yes
fchmod01.c Yes
fchmod02.c Yes Yes
fchmod05.c Yes Yes
fchmod06.c Yes
fcntl02.c Yes
fcntl03.c Yes
fcntl33.c Yes Yes
fcntl34.c Yes
fdatasync03.c Yes Yes Yes Yes
fgetxattr01.c Yes Yes Yes Yes
fgetxattr02.c Yes
fgetxattr03.c Yes
flistxattr01.c Yes Yes
flistxattr03.c Yes Yes
flock01.c Yes
flock04.c Yes
flock06.c Yes
fremovexattr01.c Yes Yes Yes Yes
fremovexattr02.c Yes Yes Yes Yes
fs_fill.c Yes Yes Yes Yes
fsetxattr02.c Yes
fstat02.c Yes
fstat03.c Yes
fsync01.c Yes Yes Yes Yes
fsync04.c Yes Yes Yes Yes
futex_cmp_requeue01.c
futex_cmp_requeue02.c CVE-2018-6927 fbe0e839d1e2
futex_wait05.c
getcwd01.c
getrandom01.c
getrandom02.c
getrandom03.c
getrandom04.c
getsockopt02.c
gettimeofday02.c
hugemmap01.c Yes Yes
hugemmap02.c Yes Yes
hugemmap04.c Yes Yes
hugemmap05.c Yes Yes
hugemmap06.c Yes Yes
hugeshmat04.c Yes Yes
hugeshmat05.c Yes Yes
hugeshmget01.c Yes
hugeshmget02.c Yes
ima_mmap.c
inotify06.c Yes
inotify09.c Yes
io_submit01.c Yes
ioctl03.c Yes
ioctl04.c Yes Yes Yes
ioctl05.c Yes Yes Yes
ioctl06.c Yes Yes Yes
ioctl07.c
ioctl08.c Yes Yes Yes
ioctl_ns01.c Yes
ioctl_ns02.c
ioctl_ns03.c
ioctl_ns04.c
ioctl_ns05.c Yes
ioctl_ns06.c Yes
ioctl_ns07.c Yes
kcmp01.c Yes
kcmp02.c Yes
kcmp03.c
keyctl01.c
keyctl02.c Yes b4a1b4f5047e
keyctl03.c
keyctl04.c CVE-2017-7472 c9f838d104fe
keyctl06.c
keyctl07.c
keyctl08.c Yes
ksm01.c Yes
ksm03.c Yes
ksm05.c Yes
ksm06.c Yes
link08.c Yes
listxattr01.c Yes Yes
listxattr03.c Yes Yes
llistxattr01.c Yes Yes
llistxattr03.c Yes Yes
lremovexattr01.c Yes Yes Yes Yes
lseek01.c Yes
lseek07.c Yes
lstat01.c Yes
madvise02.c Yes Yes
madvise05.c
madvise06.c Yes Yes
madvise07.c Yes
madvise08.c Yes Yes
mallocstress.c
mbind01.c
memcg_test_3.c Yes Yes
memfd_create01.c
memfd_create03.c Yes
memfd_create04.c
mkdir02.c Yes Yes
mkdir03.c Yes Yes
mkdir04.c Yes Yes
mkdirat02.c Yes
mlock201.c Yes
mlock202.c Yes
mlock203.c Yes
mmap3.c Yes
move_pages12.c Yes
mq_notify01.c
mq_timedreceive01.c
mq_timedsend01.c
msgctl01.c Yes
msgctl02.c Yes
msgctl03.c Yes
msgctl04.c Yes Yes
msgget01.c Yes
msgsnd01.c Yes
msgsnd06.c Yes Yes
msync04.c Yes Yes Yes Yes
nanosleep01.c
nanosleep02.c
netstress.c
nfs05_make_tree.c
nice01.c Yes
nice02.c
nice03.c
nice04.c Yes
oom01.c Yes
oom02.c Yes
oom03.c Yes
open01.c Yes
open02.c Yes Yes
pause01.c
pcrypt_aead01.c Yes CVE-2017-5754 d76c68109f37
pidfd_send_signal01.c
pidfd_send_signal02.c Yes
pidfd_send_signal03.c Yes
pipe01.c
pipe11.c
pkey01.c Yes Yes
poll01.c
poll02.c
prctl01.c
prctl02.c
prctl03.c
prctl04.c Yes Yes
prctl05.c
prctl06.c Yes Yes Yes
prctl07.c Yes
preadv02.c Yes
preadv201.c Yes
preadv202.c Yes
preadv203.c Yes Yes Yes Yes
pselect01.c
pselect03.c Yes
ptrace07.c
pty02.c
pwrite02.c Yes
pwrite03.c Yes
pwritev02.c Yes
pwritev202.c Yes
quotactl01.c Yes Yes Yes
quotactl03.c Yes Yes Yes
read01.c Yes
read_all.c
realpath01.c Yes Yes CVE-2018-1000001
recvmsg02.c
remap_file_pages02.c Yes
request_key01.c
request_key03.c
request_key04.c
request_key05.c CVE-2017-6951
rmdir01.c Yes
rmdir02.c Yes
rmdir03.c Yes Yes
rt_sigqueueinfo01.c
rt_sigsuspend01.c
rt_tgsigqueueinfo01.c
sbrk03.c 473a06572fcd
sched_getaffinity01.c
sched_setaffinity01.c Yes Yes
sched_setscheduler03.c Yes
sctp_big_chunk.c Yes
select04.c
sendto02.c 6e51fe757259
set_mempolicy01.c
set_mempolicy02.c
set_mempolicy03.c Yes Yes Yes Yes
set_mempolicy04.c Yes Yes Yes Yes
setregid01.c
setregid02.c Yes
setregid03.c Yes
setregid04.c Yes
setrlimit02.c Yes
setrlimit04.c Yes
setrlimit05.c
setrlimit06.c c3bca5d450b62
setsockopt02.c Yes
setsockopt03.c Yes
setsockopt04.c Yes
setuid01.c
setuid03.c Yes
setuid04.c Yes Yes
setxattr02.c Yes Yes
shmat01.c Yes
shmat03.c Yes
shmctl05.c
sigpending02.c
snd_timer01.c CVE-2017-1000380 d11662f4f798 ba3021b2c79b
socket01.c
socket02.c
socketcall01.c Yes
socketpair01.c
socketpair02.c
splice01.c Yes
splice02.c Yes
splice03.c Yes
stack_clash.c Yes CVE-2017-1000364
stat01.c Yes Yes
stat02.c Yes
stat03.c Yes Yes
statx01.c Yes Yes
statx04.c Yes Yes Yes Yes
statx05.c Yes Yes Yes
statx06.c Yes Yes Yes
statx07.c Yes Yes
stime01.c Yes
stime02.c Yes
sync03.c Yes Yes Yes Yes
sync_file_range02.c Yes Yes Yes Yes
syncfs01.c Yes Yes Yes Yes
syscall01.c
sysctl01.c
sysctl03.c Yes
sysctl04.c
tee01.c Yes
tgkill01.c
tgkill02.c
tgkill03.c
thp01.c Yes
thp02.c Yes
thp03.c Yes
times03.c
tst_device.c
umask01.c Yes
umip_basic_test.c Yes
umount02.c Yes Yes Yes
umount03.c Yes Yes Yes
uname04.c
unlink05.c Yes
unlink08.c Yes Yes
userfaultfd01.c
utimes01.c Yes
vhangup01.c Yes
vhangup02.c Yes
wait401.c
waitpid01.c
waitpid06.c
waitpid07.c
waitpid08.c
waitpid09.c
waitpid10.c
waitpid11.c
waitpid12.c
waitpid13.c
write01.c Yes
write02.c Yes
write03.c Yes
write04.c Yes
write05.c Yes
writev01.c Yes
writev07.c Yes

CVE Test name
CVE-2017-8890 accept02.c
CVE-2017-15274 add_key02.c
CVE-2017-17806 af_alg01.c
CVE-2017-17805 af_alg02.c
CVE-2013-2547 crypto_user01.c
CVE-2018-19854 crypto_user01.c
CVE-2014-0196 cve-2014-0196.c
CVE-2015-3290 cve-2015-3290.c
CVE-2016-10044 cve-2016-10044.c
CVE-2016-7042 cve-2016-7042.c
CVE-2016-7117 cve-2016-7117.c
CVE-2017-16939 cve-2017-16939.c
CVE-2017-17052 cve-2017-17052.c
CVE-2017-17053 cve-2017-17053.c
CVE-2017-2618 cve-2017-2618.c
CVE-2017-2671 cve-2017-2671.c
CVE-2018-6927 futex_cmp_requeue02.c
CVE-2017-7472 keyctl04.c
CVE-2017-5754 pcrypt_aead01.c
CVE-2018-1000001 realpath01.c
CVE-2017-6951 request_key05.c
CVE-2017-1000380 snd_timer01.c
CVE-2017-1000364 stack_clash.c

Linux commit Test name
657831ff accept02.c
5649645d725c add_key02.c
af3ff8045bbf af_alg01.c
ecaaab564978 af_alg02.c
f43f39958beb crypto_user01.c
4291086b1f08 cve-2014-0196.c
9b6e6a8334d5 cve-2015-3290.c
22f6b4d34fcf cve-2016-10044.c
03dab869b7b2 cve-2016-7042.c
a2e2725541fa cve-2016-7117.c
1137b5e2529a cve-2017-16939.c
2b7e8665b4ff cve-2017-17052.c
ccd5b3235180 cve-2017-17053.c
0c461cb727d1 cve-2017-2618.c
43a6684519ab cve-2017-2671.c
fbe0e839d1e2 futex_cmp_requeue02.c
b4a1b4f5047e keyctl02.c
c9f838d104fe keyctl04.c
d76c68109f37 pcrypt_aead01.c
473a06572fcd sbrk03.c
6e51fe757259 sendto02.c
c3bca5d450b62 setrlimit06.c
d11662f4f798 snd_timer01.c
ba3021b2c79b snd_timer01.c