CVSROOT:        /cvs
Module name:    src
Changes by:     v...@cvs.openbsd.org    2020/03/29 09:14:28

Modified files:
        sys/arch/amd64/amd64: db_trace.c 
        sys/arch/arm64/arm64: db_trace.c 
        sys/arch/i386/i386: db_trace.c 

Log message:
Prevent stack trace saving from inspecting untrusted data. On amd64,
arm64 and i386, the chain of call frames is continuous from kernel
to userspace. The unwinder has to stop at the latest when it reaches
the start of the kernel stack.

OK mpi@

Reply via email to