HomeFreeBSD

Check that the frame pointer is within the current stack.

Description

Check that the frame pointer is within the current stack.

This same check is used on other architectures. Previously this would
permit a stack frame to unwind into any arbitrary kernel address
(including unmapped addresses).

Reviewed by: mhorne
Obtained from: CheriBSD
Sponsored by: DARPA
Differential Revision: https://reviews.freebsd.org/D25996

Details

Provenance
jhbAuthored on Aug 12 2020, 8:33 PM
Parents
rG367de39efa78: Use uintptr_t instead of uint64_t for pointers in stack frames.
Branches
Unknown
Tags
Unknown

Event Timeline