🇰🇷 한글 설명
Linux 커널의 nfsd에서 지연된 쓰기백(writeback) 오류 발생 시 쓰기 검증기(write verifier)를 초기화하지 않는 취약점입니다. 이로 인해 클라이언트는 데이터가 안전하게 저장되었다고 오판하여 실제로는 저장되지 않은 데이터를 유실할 수 있습니다.
💡 쉬운 설명
파일 저장 중 오류가 발생했는데도 서버가 '저장 완료'라고 잘못된 신호를 보내는 문제입니다. 이로 인해 사용자는 데이터가 저장된 줄 알았지만 실제로는 데이터가 사라지는 현상이 발생할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
nfsd: reset write verifier on deferred writeback errors
nfsd_vfs_write() and nfsd_commit() both call filemap_check_wb_err() to
detect deferred writeback errors, but neither rotates the server's write
verifier (nn->writeverf) when this check fails. Every other
durable-storage-failure path in these functions calls
commit_reset_write_verifier() before returning an error.
The missing rotation means clients holding UNSTABLE write data under the
current verifier will COMMIT, receive the unchanged verifier back, and
conclude their data is durable — silently dropping data that failed
writeback. This violates the UNSTABLE+COMMIT durability contract
(RFC 1813 §3.3.7, RFC 8881 §18.32).
Add commit_reset_write_verifier() calls at both filemap_check_wb_err()
error sites, matching the pattern used by adjacent error paths in the
same functions. The helper already filters -EAGAIN and -ESTALE
internally, so the calls are unconditionally safe.
📍 영향받는 시스템
Linux kernel (nfsd 모듈 사용 시스템)
⚔️ 공격 벡터
직접적인 공격보다는 시스템의 쓰기 오류 상황에서 데이터 무결성이 깨지는 논리적 결함입니다.
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인하십시오.