🇰🇷 한글 설명
Linux 커널의 vfio/pci dma-buf 기능에서 오류 발생 시 메모리 해제 로직이 잘못 처리되어 발생하는 이중 해제(double free) 취약점입니다. 파일 디스크립터 고갈 상황에서 참조 횟수(refcount) 불균형이 발생하여 할당된 객체가 중복 해제될 수 있습니다.
💡 쉬운 설명
컴퓨터가 메모리를 정리하는 과정에서 이미 지운 것을 또 지우려고 시도하는 오류입니다. 이로 인해 시스템이 불안정해지거나 보안 문제가 생길 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
vfio/pci: Fix double free in dma-buf feature
The error path through vfio_pci_core_feature_dma_buf() ignores its
own advice to only use dma_buf_put() after dma_buf_export(), instead
falling through the entire unwind chain. In the unlikely event that
we encounter file descriptor exhaustion, this can result in an
unbalanced refcount on the vfio device and double free of allocated
objects.
Avoid this by moving the "put" directly into the error path and return
the errno rather than entering the unwind chain.
📍 영향받는 시스템
Linux Kernel (vfio/pci dma-buf 기능이 활성화된 버전)
⚔️ 공격 벡터
파일 디스크립터 고갈을 유도하여 커널의 오류 경로를 실행시키는 방식
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전을 확인하여 해당 취약점이 해결된 패치 버전인지 확인하십시오.