Add test for CVE 2018-1000204
PATCH v2 1/1 Add test for CVE 2018-1000204
Fixes #334
Signed-off-by Martin Doucha <[email protected]>
---
Changes since v1:
- Code style fixes
- Simpler path concatenation find_generic_scsi_device()
- Added test to syscalls runfiles
- Added compiled test program to .gitignore
runtest/cve | 1 + runtest/syscalls | 2 + testcases/kernel/syscalls/ioctl/.gitignore | 1 + testcases/kernel/syscalls/ioctl/ioctl_sg01.c | 128 +++++++++++++++++++ 4 files changed, 132 insertions(+) create mode 100644 testcases/kernel/syscalls/ioctl/ioctl_sg01.c
runtest/cve +1 -0
@@ -40,4 +40,5 @@ cve-2017-18075 pcrypt_aead01 cve-2017-1000380 snd_timer01 cve-2018-5803 sctp_big_chunk cve-2018-1000001 realpath01 +cve-2018-1000204 ioctl_sg01 cve-2018-19854 crypto_user01
runtest/syscalls +2 -0
@@ -516,6 +516,8 @@ ioctl_ns05 ioctl_ns05 ioctl_ns06 ioctl_ns06 ioctl_ns07 ioctl_ns07 +ioctl_sg01 ioctl_sg01 + inotify_init1_01 inotify_init1_01 inotify_init1_02 inotify_init1_02
testcases/kernel/syscalls/ioctl/.gitignore +1 -0
@@ -13,3 +13,4 @@ /ioctl_ns05 /ioctl_ns06 /ioctl_ns07 +/ioctl_sg01
testcases/kernel/syscalls/ioctl/ioctl_sg01.c new file +128 -0
128 lines not on this page · raw message
Signature · 1 line
2.25.1
PATCH v2 1/1 Add test for CVE 2018-1000204
Hi!
Pushed, thanks.
Signature · 2 lines
Cyril Hrubis [email protected]