🇰🇷 한글 설명
Linux 커널의 ntfs3 파일 시스템에서 파일 이름을 삭제하는 과정 중 오류가 발생할 경우, 이미 사용 중인 inode를 잘못된(bad) 상태로 표시하는 취약점이 발견되었습니다. 이로 인해 icache에서 inode가 예기치 않게 축출되거나 데이터 무결성 문제가 발생할 수 있습니다.
💡 쉬운 설명
파일 이름을 바꾸거나 지울 때 시스템이 파일의 정보를 잘못 처리하여 오류를 일으키는 문제입니다. 이로 인해 파일 시스템이 꼬이거나 시스템이 불안정해질 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
fs/ntfs3: cancle set bad inode after removing name fails
The reproducer uses a file0 on a ntfs3 file system with a corrupted i_link.
When renaming, the file0's inode is marked as a bad inode because the file
name cannot be deleted.
The underlying bug is that make_bad_inode() is called on a live inode.
In some cases it's "icache lookup finds a normal inode, d_splice_alias()
is called to attach it to dentry, while another thread decides to call
make_bad_inode() on it - that would evict it from icache, but we'd already
found it there earlier".
In some it's outright "we have an inode attached to dentry - that's how we
got it in the first place; let's call make_bad_inode() on it just for shits
and giggles".
📍 영향받는 시스템
ntfs3 파일 시스템을 사용하는 Linux 커널 버전
⚔️ 공격 벡터
손상된 i_link를 가진 NTFS 파일 시스템을 마운트하여 파일 이름 변경 작업을 수행할 때 발생
🛡️ 대응 방법
ntfs3 관련 패치가 적용된 최신 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 최신 패치 버전인지 확인