Page MenuHomeFreeBSD

arm64: Make KMSAN aware of exceptions
ClosedPublic

Authored by markj on Dec 21 2023, 6:40 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Sep 6, 3:53 AM
Unknown Object (File)
Aug 24 2026, 6:20 PM
Unknown Object (File)
Aug 24 2026, 3:39 PM
Unknown Object (File)
Aug 24 2026, 3:44 AM
Unknown Object (File)
Aug 23 2026, 9:20 PM
Unknown Object (File)
Aug 23 2026, 8:07 PM
Unknown Object (File)
Aug 23 2026, 6:05 PM
Unknown Object (File)
Aug 23 2026, 4:52 PM
Subscribers

Details

Summary
  • Call kmsan_intr_enter() when an exception occurs. This ensures that code running in the exception context does not clobber thread-local KMSAN state.
  • Ensure that stack memory containing trap frames is treated as initialized.

Co-authored-by: Alexander Stetsenko <alex.stetsenko@klarasystems.com>
Sponsored by: Klara, Inc.
Sponsored by: Juniper Networks, Inc.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable