🇰🇷 한글 설명
Linux 커널의 Apple SMC 드라이버에서 mutex가 초기화되지 않아 발생하는 취약점입니다. 초기화되지 않은 mutex를 사용하면 서브 디바이스의 probe 함수에서 불규칙적으로 NULL pointer dereference가 발생합니다.
💡 쉬운 설명
Apple Silicon Mac의 하드웨어 제어 드라이버에서 동시 접근 보호가 제대로 설정되지 않았습니다. 이로 인해 시스템이 불규칙적으로 충돌할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
mfd: macsmc: Initialize mutex
Initialize struct apple_smc's mutex in apple_smc_probe(). Using the
mutex uninitialized surprisingly resulted only in occasional NULL
pointer dereferences in apple_smc_read() calls from the probe()
functions of sub devices.
📍 영향받는 시스템
Apple Silicon Mac을 지원하는 Linux 커널 (6.4 이상 특정 버전)
⚔️ 공격 벡터
드라이버 로드 시 경쟁 조건을 통한 오동작 유발 (우발적 결함)
🛡️ 대응 방법
Linux 커널을 최신 패치가 적용된 버전으로 업데이트
🔧 검증 코드
apple_smc mutex 초기화 관련 커널 설정 확인 또는 현재 커널 버전 확인으로 패치 여부 판단
grep -i 'mutex_init.*apple_smc\|apple.*smc.*mutex' /proc/version /boot/config-$(uname -r) 2>/dev/null || uname -r