🇰🇷 한글 설명
Linux 커널의 ixp4xx 암호화 드라이버에서 메모리 할당 실패 시 버퍼 체인을 적절히 해제하지 못하는 취약점이 발견되었습니다. 할당 실패 시 NULL 포인터를 참조하여 시스템이 충돌하거나, 이미 할당된 메모리가 해제되지 않는 문제가 발생할 수 있습니다.
💡 쉬운 설명
컴퓨터가 작업을 위해 메모리를 빌리려다 실패했을 때, 뒷정리를 제대로 하지 못해 시스템이 멈추거나 오류가 발생하는 문제입니다. 이로 인해 시스템이 갑자기 꺼지거나 불안정해질 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
crypto: ixp4xx - fix buffer chain unwind on allocation failure
chainup_buffers() builds a linked list of buffer descriptors for a
scatterlist. If dma_pool_alloc() fails while constructing the list, the
current code sets buf to NULL and later dereferences it unconditionally
at the end of the function:
buf->next = NULL;
buf->phys_next = 0;
This can lead to a null-pointer dereference on allocation failure.
If the failure happens after part of the descriptor chain has already
been allocated and DMA-mapped, the partially constructed chain also
needs to be released.
Fix this by terminating the partially constructed chain on allocation
failure and letting the callers unwind it via their existing cleanup
paths. Also fix ablk_perform() to preserve the hook pointers before
checking for failure, so partially built chains can be freed correctly.
📍 영향받는 시스템
Linux kernel (ixp4xx crypto driver 포함 버전)
⚔️ 공격 벡터
메모리 할당 실패를 유도하여 시스템을 중단시키는 서비스 거부(DoS) 공격 가능
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
현재 실행 중인 커널 버전을 확인하여 해당 취약점이 해결된 패치 버전인지 확인합니다.
💻 영향받는 소프트웨어
NVIDIA Cloud Gaming Guest Driver for Linux