Panic occurs in driverkit(karabiner).

It occurs only in m1 macbookPro. Panic does not occur in intel macbook.

  1. Load my Product EndpointSecurity using NSEndpointSecurityEarlyBoot.

  2. Install karabiner.

  3. Reboot

  4. After the reboot is completed, a panic occurs before 1 minute later.(100%)

  • forever rebooting

There is a singularity here. If EndpointSecurity calls the es_subscribe() function, no panic occurs. Here's the question. To use NSEndpointySecurityEarlyBoot, must the es_subscribe() function be called at least once unconditionally? If the es_subscribe() is not called, is the panicking behavior normal?

For reference, system diagnostic logs cannot be collected.  This is because panic occurs forever when rebooting.