🇰🇷 한글 설명
Linux 커널의 netfs 및 afs 구성 요소에서 디렉토리 및 링크의 writepages 작업 중 쓰기 작업이 누락되는 취약점이 해결되었습니다. 잠금 경합 및 WB_SYNC_NONE 설정으로 인해 쓰기가 건너뛰어질 경우, inode를 다시 마킹하여 데이터 무결성을 보장하도록 수정되었습니다.
💡 쉬운 설명
파일을 저장하는 과정에서 시스템 내부의 충돌로 인해 데이터가 제대로 기록되지 않고 건너뛰어질 수 있는 문제입니다. 이로 인해 파일 내용이 손상되거나 저장되지 않는 현상이 발생할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
netfs, afs: Fix write skipping in dir/link writepages
Fix netfs_write_single() and afs_single_writepages() to better handle a
write that would be skipped due to lock contention and WB_SYNC_NONE by
returning 1 from netfs_write_single() if it skipped and making
afs_single_writepages() skip also. If a skip occurs, the inode must be
re-marked as the VFS may have cleared the mark.
This is really only theoretical for directories in netfs_write_single() as
the only path to that is through afs_single_writepages() that takes the
->validate_lock around it, thereby serialising it.
📍 영향받는 시스템
Linux kernel (netfs 및 afs 모듈을 사용하는 시스템)
⚔️ 공격 벡터
직접적인 외부 공격보다는 시스템 내부의 특정 파일 쓰기 작업 시 발생하는 경합 조건(Race Condition)을 통해 데이터 무결성 저해 가능
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전을 확인하여 해당 취약점이 수정된 패치 버전 이상인지 확인하십시오.