🇰🇷 한글 설명
Linux 커널의 mtd: rawnand: lpc32xx_slc 드라이버에서 DMA 전송 완료 대기 중 타임아웃이 발생해도 이를 무시하는 취약점이 발견되었습니다. 이로 인해 타임아웃된 DMA 전송이 성공한 것으로 잘못 보고되어 데이터 무결성 문제가 발생할 수 있습니다.
💡 쉬운 설명
데이터를 옮기는 장치가 제시간에 일을 끝내지 못했는데도 시스템이 이를 성공했다고 착각하는 문제입니다. 이로 인해 잘못된 데이터가 저장되거나 시스템 오류가 발생할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
mtd: rawnand: lpc32xx_slc: fail DMA transfer on completion timeout
lpc32xx_xmit_dma() waits for the DMA completion callback but ignores
wait_for_completion_timeout(). A timed out DMA transfer is therefore
unmapped and reported as successful to the NAND read/write path.
Return -ETIMEDOUT when the completion wait expires. Terminate the DMA
channel before unmapping the scatterlist so the timed out transfer cannot
continue to access the buffer after the error is returned.
📍 영향받는 시스템
Linux kernel (lpc32xx_slc mtd driver 포함 버전)
⚔️ 공격 벡터
하드웨어 타임아웃을 유도하여 잘못된 데이터 읽기/쓰기 또는 메모리 오염 유발
🛡️ 대응 방법
커널 패치를 적용하여 DMA 타임아웃 시 -ETIMEDOUT를 반환하고 DMA 채널을 즉시 종료하도록 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전인지 배포판 보안 공지를 통해 확인