9.8

CVE-2026-74556

scsi: libiscsi_tcp: Bound SCSI Response data segment to the connection buffer

In the Linux kernel, the following vulnerability has been resolved:

scsi: libiscsi_tcp: Bound SCSI Response data segment to the connection buffer

iscsi_tcp_hdr_dissect() receives the data segment of several PDU types
into the fixed-size conn->data buffer, which is allocated for
ISCSI_DEF_MAX_RECV_SEG_LEN (8192) bytes.  For the LOGIN_RSP, TEXT_RSP,
REJECT and ASYNC_EVENT opcodes the dissect path already rejects a PDU
whose DataSegmentLength exceeds that buffer.

The SCSI Command Response (ISCSI_OP_SCSI_CMD_RSP) path also copies its
data segment (sense/response data) into conn->data via
iscsi_tcp_data_recv_prep(), but it does so without the same check.  The
only upstream bound on in.datalen is conn->max_recv_dlength, the
initiator's advertised MaxRecvDataSegmentLength, which is commonly
negotiated well above 8192 (open-iscsi defaults to 262144).  A target
that returns a SCSI Response with a DataSegmentLength between 8193 and
max_recv_dlength therefore overflows the 8192-byte conn->data buffer.

Once the same bound applies, ISCSI_OP_SCSI_CMD_RSP is handled exactly
like those responses: bound the data segment, receive it into conn->data
when present, and otherwise complete the PDU with no data.  Fold the
opcode into that case group rather than duplicating the check.
Daten sind bereitgestellt durch das CVE Programm von einer CVE Numbering Authority (CNA) (Unstrukturiert).
HerstellerLinux
Produkt Linux
Default Statusunaffected
Version a081c13e39b5c17052a7b46fafa61019c4c110ff
Version < a51812842084fd390590ab8dc0431f10c73ddc56
Status affected
Version a081c13e39b5c17052a7b46fafa61019c4c110ff
Version < a8f94cc9f0e5759252551be3a172960c57f21f54
Status affected
Version a081c13e39b5c17052a7b46fafa61019c4c110ff
Version < f1a3a51fc5dba0e99532379665069f1700da6b44
Status affected
Version a081c13e39b5c17052a7b46fafa61019c4c110ff
Version < c97b5265cc47775f77fd2a23d6bde0426997b233
Status affected
Version a081c13e39b5c17052a7b46fafa61019c4c110ff
Version < 084af0253673425ce2ae62e3c7f74f0dd023711b
Status affected
Version a081c13e39b5c17052a7b46fafa61019c4c110ff
Version < 72815741715bd41556dac5eeb068bf0f8af06ee7
Status affected
Version a081c13e39b5c17052a7b46fafa61019c4c110ff
Version < b0aa3e8e2ab4ca92adb28a3ef41873b3363b8676
Status affected
Version a081c13e39b5c17052a7b46fafa61019c4c110ff
Version < c1dea15f819cded9b3faf58f8bec72323568b6e6
Status affected
HerstellerLinux
Produkt Linux
Default Statusaffected
Version 2.6.29
Status affected
Version 0
Version < 2.6.29
Status unaffected
Version <= 5.10.*
Version 5.10.265
Status unaffected
Version <= 5.15.*
Version 5.15.216
Status unaffected
Version <= 6.1.*
Version 6.1.183
Status unaffected
Version <= 6.6.*
Version 6.6.151
Status unaffected
Version <= 6.12.*
Version 6.12.103
Status unaffected
Version <= 6.18.*
Version 6.18.44
Status unaffected
Version <= 7.1.*
Version 7.1.8
Status unaffected
Version <= *
Version 7.2
Status unaffected
VulnDex Vulnerability Enrichment
Diese Information steht angemeldeten Benutzern zur Verfügung. Login Login
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 0.4% 0.333
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
416baaa9-dc9f-4396-8d5f-8c081fb06d67 9.8 3.9 5.9
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Es wurden noch keine Informationen zu CWE veröffentlicht.
https://git.kernel.org/stable/c/c97b5265cc47775f77fd2a23d6bde0426997b233
https://git.kernel.org/stable/c/084af0253673425ce2ae62e3c7f74f0dd023711b
https://git.kernel.org/stable/c/72815741715bd41556dac5eeb068bf0f8af06ee7
https://git.kernel.org/stable/c/b0aa3e8e2ab4ca92adb28a3ef41873b3363b8676
https://git.kernel.org/stable/c/c1dea15f819cded9b3faf58f8bec72323568b6e6
https://git.kernel.org/stable/c/a51812842084fd390590ab8dc0431f10c73ddc56
https://git.kernel.org/stable/c/a8f94cc9f0e5759252551be3a172960c57f21f54
https://git.kernel.org/stable/c/f1a3a51fc5dba0e99532379665069f1700da6b44