Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

13.2 macOS panics on mrs("ACTLR_EL12") #297

Open
0x3c3e opened this issue Mar 29, 2023 · 1 comment
Open

13.2 macOS panics on mrs("ACTLR_EL12") #297

0x3c3e opened this issue Mar 29, 2023 · 1 comment

Comments

@0x3c3e
Copy link

0x3c3e commented Mar 29, 2023

Overview

13.2 macOS panics on mrs("ACTLR_EL12")

PoC

>>> mrs("ACTLR_EL12")
0x1000
>>> cont

or sysctl -a
or sysctl machdep.cpu.sysreg_ACTLR_EL12

Env

  • 13.2 22D49: development, kasan versions
  • Mac mini M1 2020
@marcan
Copy link
Member

marcan commented Jun 4, 2024

Of course it's going to panic trying to access ACTLR_EL12, since that's an EL2 register and macOS is running at EL1.

If sysreg is trying to read that even when the OS was started at EL1, then that's arguably a macOS bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants