🇰🇷 한글 설명
리눅스 커널의 netfs 라이브러리에서 remote_i_size 및 zero_point 값을 처리할 때 데이터가 불완전하게 읽히거나 써지는 찢어짐(tearing) 현상이 발생할 수 있는 취약점입니다. 이를 해결하기 위해 i_size와 동일한 seqcount를 사용하고 i_lock을 유지하도록 수정되었습니다.
💡 쉬운 설명
파일의 크기 정보를 읽거나 쓸 때 데이터가 중간에 깨져서 잘못된 값이 전달될 수 있는 문제입니다. 이로 인해 파일 시스템의 데이터 무결성이 손상될 위험이 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
netfs: Fix potential for tearing in ->remote_i_size and ->zero_point
Fix potential tearing in using ->remote_i_size and ->zero_point by copying
i_size_read() and i_size_write() and using the same seqcount as for i_size.
We need to make sure that netfslib and the filesystems that use it always
hold i_lock whilst updating any of the sizes to prevent i_size_seqcount
from getting corrupted.
📍 영향받는 시스템
netfs 라이브러리를 사용하는 리눅스 커널 버전
⚔️ 공격 벡터
원격 또는 로컬에서 파일 크기 정보를 조작하여 데이터 불일치를 유도하는 방식
🛡️ 대응 방법
netfs 관련 패치가 적용된 최신 리눅스 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인