🔍 CVE-2026-98684

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

🇰🇷 한글 설명

Linux 커널의 SMB 클라이언트에서 smb3_simple_fallocate_range() 함수가 할당된 범위를 조회하기 전에 데이터를 플러시 및 커밋하지 않아 발생하는 취약점입니다. 이로 인해 Windows 서버 환경에서 최근에 작성된 데이터가 할당되지 않은 영역으로 잘못 보고되어, 실제 데이터가 0으로 덮어씌워지는 데이터 손상이 발생할 수 있습니다.

💡 쉬운 설명

파일을 저장한 직후 서버에 데이터가 완전히 저장되었는지 확인하지 않고 다음 작업을 수행하여, 멀쩡한 파일 내용이 갑자기 사라지거나 0으로 변할 수 있는 문제입니다. 특히 Windows 서버와 연결하여 파일을 사용할 때 데이터가 깨질 위험이 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: smb: client: flush and commit data before querying allocated ranges The mode 0 / FALLOC_FL_KEEP_SIZE fallocate emulation for small interior ranges in smb3_simple_fallocate_range() issues FSCTL_QUERY_ALLOCATED_RANGES and zero-fills any sub-range the server reports as an unallocated hole, to force block allocation without changing file contents. This is unsafe against Windows servers. Per the Win32 documentation, FSCTL_QUERY_ALLOCATED_RANGES only reports ranges that *may* contain nonzero data and is explicitly not coherent with recently written data: "a call to FSCTL_QUERY_ALLOCATED_RANGES [after writing to a network file] would not necessarily return a correct list of allocated regions. To ensure coherency [...] flush the data to the file" fsx (generic/363) reproduces the resulting corruption against Windows Server 2022: a range is written, an uncached read returns the data, yet the next FSCTL_QUERY_ALLOCATED_RANGES on that range reports it as a whole hole, so the emulation overwrites live data with zeroes. A network trace confirmed the WRITE, the READ returning data and the query returning an empty range list within microseconds. Samba does not exhibit this; its query is coherent with the written data. Write back the dirty pages, drain any outstanding I/O and issue an SMB2 FLUSH to force the server to commit the data before querying the allocated ranges, so the query reflects the data actually present. With this, generic/363 passes against both Windows Server 2022 and Samba over 100000 fsx operations.

📍 영향받는 시스템

Linux kernel (SMB client module)

⚔️ 공격 벡터

로컬 또는 네트워크를 통한 파일 시스템 조작 (데이터 손상 유발)

🛡️ 대응 방법

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

🔧 검증 코드

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

Shell / Script
uname -r

💻 영향받는 소프트웨어

Linux Kernel