🇰🇷 한글 설명
Linux 커널의 ntfs3 파일 시스템 드라이버에서 유효성 검사 과정 중 동일한 값이 반복될 경우 무한 루프가 발생하는 취약점이 발견되었습니다. 이로 인해 시스템이 응답하지 않는 헝(hung) 상태에 빠질 수 있으며, 이를 방지하기 위해 동일 값 반복 시 루프를 종료하도록 수정되었습니다.
💡 쉬운 설명
파일 시스템을 읽는 과정에서 특정 데이터가 계속 똑같이 나타나면 컴퓨터가 무한히 같은 작업을 반복하며 멈춰버리는 문제입니다. 이 문제를 해결하기 위해 데이터가 변하지 않으면 작업을 즉시 중단하도록 개선되었습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
fs/ntfs3: prevent infinite loops caused by the next valid being the same
When processing valid within the range [valid : pos), if valid cannot
be retrieved correctly, for example, if the retrieved valid value is
always the same, this can trigger a potential infinite loop, similar
to the hung problem reported by syzbot [1].
Adding a check for the valid value within the loop body, and terminating
the loop and returning -EINVAL if the value is the same as the current
value, can prevent this.
[1]
INFO: task syz.4.21:6056 blocked for more than 143 seconds.
Call Trace:
rwbase_write_lock+0x14f/0x750 kernel/locking/rwbase_rt.c:244
inode_lock include/linux/fs.h:1027 [inline]
ntfs_file_write_iter+0xe6/0x870 fs/ntfs3/file.c:1284
📍 영향받는 시스템
ntfs3 드라이버를 사용하는 Linux 커널 버전
⚔️ 공격 벡터
조작된 NTFS 파일 시스템을 마운트하여 커널 내 무한 루프 유도
🛡️ 대응 방법
ntfs3 무한 루프 방지 패치가 적용된 최신 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인