🇰🇷 한글 설명
Linux 커널의 igbvf 드라이버에서 TX DMA 오류 처리 중 메모리 누수가 발생하는 취약점입니다. DMA 매핑 중 오류가 발생했을 때 이미 매핑된 버퍼를 해제하는 과정에서 오프바이원(off-by-one) 오류로 인해 하나의 DMA 매핑이 누수됩니다.
💡 쉬운 설명
네트워크 데이터를 전송하는 과정에서 오류가 발생했을 때, 사용했던 메모리를 제대로 돌려주지 못하고 잃어버리는 버그입니다. 이 문제가 반복되면 시스템의 메모리가 점차 부족해질 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
igbvf: Fix leak in TX DMA error cleanup
If an error is encountered while mapping TX buffers, the driver should
unmap any buffers already mapped for that skb.
Because count is incremented before each frag mapping, it will always
match the correct number of unmappings needed when dma_error is reached.
Decrementing count before the while loop in dma_error causes an
off-by-one error. If any mapping was successful before an unsuccessful
mapping, exactly one DMA mapping (the head) would leak.
This bug was introduced by a 2010 fix for an endless loop in dma_error.
All other affected drivers have already been fixed.
📍 영향받는 시스템
Linux kernel (igbvf driver 사용 시스템)
⚔️ 공격 벡터
네트워크 전송 과정에서 의도적으로 DMA 매핑 오류를 유발하여 메모리 누수 유도
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인
📊 CVSS Vector String
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
💻 영향받는 소프트웨어
NVIDIA Cloud Gaming Guest Driver for Linux