Get a Demo

Let's Patch It!

Book a short call with one our specialists, we'll walk you through how Endor Patches work, and ask you a few questions about your environment (like your primary programming languages and repository management). We'll also send you an email right after you fill out the form, feel free to reply with any questions you have in advance!

CVE

CVE-2026-90011

scsi: target: iscsi: Reserve a terminator byte for the login payload
Back to all
CVE

CVE-2026-90011

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

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

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

iscsitargetcheckloginrequest() rejects a login PDU whose

DataSegmentLength exceeds MAXKEYVALUE_PAIRS, but the test is '>' and

login->reqbuf is allocated with exactly MAXKEYVALUEPAIRS

bytes. Since iscsitgetloginrx() receives payloadlength + 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

chapcheckalgorithm() calls kstrdup(astr), and extractparam() calls

strstr(inbuf, pattern) followed by strlensemi(), none of which take a

length. convertnullto_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 iscsiloginzerotsihs2() 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 MAXKEYVALUE_PAIRS

bytes, so the buffer is always terminated.

Package Versions Affected

Package Version
patch Availability
No items found.

Automatically patch vulnerabilities without upgrading

Fix Without Upgrading
Detect compatible fix
Apply safe remediation
Fix with a single pull request

CVSS Version

Severity
Base Score
CVSS Version
Score Vector
C
H
U
9.1
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
C
H
U
0
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
C
H
U
-

Related Resources

No items found.

References

https://git.kernel.org/stable/c/1624bff4c5118ad494d50ad94d44f22064667a7f, https://git.kernel.org/stable/c/3ddf3ea291a0ef2ea93b82e158960ac2cc42302b, https://git.kernel.org/stable/c/5fac79f248c37774d1dd761406f83d25ca6ff8e4, https://git.kernel.org/stable/c/6b589ef9d5f6cdc70d2b4f269ca6cf26b5ebb076, https://git.kernel.org/stable/c/6ddddcad436d8e6e619204d3c848147ff2f5bf1e, https://git.kernel.org/stable/c/b19dc17ed963ac36c0db4b52a1803fb11169f91f, https://git.kernel.org/stable/c/eb9dadf4d552ebe10644871c5189286552aa48f5, https://git.kernel.org/stable/c/f4825922d2fb371e2b969697d792077f1b62b62c, https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/90xxx/CVE-2026-90011.json, https://nvd.nist.gov/vuln/detail/CVE-2026-90011, https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Severity

9.1

CVSS Score
0
10

Basic Information

Base CVSS
9.1
EPSS Probability
0.00866%
EPSS Percentile
0.57522%
Introduced Version
e48354ce078c079996f89d715dfa44814b4eba01,3.1.0,5.11.0,5.16.0,6.2.0,6.7.0,6.13.0,6.19.0,0
Fix Available
f4825922d2fb371e2b969697d792077f1b62b62c,5.10.270,5.15.221,6.1.188,6.6.157,6.12.110,6.18.51,7.2.5,6.12.111-1~deb12u1,6.12.111-1,0:6.12.0-207.111.5.1.el9uek,0:6.12.0-207.111.5.1.el10uek

Fix Critical Vulnerabilities Instantly

Secure your app without upgrading.
Fix Without Upgrading