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

CVE-2026-74557 scsi: libiscsi: Fix stale-data leak into the SCSI sense buffer

설명

In the Linux kernel, the following vulnerability has been resolved: scsi: libiscsi: Fix stale-data leak into the SCSI sense buffer iscsi_scsi_cmd_rsp() copies the sense data of a SCSI Response from the target-supplied data segment. The segment carries a 2-byte sense length followed by the sense bytes, so it must hold 2 + senselen bytes, but the bounds check only requires datalen >= senselen: senselen = get_unaligned_be16(data); if (datalen < senselen) goto invalid_datalen; memcpy(sc->sense_buffer, data + 2, min_t(uint16_t, senselen, SCSI_SENSE_BUFFERSIZE)); A target that returns a SCSI Response whose datalen equals senselen (with senselen <= SCSI_SENSE_BUFFERSIZE) makes the memcpy() from data + 2 read up to two bytes past the received data. Those bytes are stale conn->data contents and end up in the command's sense buffer, which is returned to userspace. Account for the 2-byte sense length prefix in the check.

영향 받는 제품 제품 1개

  • Linux

    Linux

    해결 버전 있음

    영향 받는 버전

    • 2.6.18

    해결 버전

    • 2.6.18 미만
    • 5.10.265 이상
    • 5.15.216 이상
    • 6.1.183 이상
    • 6.6.151 이상
    • 6.12.103 이상
    • 6.18.44 이상
    • 7.1.8 이상

참고 자료 8건

‹ 목록

점검 지원 범위 문의

도입 문의