🇰🇷 한글 설명
Linux 커널의 9P 프로토콜 구현에서 v9fs_issue_write() 함수가 파일 크기(i_size 및 remote_i_size)를 올바르게 업데이트하지 않는 취약점이 해결되었습니다. 서버 파일의 크기가 커질 경우, 쓰기 작업의 시작 위치와 반환된 데이터 수를 사용하여 새로운 최소 파일 크기를 정확히 계산하도록 수정되었습니다.
💡 쉬운 설명
파일을 저장할 때 컴퓨터가 파일의 실제 크기를 잘못 계산할 수 있는 오류가 있었습니다. 이로 인해 데이터가 제대로 저장되지 않거나 파일 정보가 꼬이는 문제가 발생할 수 있었습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
9p: Fix v9fs_issue_write() to update i_size and remote_i_size
Fix v9fs_issue_write() to update i_size and remote_i_size to the new size
of the server file if we made it larger, using the start fpos and the count
returned by p9_client_write() to calculate the new minimum file size.
This assumes that if the 9P server makes a short write (say it hits
ENOSPC), a reduced count is returned.
📍 영향받는 시스템
9P 프로토콜을 사용하는 Linux 커널 버전
⚔️ 공격 벡터
네트워크를 통해 9P 서버와 통신하는 클라이언트 환경에서 특수하게 조작된 쓰기 요청을 통해 발생 가능
🛡️ 대응 방법
9P 관련 패치가 적용된 최신 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인