🔍 CVE-2026-68388

9.8
CVSS Score
CRITICAL
2026-08-10
2026-10-19 22:17
✅ 완료

🇰🇷 한글 설명

Linux 커널의 SMB 클라이언트에서 fallocate 호출 시 할당된 범위가 현재 오프셋보다 앞서 시작할 경우, 데이터가 채워져야 할 빈 공간(hole)을 건너뛰는 취약점이 발견되었습니다. 이로 인해 빈 공간이 0으로 채워지지 않은 채 성공으로 반환되어, 이후 해당 영역에 데이터를 쓸 때 용량 부족(ENOSPC) 오류가 발생할 수 있습니다.

💡 쉬운 설명

파일의 특정 공간을 미리 확보하는 과정에서 계산 오류로 인해 빈 공간을 제대로 처리하지 못하는 문제입니다. 이로 인해 나중에 파일을 저장하려고 할 때 갑자기 저장 공간이 부족하다는 잘못된 오류가 발생할 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: smb/client: handle overlapping allocated ranges in fallocate smb3_simple_fallocate_range() can skip holes when an allocated range returned by the server starts before the current fallocate offset. The skipped hole is not zero-filled, but fallocate still returns success. A later write to that hole may therefore fail with ENOSPC. The function queries allocated ranges so that it can preserve existing contents and write zeroes only into holes. However, the server may return a range that starts before the current fallocate offset. For example, assume the fallocate request is [100, 400) and the only allocated range returned by the server is [0, 200): Request: [100, 400) Server range: [ 0, 200) allocated Correct: [100, 200) allocated data, skip [200, 400) hole, zero-fill Current: [100, 300) skipped [300, 400) zero-filled afterwards The current code adds the full server range length, 200, to the current offset 100 and moves to 300. As a result, the hole in [200, 300) is skipped without being zero-filled. Fix this by advancing only over the part of the allocated range that overlaps the current fallocate offset. Ignore ranges that end before the current offset and reject ranges whose end offset overflows. This also prevents a malformed range length from causing an out-of-bounds zero-buffer read.

📍 영향받는 시스템

Linux kernel (smb/client module 포함 버전)

⚔️ 공격 벡터

악의적으로 조작된 SMB 서버가 잘못된 할당 범위를 반환하여 클라이언트의 파일 시스템 동작을 교란

🛡️ 대응 방법

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

🔧 검증 코드

출력된 커널 버전을 확인하여 해당 취약점이 수정된 패치 버전인지 확인

Shell / Script
uname -r

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

NVIDIA vGPU Guest Driver for Linux