In the Linux kernel, the following vulnerability has been resolved: smb/client: invalidate fscache for fallocate range operations smb3_zer
위협 신호 · CVSS · EPSS · KEV
이론적 심각도 점수
예측 데이터 없음
실측 악용 기록 없음
계획된 패치 주기 내 조치(60일 이내)
CVSS 벡터 · 메트릭
CVSS 벡터 정보 없음
상세 설명
In the Linux kernel, the following vulnerability has been resolved:
smb/client: invalidate fscache for fallocate range operations
smb3_zero_range(), smb3_punch_hole(), smb3_insert_range(), and
smb3_collapse_range() modify file contents through server-side range
operations. These operations discard the affected page cache, but leave
the FS-Cache cookie valid, so a later read may return data cached before
the range operation.
Fix this by invalidating FS-Cache after outstanding I/O has completed
and before modifying the file on the server.
Run the following as root on a CIFS mount with fsc enabled and an active
CacheFiles backend:
1 bash -c ' 2 MNT=/mnt/cifs 3 FILE="$MNT/repro" 4 5 # Generate four 1 MiB random blocks: [A][B][C][D]. 6 dd if=/dev/urandom of=/tmp/src bs=1M count=4 status=none 7 8 # Expected contents after zeroing B: [A][zero][C][D]. 9 cp /tmp/src /tmp/expected10 dd if=/dev/zero of=/tmp/expected bs=1M seek=1 count=1 \11 conv=notrunc status=none12 cp /tmp/src "$FILE"13 14 # Populate FS-Cache, then discard the page cache.15 sync16 echo 1 > /proc/sys/vm/drop_caches17 cat "$FILE" > /dev/null18 sync19 echo 1 > /proc/sys/vm/drop_caches20 21 fallocate --zero-range -o 1M -l 1M "$FILE"22 23 if cmp -s /tmp/expected "$FILE"; then24 echo "readback: OK"25 else26 echo "readback: STALE DATA"27 fi28 'Before this change, the readback differs from /tmp/expected:
1 readback: STALE DATAAfter this change, it matches:
1 readback: OKAI 심층 분석
공격 시나리오 · 재현 가능한 PoC 페이로드 · 즉시 적용 가능한 차단 패치를 한 번에 받아 보세요. 보안 운영팀이 그대로 점검·티켓팅에 쓸 수 있는 형태로 정리해 드립니다.