🔍 CVE-2026-98685

0.0
CVSS Score
UNKNOWN
2026-10-18
2026-10-19 10:19
✅ 완료

🇰🇷 한글 설명

Linux 커널의 SMB 클라이언트에서 clone_range를 통해 파일을 확장할 때, 기존 EOF(파일 끝) 이후의 페이지 캐시를 적절히 삭제하지 않는 취약점이 발견되었습니다. 이로 인해 mmap을 통해 파일 끝 너머에 기록된 데이터가 파일 확장 후 실제 파일 내용으로 노출될 수 있습니다.

💡 쉬운 설명

파일을 복사하여 길이를 늘릴 때, 이전에 파일 끝 부분에 임시로 저장되었던 데이터가 삭제되지 않고 파일 내용에 포함되어 나타날 수 있는 문제입니다. 이는 의도치 않은 데이터가 파일에 남게 되는 보안 결함입니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: smb: client: discard post-EOF pagecache when extending a file via clone range cifs_remap_file_range() discarded the pagecache only for the folios overlapping the destination region, so when a clone extends the file the folio straddling the old EOF - which may hold data dirtied past EOF through an mmap - was never dropped and became visible as file content once the file was extended. Start the discard at the smaller of fstart and the old EOF. i_size is still old here, so nothing past the old EOF is flushed to the server.

📍 영향받는 시스템

Linux kernel (SMB client module 사용 시스템)

⚔️ 공격 벡터

로컬 사용자가 mmap을 통해 파일 끝 이후에 데이터를 작성한 뒤, clone_range를 사용하여 파일을 확장함으로써 잔류 데이터를 노출시킴

🛡️ 대응 방법

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

🔧 검증 코드

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

Shell / Script
uname -r

💻 영향받는 소프트웨어

Linux Kernel