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

CVE-2026-97554 smb: client: avoid using uninitialized SIDs in cifs_posix_to_fattr()

설명

In the Linux kernel, the following vulnerability has been resolved: smb: client: avoid using uninitialized SIDs in cifs_posix_to_fattr() cifs_posix_to_fattr() ignores the return value of posix_info_parse(). When a malformed POSIX directory entry is encountered (e.g. invalid SID lengths from an untrusted server), posix_info_parse() returns -1 without populating the 'parsed' struct. The uninitialized stack memory in parsed.owner and parsed.group is then passed to sid_to_id(), which processes the garbage bytes and passes them to request_key() to construct a SID string, potentially leaking kernel stack contents to the userspace idmap daemon. Fix this by checking the return value and skipping the SID-to-id mapping when parsing fails. The remaining fattr fields (timestamps, mode, etc.) are populated directly from the 'info' pointer so they are unaffected.

영향 받는 제품 제품 1개

  • Linux

    Linux

    해결 버전 있음

    영향 받는 버전

    • 5.8.17 이상 5.9 미만
    • 5.9.2 이상 5.10 미만
    • 5.10

    해결 버전

    • 5.9 이상
    • 5.10 이상
    • 5.10 미만
    • 6.1.191 이상
    • 6.6.160 이상
    • 6.12.114 이상
    • 6.18.57 이상
    • 7.2.7 이상

참고 자료 6건

‹ 목록

점검 지원 범위 문의

도입 문의