{"id":"CVE-2026-90011","published":"2026-09-16T10:33:18Z","modified":"2026-10-19T08:56:25Z","title":"scsi: target: iscsi: Reserve a terminator byte for the login payload","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"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 '>' and\nlogin->req_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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.1,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00866,"percentile":0.5625,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/5fac79f248c37774d1dd761406f83d25ca6ff8e4","tags":[]},{"url":"https://git.kernel.org/stable/c/6ddddcad436d8e6e619204d3c848147ff2f5bf1e","tags":[]},{"url":"https://git.kernel.org/stable/c/b19dc17ed963ac36c0db4b52a1803fb11169f91f","tags":[]},{"url":"https://git.kernel.org/stable/c/6b589ef9d5f6cdc70d2b4f269ca6cf26b5ebb076","tags":[]},{"url":"https://git.kernel.org/stable/c/eb9dadf4d552ebe10644871c5189286552aa48f5","tags":[]},{"url":"https://git.kernel.org/stable/c/1624bff4c5118ad494d50ad94d44f22064667a7f","tags":[]},{"url":"https://git.kernel.org/stable/c/3ddf3ea291a0ef2ea93b82e158960ac2cc42302b","tags":[]},{"url":"https://git.kernel.org/stable/c/f4825922d2fb371e2b969697d792077f1b62b62c","tags":[]}],"priority":{"score":17.6,"factors":[{"name":"EPSS percentile","points":11.25},{"name":"CVSS severity","points":6.37}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= e48354ce078c079996f89d715dfa44814b4eba01, < 5fac79f248c37774d1dd761406f83d25ca6ff8e4",">= e48354ce078c079996f89d715dfa44814b4eba01, < 6ddddcad436d8e6e619204d3c848147ff2f5bf1e",">= e48354ce078c079996f89d715dfa44814b4eba01, < b19dc17ed963ac36c0db4b52a1803fb11169f91f",">= e48354ce078c079996f89d715dfa44814b4eba01, < 6b589ef9d5f6cdc70d2b4f269ca6cf26b5ebb076",">= e48354ce078c079996f89d715dfa44814b4eba01, < eb9dadf4d552ebe10644871c5189286552aa48f5",">= e48354ce078c079996f89d715dfa44814b4eba01, < 1624bff4c5118ad494d50ad94d44f22064667a7f",">= e48354ce078c079996f89d715dfa44814b4eba01, < 3ddf3ea291a0ef2ea93b82e158960ac2cc42302b",">= e48354ce078c079996f89d715dfa44814b4eba01, < f4825922d2fb371e2b969697d792077f1b62b62c"]},{"vendor":"Linux","product":"Linux","versions":["3.1"]}],"euvd":{"id":"EUVD-2026-80619","exploited":false,"provenance":"source"}}