본문 바로가기
kcve.ai취약점 정보 · 내 서버 확인

CVE-2026-99388 smb: smbdirect: fix buffer length underflow in RDMA transfers

설명

In the Linux kernel, the following vulnerability has been resolved: smb: smbdirect: fix buffer length underflow in RDMA transfers When a remote buffer descriptor is larger than the remaining local buffer, smbdirect_connection_rdma_xmit() clamps its length and sets buf_len to zero. The common accounting code then subtracts the clamped length from buf_len, causing it to underflow. If another descriptor follows, the loop processes it with a wrapped remaining length and includes memory beyond the local buffer in the RDMA transfer. A client can trigger an out-of-bounds kernel write with an SMB WRITE request, or an out-of-bounds kernel read with an SMB READ request, by supplying multiple RDMA buffer descriptors with an oversized descriptor before the last one. Remove the premature assignment to buf_len. Subtracting the clamped length already consumes the remaining buffer, so the next iteration stops and only descriptors within the local buffer are used to build work requests.

영향 받는 제품 제품 1개

  • Linux

    Linux

    해결 버전 있음

    영향 받는 버전

    • 5.15.145 이상 5.16 미만
    • 6.1.52 이상 6.2 미만
    • 6.4.15 이상 6.5 미만
    • 6.5.2 이상 6.6 미만
    • 6.6

    해결 버전

    • 5.16 이상
    • 6.2 이상
    • 6.5 이상
    • 6.6 이상
    • 6.6 미만
    • 6.12.117 이상
    • 6.18.61 이상
    • 7.3.2 이상
‹ 목록

운영 중인 서버의 점검 지원 범위가 궁금하면

도입 문의