HomeFreeBSD

amd64: clear callee-preserved registers on syscall exit.

Description

amd64: clear callee-preserved registers on syscall exit.

%r8, %r10, and on non-KPTI configuration %r9 were not restored on fast
return from a syscall.

Reviewed by: markj
Approved by: so
Security: CVE-2019-5595
Sponsored by: The FreeBSD Foundation
MFC after: 0 minutes

Details

Provenance
kibAuthored on
Reviewer
markj
Parents
rS343779: Fix missing translation of old ioctls for KDSETMODE, KDSBORDER and
Branches
Unknown
Tags
Unknown