🇰🇷 한글 설명
Linux 커널의 nvme-pci 드라이버에서 데이터 설정 오류 발생 시 DMA 매핑이 해제되지 않고 누수되는 취약점이 발견되었습니다. PRP 및 SGL 할당 실패 또는 잘못된 bio_vec 감지 시 기존 헬퍼 함수를 사용할 수 없어 발생하는 문제로, 이를 해결하기 위해 직접 언매핑을 수행하도록 수정되었습니다.
💡 쉬운 설명
컴퓨터의 저장 장치(NVMe)를 사용할 때 메모리 자원을 빌려온 뒤, 오류가 발생하면 이를 제대로 돌려주지 않고 계속 점유하는 문제가 있었습니다. 이 문제가 반복되면 시스템의 메모리가 부족해질 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
nvme-pci: fix dma mapping leak on data setup error
We're leaking the initial DMA mapping during iteration if we fail to
allocate the tracking descriptor for both PRP and SGL. Unmap the
iterator directly; we can't use the existing unmap helper because it
depends on the tracking descriptor being successfully allocated, so a
new one for an in-use iterator is provided.
The mappings were also leaking when the driver detects an invalid
bio_vec when mapping PRPs, so fix that too.
📍 영향받는 시스템
Linux Kernel (nvme-pci 드라이버를 사용하는 시스템)
⚔️ 공격 벡터
로컬 공격자가 특정 입출력 오류를 유도하여 시스템 메모리 자원을 고갈시키는 방식 (DoS)
🛡️ 대응 방법
nvme-pci DMA 매핑 누수 수정 사항이 포함된 최신 Linux 커널로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 패치된 버전인지 배포판 보안 공지를 통해 확인하십시오.