🇰🇷 한글 설명
Linux 커널의 NTFS 드라이버에서 reparse index 삽입 실패 시 오류를 제대로 전달하지 않는 취약점이 발견되었습니다. update_reparse_data() 함수가 set_reparse_index()의 반환 값을 무시하여, 인덱스 삽입에 실패하더라도 시스템은 성공한 것으로 잘못 보고할 수 있습니다.
💡 쉬운 설명
파일의 특수 정보를 저장하는 과정에서 오류가 발생해도 컴퓨터가 이를 성공했다고 착각하는 문제입니다. 이로 인해 실제로는 파일 정보가 제대로 저장되지 않았음에도 불구하고 사용자는 정상적으로 처리된 것으로 오해할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
ntfs: propagate reparse index insertion failure
update_reparse_data() ignores the return value of
set_reparse_index(). When index insertion fails, the code removes
the just-written reparse data as cleanup but still returns 0, so
symlink(2) (and WSL special file creation) reports success while
no reparse data exists on disk. When there was no previous reparse
data (oldsize == 0), the failure was likewise silently ignored.
Propagate the error to the caller.
📍 영향받는 시스템
NTFS 파일 시스템을 사용하는 Linux 커널 및 WSL(Windows Subsystem for Linux) 환경
⚔️ 공격 벡터
로컬 시스템에서 NTFS 파일 시스템의 reparse data를 조작하여 파일 생성/수정 시 논리적 오류 유도
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하여 오류 전파 로직을 수정해야 합니다.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인합니다.