HomeFreeBSD

amd64: Relax the assertion added in commit 4a59cbc12

Description

amd64: Relax the assertion added in commit 4a59cbc12

We only need to ensure that interrupts are disabled when handling a
fault from iret. Otherwise it's possible to trigger the assertion
legitimately, e.g., by copying in from an invalid address.

Fixes: 4a59cbc12
Reported by: pho
Reviewed by: kib
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D30594

Details

Provenance
markjAuthored on Jun 1 2021, 11:38 PM
Reviewer
kib
Differential Revision
D30594: amd64: Relax the assertion added in commit 4a59cbc12
Parents
rG60a38abb8982: pf: Avoid leaking pad bytes in struct pfr_astats when copying out
Branches
Unknown
Tags
Unknown