🇰🇷 한글 설명
Linux 커널의 dm-verity 구성 요소에서 재귀적 전방 오류 수정(FEC) 기능의 결함이 발견되었습니다. 이 결함은 과도한 반복 호출을 유발하여 서비스 거부(DoS) 상태를 만들거나, 데이터 버퍼를 덮어써서 오류 수정 기능이 정상적으로 작동하지 않게 합니다.
💡 쉬운 설명
데이터 오류를 고치는 과정에서 컴퓨터가 무한 루프에 빠져 멈추거나, 고쳐야 할 데이터를 잘못 건드리는 문제가 있습니다. 이로 인해 시스템이 응답하지 않거나 데이터 무결성이 깨질 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
dm-verity: disable recursive forward error correction
There are two problems with the recursive correction:
1. It may cause denial-of-service. In fec_read_bufs, there is a loop that
has 253 iterations. For each iteration, we may call verity_hash_for_block
recursively. There is a limit of 4 nested recursions - that means that
there may be at most 253^4 (4 billion) iterations. Red Hat QE team
actually created an image that pushes dm-verity to this limit - and this
image just makes the udev-worker process get stuck in the 'D' state.
2. It doesn't work. In fec_read_bufs we store data into the variable
"fio->bufs", but fio bufs is shared between recursive invocations, if
"verity_hash_for_block" invoked correction recursively, it would
overwrite partially filled fio->bufs.
📍 영향받는 시스템
dm-verity를 사용하는 Linux 커널 기반 시스템
⚔️ 공격 벡터
조작된 dm-verity 이미지를 사용하여 시스템의 udev-worker 프로세스를 중단시키는 서비스 거부(DoS) 공격
🛡️ 대응 방법
dm-verity의 재귀적 FEC 기능이 비활성화된 최신 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 패치된 최신 보안 업데이트 버전인지 확인하십시오.