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

CVE-2026-99083 ksmbd: fix heap out-of-bounds write in krb5_authenticate()

설명

In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix heap out-of-bounds write in krb5_authenticate() In krb5_authenticate(), out_len is calculated to determine available headroom in response_buf for the incoming Kerberos AP-REP token. However, when SMB2_SESSION_SETUP is processed as a non-first element of a compounded SMB2 request, the calculation omits work->next_smb2_rsp_hdr_off. This causes out_len to overstate remaining buffer headroom by the cumulative size of prior responses in the compound chain. Consequently, the length check in ksmbd_krb5_authenticate() (*out_len <= resp->spnego_blob_len) passes erroneously, allowing memcpy() to write the AP-REP blob past the end of response_buf into adjacent kernel heap memory. Fix this by subtracting work->next_smb2_rsp_hdr_off when computing out_len, ensuring it accurately reflects physical remaining buffer space.

영향 받는 제품 제품 1개

  • Linux

    Linux

    해결 버전 있음

    영향 받는 버전

    • 5.15.145 이상 5.15.224 미만
    • 6.1.40 이상 6.1.191 미만
    • 6.4.5 이상 6.5 미만
    • 6.5

    해결 버전

    • 5.15.224 이상
    • 6.1.191 이상
    • 6.5 이상
    • 6.5 미만
    • 6.6.160 이상
    • 6.12.114 이상
    • 6.18.58 이상
    • 7.2.12 이상

참고 자료 7건

‹ 목록

점검 지원 범위 문의

도입 문의