🇰🇷 한글 설명
Linux 커널의 airoha 네트워크 드라이버에서 ndesc 초기화 시점이 너무 빨라 발생하는 취약점입니다. 큐 엔트리 할당 실패 시 cleanup 루틴이 초기화되지 않은 포인터에 접근하여 NULL 포인터 역참조를 유발할 수 있습니다.
💡 쉬운 설명
컴퓨터가 메모리를 빌려오는 데 실패했을 때, 정리 작업을 하려다 존재하지 않는 주소를 참조하여 시스템이 멈추거나 오류가 발생하는 문제입니다. 초기화 순서를 조정하여 이 문제를 해결할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
net: airoha: Move ndesc initialization at end of airoha_qdma_init_tx()
If queue entry list allocation fails in airoha_qdma_init_tx_queue routine,
airoha_qdma_cleanup_tx_queue() will trigger a NULL pointer dereference
accessing the queue entry array. The issue is due to the early ndesc
initialization in airoha_qdma_init_tx_queue(). Fix the issue moving ndesc
initialization at end of airoha_qdma_init_tx routine.
📍 영향받는 시스템
Linux kernel (airoha network driver component)
⚔️ 공격 벡터
메모리 할당 실패를 유도하는 로컬 환경에서의 시스템 자원 고갈 공격
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인하십시오.