Contributed by rueda on from the dodge ROPy returns dept.
CVSROOT: /cvs Module name: src Changes by: email@example.com 2023/01/10 18:55:18 Modified files: lib/libc/arch/amd64: SYS.h lib/libc/arch/amd64/sys: Ovfork.S brk.S sbrk.S sigpending.S sigprocmask.S sigsuspend.S tfork_thread.S libexec/ld.so/amd64: SYS.h Log message: Add retguard to amd64 syscalls. Since we got rid of padded syscalls we have enough registers to do this. ok deraadt@ ok kettenis@
CVSROOT: /cvs Module name: www Changes by: firstname.lastname@example.org 2023/01/10 19:00:33 Modified files: . : innovations.html Log message: mortimer has changed amd64 system call stubs in libc, main programs, and ld.so so they are now also protected by retguard (this was already the case on arm64). They are hard to find because of aslr and libc.so/ld.so relinking, but now ROP-code will have a harder time preloading system call arguments and jumping to the syscall instructions in the stub, because (except for execve(2)) upon return the code drops into the retguard epilogue and sadly then you die.
(Comments are closed)