[PATCH v3 1/2] arm64: Handle kernel BTI exceptions

Mark Brown broonie at kernel.org
Fri Sep 2 03:28:22 PDT 2022


On Thu, Sep 01, 2022 at 05:15:50PM -0700, D Scott Phillips wrote:

> Send BTI exceptions to the do_bti handler, killing the current task with
> SIGSEGV instead of panicking. This is to allow a later patch to apply a
> compiler bug workaround.

There's arguments either way here - this is less destructive, but you
could say that since these exceptions are supposed to indicate a
security issue stopping the whole kernel has some safety advantages,
though it does also open up DoS opportunities.  I don't have a strong
opinion here, I mildly prefer this approach.

Reviewed-by: Mark Brown <broonie at kernel.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20220902/9c9124fc/attachment-0001.sig>


More information about the linux-arm-kernel mailing list