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: andrew, markj
Obtained from: CheriBSD
Sponsored by: DARPA
Differential Revision: https://reviews.freebsd.org/D27362

Details

Provenance
jhbAuthored on
Reviewer
andrew
Differential Revision
D27362: Check that the frame pointer is within the current stack.
Parents
rS368454: Stack unwinding robustness fixes for RISC-V.
Branches
Unknown
Tags
Unknown