Page MenuHomeFreeBSD

arm64: Check for MTE tag failures on kernel entry
ClosedPublic

Authored by andrew on Mar 19 2026, 4:06 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Jun 4, 10:14 PM
Unknown Object (File)
Thu, Jun 4, 11:42 AM
Unknown Object (File)
Thu, Jun 4, 4:15 AM
Unknown Object (File)
Sun, May 17, 10:55 AM
Unknown Object (File)
Sun, May 17, 4:34 AM
Unknown Object (File)
Thu, May 14, 8:45 AM
Unknown Object (File)
Thu, May 14, 8:45 AM
Unknown Object (File)
Apr 25 2026, 9:01 AM
Subscribers

Details

Summary

When entering the kernel from userspace we need to check for MTE tag
failures when using asynchronous MTE. This is done by checking if either
tag fault check types that have asynchronous checks are enabled, and
if so check the register the result is stored. It then sets a flag the
kernel can later use to raise a signal.

Sponsored by: Arm Ltd

Diff Detail

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