🇰🇷 한글 설명
Linux 커널의 ntfs3 파일 시스템 드라이버에서 NTFS 부트 섹터의 sectors_per_clusters 필드 값을 검증하지 않아 발생하는 취약점입니다. 잘못된 시프트(shift) 값 사용으로 인해 UBSAN 오류가 발생하거나 시스템 불안정을 초래할 수 있습니다.
💡 쉬운 설명
NTFS 형식의 저장 장치를 읽을 때, 데이터 계산 방식에 오류가 생겨 컴퓨터 시스템이 오작동할 수 있는 문제입니다. 잘못된 숫자가 입력되어 계산 과정에서 시스템이 혼란을 겪는 것을 방지하는 패치가 적용되었습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
fs/ntfs3: validate BOOT sectors_per_clusters
When the NTFS BOOT sectors_per_clusters field is > 0x80, it represents a
shift value. Make sure that the shift value is not too large before using
it (NTFS max cluster size is 2MB). Return -EVINVAL if it too large.
This prevents negative shift values and shift values that are larger than
the field size.
Prevents this UBSAN error:
UBSAN: shift-out-of-bounds in ../fs/ntfs3/super.c:673:16
shift exponent -192 is negative
📍 영향받는 시스템
Linux kernel (ntfs3 driver 사용 환경)
⚔️ 공격 벡터
조작된 NTFS 파일 시스템이 포함된 저장 매체(USB, HDD 등)를 시스템에 연결
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인