Module Name: src Committed By: kamil Date: Sun May 13 23:14:48 UTC 2018
Modified Files: src/tests/lib/libc/sys: t_ptrace.c t_ptrace_amd64_wait.h t_ptrace_wait.c Log Message: Add a new ptrace(2) ATF exploit for: CVE-2018-8897 (POP SS debug exception) The original expolit and mitigation have been developed by Maxime Villard. I've reworked the shared code and adapted for the ATF context. I've included PIE-aware version (RIP/EIP relative) and introduced additional comments to the explanation how to trigger the flaw. This test passes on NetBSD/8.99.17. Sponsored by <The NetBSD Foundation> To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/tests/lib/libc/sys/t_ptrace.c \ src/tests/lib/libc/sys/t_ptrace_amd64_wait.h cvs rdiff -u -r1.38 -r1.39 src/tests/lib/libc/sys/t_ptrace_wait.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.