{"id":"CVE-2026-90011","aliases":["CVE-2026-90011"],"related":[],"kind":"vulnerability","state":"published","title":"scsi: target: iscsi: Reserve a terminator byte for the login payload","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2026-09-16T10:33:18.793Z","modified":"2026-10-19T09:18:48.927Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","score":9.1,"rating":"CRITICAL"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","score":9.1,"rating":"CRITICAL"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"e48354ce078c079996f89d715dfa44814b4eba01","fixed":"5fac79f248c37774d1dd761406f83d25ca6ff8e4","status":"affected"},{"type":"git","introduced":"e48354ce078c079996f89d715dfa44814b4eba01","fixed":"6ddddcad436d8e6e619204d3c848147ff2f5bf1e","status":"affected"},{"type":"git","introduced":"e48354ce078c079996f89d715dfa44814b4eba01","fixed":"b19dc17ed963ac36c0db4b52a1803fb11169f91f","status":"affected"},{"type":"git","introduced":"e48354ce078c079996f89d715dfa44814b4eba01","fixed":"6b589ef9d5f6cdc70d2b4f269ca6cf26b5ebb076","status":"affected"},{"type":"git","introduced":"e48354ce078c079996f89d715dfa44814b4eba01","fixed":"eb9dadf4d552ebe10644871c5189286552aa48f5","status":"affected"},{"type":"git","introduced":"e48354ce078c079996f89d715dfa44814b4eba01","fixed":"1624bff4c5118ad494d50ad94d44f22064667a7f","status":"affected"},{"type":"git","introduced":"e48354ce078c079996f89d715dfa44814b4eba01","fixed":"3ddf3ea291a0ef2ea93b82e158960ac2cc42302b","status":"affected"},{"type":"git","introduced":"e48354ce078c079996f89d715dfa44814b4eba01","fixed":"f4825922d2fb371e2b969697d792077f1b62b62c","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.1","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.1","status":"unaffected"},{"type":"semver","introduced":"5.10.270","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.221","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.188","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.157","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.110","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.51","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.5","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/5fac79f248c37774d1dd761406f83d25ca6ff8e4","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6ddddcad436d8e6e619204d3c848147ff2f5bf1e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b19dc17ed963ac36c0db4b52a1803fb11169f91f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6b589ef9d5f6cdc70d2b4f269ca6cf26b5ebb076","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/eb9dadf4d552ebe10644871c5189286552aa48f5","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1624bff4c5118ad494d50ad94d44f22064667a7f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3ddf3ea291a0ef2ea93b82e158960ac2cc42302b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f4825922d2fb371e2b969697d792077f1b62b62c","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-90011","url":"https://www.cve.org/CVERecord?id=CVE-2026-90011","licence":"CVE Terms of Use","modified":"2026-10-19T08:56:25.054Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-90011","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-90011","licence":"Public domain","modified":"2026-10-19T09:18:48.927Z"}],"updatedAt":"2026-11-25T22:59:39.013Z","epss":{"score":0.00841,"percentile":0.59002,"date":"2026-12-01T12:00:22.000Z"}}