🇰🇷 한글 설명
Linux 커널의 accel/amdxdna 구성 요소에서 컨텍스트 정리 과정 중 NULL 포인터 역참조가 발생할 수 있는 취약점이 발견되었습니다. mailbox 채널 생성 실패 시 aie_destroy_context() 함수가 NULL 포인터를 참조하여 시스템 오류를 유발할 수 있습니다.
💡 쉬운 설명
컴퓨터의 특정 부품을 사용하는 과정에서 오류가 났을 때, 뒷정리를 제대로 하지 못해 시스템이 갑자기 멈추거나 꺼질 수 있는 문제입니다. 잘못된 메모리 주소를 참조하여 발생하는 소프트웨어 결함입니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
accel/amdxdna: Fix potential NULL pointer dereference in context cleanup
aie_destroy_context() is invoked during error handling in
aie2_create_context(). However, aie_destroy_context() assumes that the
context's mailbox channel pointer is non-NULL. If mailbox channel
creation fails, the pointer remains NULL and calling aie_destroy_context()
can lead to a NULL pointer dereference.
In aie2_create_context(), replace aie_destroy_context() with a function
which request firmware to remove the context created previously.
📍 영향받는 시스템
Linux kernel (accel/amdxdna 드라이버 포함 버전)
⚔️ 공격 벡터
로컬 권한을 가진 사용자가 특정 하드웨어 가속 기능을 호출하여 오류를 유도함으로써 시스템 중단을 일으킬 수 있음
🛡️ 대응 방법
amdxdna 관련 커널 패치가 적용된 최신 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 취약점이 해결된 최신 패치 버전인지 확인