🔍 CVE-2026-64159

5.5
CVSS Score
MEDIUM
2026-07-19
2026-10-21 13:19
✅ 완료

🇰🇷 한글 설명

Linux 커널의 netfs 구성 요소에서 i_size가 remote_i_size보다 클 경우 zero_point 업데이트가 잘못되는 취약점이 발견되었습니다. 이로 인해 페이지 캐시에 커밋되지 않은 데이터가 있는 상태에서 서버의 EOF(파일 끝) 위치를 잘못 계산하여 읽기 오류가 발생할 수 있습니다.

💡 쉬운 설명

파일의 실제 크기와 서버가 알고 있는 크기가 다를 때, 컴퓨터가 파일의 끝 위치를 잘못 계산하는 문제입니다. 이로 인해 파일을 읽을 때 데이터가 중간에 끊기거나 오류가 발생할 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: netfs: Fix zeropoint update where i_size > remote_i_size Fix the update of the zero point[*] by netfs_release_folio() when there is uncommitted data in the pagecache beyond the folio being released but the on-server EOF is in this folio (ie. i_size > remote_i_size). The update needs to limit zero_point to remote_i_size, not i_size as i_size is a local phenomenon reflecting updates made locally to the pagecache, not stuff written to the server. remote_i_size tracks the server's i_size. [*] The zero point is the file position from which we can assume that the server will just return zeros, so we can avoid generating reads. Note that netfs_invalidate_folio() probably doesn't need fixing as zero_point should be updated by setattr after truncation or fallocate. Found with: fsx -q -N 1000000 -p 10000 -o 128000 -l 600000 \ /xfstest.test/junk --replay-ops=junk.fsxops using the following as junk.fsxops: truncate 0x0 0x1bbae 0x82864 write 0x3ef2e 0xf9c8 0x1bbae write 0x67e05 0xcb5a 0x4e8f6 mapread 0x57781 0x85b6 0x7495f copy_range 0x5d3d 0x10329 0x54fac 0x7495f write 0x64710 0x1c2b 0x7495f mapread 0x64000 0x1000 0x7495f on cifs with the default cache option. It shows read-gaps on folio 0x64 failing with a short read (ie. it hits EOF) if the FMODE_READ check is commented out in netfs_perform_write(): if (//(file->f_mode & FMODE_READ) || netfs_is_cache_enabled(ctx)) { and no fscache. This was initially found with the generic/522 xfstest.

📍 영향받는 시스템

Linux kernel (netfs/cifs 관련 모듈 사용 시스템)

⚔️ 공격 벡터

로컬 또는 네트워크를 통한 파일 크기 불일치 유도 (데이터 무결성 및 가용성 저해)

🛡️ 대응 방법

Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.

🔧 검증 코드

출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인하십시오.

Shell / Script
uname -r

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

💻 영향받는 소프트웨어

Linux Kernel