NX 비트는 보안만을 위한 것이 아니다
NX 비트의 기능과 관련된 보안 문제를 설명한 글입니다.
이 글은 ARM64 베어메탈 하이퍼바이저에서 NX 비트와 관련된 보안 문제를 다루고 있습니다. 특히, <code>CTR_EL0</code> 인터셉트를 켤 때 발생하는 문제를 설명하고 있으며, 이는 분기 예측에 따른 추측적 명령어 인출이 MMIO 영역에 접근하면서 기기가 멈추는 원인이라는 점을 강조합니다. 직접 호출인 <code>bl</code>은 정상 작동하지만 간접 호출인 <code>blr</code>에서 실패하는 사례도 언급합니다.
The article discusses security issues related to the NX bit.
This article addresses security issues related to the NX bit in the context of ARM64 bare-metal hypervisors. It explains that the issue occurs when the <code>CTR_EL0</code> intercept is enabled, which results in the device freezing due to speculative instruction fetching mapping to accessible MMIO regions. It also notes that direct calls using <code>bl</code> work fine, while indirect calls using <code>blr</code> fail.