🇰🇷 한글 설명
리눅스 커널의 dm-cache 구성 요소에서 패스스루 모드 사용 시 쓰기 작업이 중단되는 취약점이 발견되었습니다. invalidate_remove() 함수가 캐시 무효화 후의 쓰기 작업을 적절히 처리하지 못해 데이터 쓰기가 멈추는 현상이 발생합니다. 이를 해결하기 위해 메타데이터 커밋 완료 후 재매핑된 쓰기를 제출하는 로직이 추가되었습니다.
💡 쉬운 설명
컴퓨터의 저장 장치 관리 기능에서 데이터를 저장하려고 할 때, 명령이 중간에 사라져서 시스템이 멈춰버리는 문제입니다. 이로 인해 데이터 쓰기 작업이 진행되지 않고 대기 상태에 빠질 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
dm cache: fix write hang in passthrough mode
The invalidate_remove() function has incomplete logic for handling write
hit bios after cache invalidation. It sets up the remapping for the
overwrite_bio but then drops it immediately without submission, causing
write operations to hang.
Fix by adding a new invalidate_committed() continuation that submits
the remapped writes to the cache origin after metadata commit completes,
while using the overwrite_endio hook to ensure proper completion
sequencing. This maintains existing coherency. Also improve error
handling in invalidate_complete() to preserve the original error status
instead of using bio_io_error() unconditionally.
📍 영향받는 시스템
dm-cache 패스스루 모드를 사용하는 Linux Kernel
⚔️ 공격 벡터
직접적인 원격 공격보다는 특정 저장 장치 입출력 패턴을 유도하여 시스템 서비스 거부(DoS)를 유발할 수 있음
🛡️ 대응 방법
dm-cache의 쓰기 중단 문제가 수정된 최신 리눅스 커널 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 패치된 최신 보안 업데이트 버전인지 확인