{"id":"CVE-2026-90011","summary":"scsi: target: iscsi: Reserve a terminator byte for the login payload","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: target: iscsi: Reserve a terminator byte for the login payload\n\niscsi_target_check_login_request() rejects a login PDU whose\nDataSegmentLength exceeds MAX_KEY_VALUE_PAIRS, but the test is '\u003e' and\nlogin-\u003ereq_buf is allocated with exactly MAX_KEY_VALUE_PAIRS\nbytes. Since iscsit_get_login_rx() receives payload_length + padding\nbytes, where\n\n\tpadding = ((-payload_length) & 3);\n\nany payload_length from 8189 to 8192 fills the whole 8192 byte\nbuffer. The write stays in bounds, but no byte is left for a NUL\nterminator.\n\nThe buffer is subsequently consumed as a C string. In the CHAP path\nchap_check_algorithm() calls kstrdup(a_str), and extract_param() calls\nstrstr(in_buf, pattern) followed by strlen_semi(), none of which take a\nlength. convert_null_to_semi() additionally rewrites every embedded NUL\nto ';', so even a payload made of well formed NUL separated key=value\nrecords is left without a terminator. These walk past the end of the\nobject into adjacent slab memory. It is reachable by an unauthenticated\ninitiator against a portal configured for CHAP; when authentication is\nnot required iscsi_login_zero_tsih_s2() rewrites AuthMethod to None and\nthe CHAP path is never entered.\n\nAllocate one extra byte. kzalloc() zeroes it and nothing ever writes to\nit, as every writer copies to offset 0 for at most MAX_KEY_VALUE_PAIRS\nbytes, so the buffer is always terminated.","modified":"2026-09-18T03:46:16.123145680Z","published":"2026-09-16T10:33:18.793Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/90xxx/CVE-2026-90011.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/1624bff4c5118ad494d50ad94d44f22064667a7f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3ddf3ea291a0ef2ea93b82e158960ac2cc42302b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5fac79f248c37774d1dd761406f83d25ca6ff8e4"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6b589ef9d5f6cdc70d2b4f269ca6cf26b5ebb076"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6ddddcad436d8e6e619204d3c848147ff2f5bf1e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b19dc17ed963ac36c0db4b52a1803fb11169f91f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/eb9dadf4d552ebe10644871c5189286552aa48f5"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f4825922d2fb371e2b969697d792077f1b62b62c"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/90xxx/CVE-2026-90011.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-90011"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"e48354ce078c079996f89d715dfa44814b4eba01"},{"fixed":"5fac79f248c37774d1dd761406f83d25ca6ff8e4"},{"fixed":"6ddddcad436d8e6e619204d3c848147ff2f5bf1e"},{"fixed":"b19dc17ed963ac36c0db4b52a1803fb11169f91f"},{"fixed":"6b589ef9d5f6cdc70d2b4f269ca6cf26b5ebb076"},{"fixed":"eb9dadf4d552ebe10644871c5189286552aa48f5"},{"fixed":"1624bff4c5118ad494d50ad94d44f22064667a7f"},{"fixed":"3ddf3ea291a0ef2ea93b82e158960ac2cc42302b"},{"fixed":"f4825922d2fb371e2b969697d792077f1b62b62c"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-90011.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.1.0"},{"fixed":"5.10.270"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.221"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.188"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.157"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.110"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.51"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.2.5"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-90011.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H"}]}