kcve.ai취약점 정보 · 내 자산 확인

CVE-2026-97610 netfs: Fix uninitialized return value in netfs_unbuffered_write()

설명

In the Linux kernel, the following vulnerability has been resolved: netfs: Fix uninitialized return value in netfs_unbuffered_write() If preparation of the first subrequest fails, netfs_unbuffered_write() exits its loop before ret is initialized. The empty-iterator check can do the same. For synchronous writes, netfs_unbuffered_write_iter_locked() may then return an unrelated error instead of wreq->error. This is reachable through CIFS if cifs_prepare_write() fails to reopen the file or obtain credits. Initialize ret to 0 so the caller returns wreq->error if no data was written, or the number of bytes already written otherwise. Found with Clang's -Wconditional-uninitialized.

영향 받는 제품 제품 1개

  • Linux

    Linux

    해결 버전 있음

    영향 받는 버전

    • 6.18.17 이상 6.18.53 미만
    • 6.19.7 이상 6.20 미만
    • 7.0

    해결 버전

    • 6.18.53 이상
    • 6.20 이상
    • 7.0 미만
    • 7.2.7 이상

참고 자료 3건

‹ 목록

점검 지원 범위 문의

도입 문의