HomeFreeBSD

amd64: Mark the trapframe as initialized in trap()

Description

amd64: Mark the trapframe as initialized in trap()

Otherwise KASAN may generate false positives if the trapframe was
written into a poisoned region of the stack.

Reported by: pho
Sponsored by: The FreeBSD Foundation

(cherry picked from commit f08f0ae5247ab31de58bda0817e74ccc1a3a5e95)

Details

Provenance
markjAuthored on Jul 10 2021, 12:38 AM
Parents
rG0dbb46e5fa69: stack(9): Disable KASAN in stack_capture()
Branches
Unknown
Tags
Unknown