Bug 2535227 (CVE-2026-90011) - CVE-2026-90011 kernel: scsi: target: iscsi: Reserve a terminator byte for the login payload
Summary: CVE-2026-90011 kernel: scsi: target: iscsi: Reserve a terminator byte for the...
Keywords:
Status: NEW
Alias: CVE-2026-90011
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-09-16 11:37 UTC by OSIDB Bzimport
Modified: 2026-12-02 02:13 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2026:102895 0 None None None 2026-11-30 17:12:18 UTC
Red Hat Product Errata RHSA-2026:104853 0 None None None 2026-11-30 13:05:40 UTC
Red Hat Product Errata RHSA-2026:106423 0 None None None 2026-12-02 02:13:07 UTC
Red Hat Product Errata RHSA-2026:92208 0 None None None 2026-10-29 03:02:08 UTC
Red Hat Product Errata RHSA-2026:92209 0 None None None 2026-10-29 03:16:39 UTC
Red Hat Product Errata RHSA-2026:93412 0 None None None 2026-11-01 21:40:11 UTC
Red Hat Product Errata RHSA-2026:93413 0 None None None 2026-11-01 21:52:55 UTC
Red Hat Product Errata RHSA-2026:95346 0 None None None 2026-11-06 18:09:33 UTC
Red Hat Product Errata RHSA-2026:97873 0 None None None 2026-11-10 22:14:41 UTC
Red Hat Product Errata RHSA-2026:98608 0 None None None 2026-11-11 11:34:13 UTC

Description OSIDB Bzimport 2026-09-16 11:37:48 UTC
In the Linux kernel, the following vulnerability has been resolved:

scsi: target: iscsi: Reserve a terminator byte for the login payload

iscsi_target_check_login_request() rejects a login PDU whose
DataSegmentLength exceeds MAX_KEY_VALUE_PAIRS, but the test is '>' and
login->req_buf is allocated with exactly MAX_KEY_VALUE_PAIRS
bytes. Since iscsit_get_login_rx() receives payload_length + padding
bytes, where

	padding = ((-payload_length) & 3);

any payload_length from 8189 to 8192 fills the whole 8192 byte
buffer. The write stays in bounds, but no byte is left for a NUL
terminator.

The buffer is subsequently consumed as a C string. In the CHAP path
chap_check_algorithm() calls kstrdup(a_str), and extract_param() calls
strstr(in_buf, pattern) followed by strlen_semi(), none of which take a
length. convert_null_to_semi() additionally rewrites every embedded NUL
to ';', so even a payload made of well formed NUL separated key=value
records is left without a terminator. These walk past the end of the
object into adjacent slab memory. It is reachable by an unauthenticated
initiator against a portal configured for CHAP; when authentication is
not required iscsi_login_zero_tsih_s2() rewrites AuthMethod to None and
the CHAP path is never entered.

Allocate one extra byte. kzalloc() zeroes it and nothing ever writes to
it, as every writer copies to offset 0 for at most MAX_KEY_VALUE_PAIRS
bytes, so the buffer is always terminated.

Comment 4 Jon Orris 2026-10-29 03:02:06 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2026:92208 https://access.redhat.com/errata/RHSA-2026:92208

Comment 5 Jon Orris 2026-10-29 03:16:37 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2026:92209 https://access.redhat.com/errata/RHSA-2026:92209

Comment 6 Jon Orris 2026-11-01 21:40:09 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2026:93412 https://access.redhat.com/errata/RHSA-2026:93412

Comment 7 Jon Orris 2026-11-01 21:52:53 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10

Via RHSA-2026:93413 https://access.redhat.com/errata/RHSA-2026:93413

Comment 9 Jon Orris 2026-11-06 18:09:31 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 4.22

Via RHSA-2026:95346 https://access.redhat.com/errata/RHSA-2026:95346

Comment 10 errata-xmlrpc 2026-11-10 22:14:38 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2026:97873 https://access.redhat.com/errata/RHSA-2026:97873

Comment 11 errata-xmlrpc 2026-11-11 11:34:10 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10

Via RHSA-2026:98608 https://access.redhat.com/errata/RHSA-2026:98608

Comment 13 errata-xmlrpc 2026-11-30 13:05:38 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
  Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On

Via RHSA-2026:104853 https://access.redhat.com/errata/RHSA-2026:104853

Comment 14 errata-xmlrpc 2026-11-30 17:12:16 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 5.0

Via RHSA-2026:102895 https://access.redhat.com/errata/RHSA-2026:102895

Comment 15 errata-xmlrpc 2026-12-02 02:13:05 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions
  Red Hat Enterprise Linux 8.8 Telecommunications Update Service

Via RHSA-2026:106423 https://access.redhat.com/errata/RHSA-2026:106423


Note You need to log in before you can comment on or make changes to this bug.