🇰🇷 한글 설명
Linux 커널의 arm_scpi 드라이버에서 프로브(probe) 과정이 실패할 경우 scpi_info가 제대로 초기화되지 않는 취약점이 발견되었습니다. 이로 인해 이미 해제된 메모리 영역을 참조하게 되는 Use-After-Free(UAF) 오류가 발생할 수 있습니다.
💡 쉬운 설명
장치를 연결하는 과정에서 오류가 발생했을 때, 컴퓨터가 이미 사용이 끝난 메모리 주소를 계속 붙잡고 있어 발생하는 문제입니다. 이로 인해 시스템이 충돌하거나 보안 공격에 악용될 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
firmware: arm_scpi: Ensure scpi_info is not assigned if the probe fails
When scpi probe fails, at any point, we need to ensure that the scpi_info
is not set and will remain NULL until the probe succeeds. If it is not
taken care, then it could result use-after-free as the value is exported
via get_scpi_ops() and could refer to a memory allocated via devm_kzalloc()
but freed when the probe fails.
📍 영향받는 시스템
arm_scpi 드라이버를 사용하는 Linux 커널 버전
⚔️ 공격 벡터
프로브 실패를 유도하여 해제된 메모리 주소를 참조하게 만드는 로컬 공격
🛡️ 대응 방법
arm_scpi 관련 패치가 적용된 최신 Linux 커널로 업데이트
🔧 검증 코드
현재 실행 중인 커널 버전을 확인하여 해당 취약점이 해결된 패치 버전인지 확인합니다.