🇰🇷 한글 설명
Linux 커널의 NTFS 드라이버에서 mapping-pairs 파싱 중 LCN 누적값에 정수 오버플로가 발생하는 취약점입니다. 손상된 속성을 통해 누적된 LCN 값이 최대 범위를 초과하면, 잘못된 런리스트가 생성되어 물리적 클러스터 위치가 왜곡될 수 있습니다.
💡 쉬운 설명
NTFS 파일 시스템을 읽을 때 데이터의 위치를 계산하는 과정에서 숫자가 너무 커져 오류가 발생하는 문제입니다. 이로 인해 컴퓨터가 엉뚱한 데이터 위치를 참조하게 되어 시스템 보안이나 데이터 무결성에 문제가 생길 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
ntfs: detect mapping-pairs LCN accumulator overflow
The NTFS mapping-pairs parser accumulates relative LCN deltas in a
signed integer. A corrupted attribute can drive that addition past
the representable range.
One corrupt runlist shape sets the accumulated LCN to S64_MAX and
then adds a delta of 1 in the next mapping-pairs entry.
Signed overflow is undefined and can turn an invalid runlist into a
different set of physical clusters.
Check the LCN addition for overflow before storing the next run.
📍 영향받는 시스템
NTFS 파일 시스템을 사용하는 Linux 커널 버전
⚔️ 공격 벡터
조작된 NTFS 파일 시스템 속성(mapping-pairs)을 포함한 저장 매체를 마운트하여 공격
🛡️ 대응 방법
LCN 덧셈 시 오버플로를 체크하도록 수정된 최신 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 패치된 보안 업데이트 버전인지 확인