{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-99754","id":"CVE-2026-99754","title":"Linux kernel out-of-bounds read in SCSI target iSCSI ISID parsing","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: target: Verify the iSCSI ISID is null-terminated\n\niscsi_parse_pr_out_transport_id() returns the ISID of a FORMAT CODE 01b\nTransportID as a pointer into the PERSISTENT RESERVE OUT parameter list,\nlowercased in place and never null-terminated.  spc4r37 Table 508 requires\nthe field to be null-terminated, but a non-conforming i","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: target: Verify the iSCSI ISID is null-terminated\n\niscsi_parse_pr_out_transport_id() returns the ISID of a FORMAT CODE 01b\nTransportID as a pointer into the PERSISTENT RESERVE OUT parameter list,\nlowercased in place and never null-terminated.  spc4r37 Table 508 requires\nthe field to be null-terminated, but a non-conforming initiator can omit\nthe NULL; when the ISID ends at the end of the received buffer, the pointer\nis not a C string.\n\nThe registration code still consumes it as one: strcmp() in\n__core_scsi3_locate_pr_reg() and in the REGISTER AND MOVE path, and\nsnprintf(\"%s\") in __core_scsi3_do_alloc_registration(), which also reads\nits first 8 bytes unconditionally with get_unaligned_be64() - a NUL check\ndoes not bound that read.\n\nWhen the parameter list spans more than one page, transport_kmap_data_sg()\nmaps it with vmap(), and the over-read walks off the end of the mapping\ninto the vmalloc() guard page and oopses.  Reproduced with a PR OUT\nREGISTER + SPEC_I_PT parameter list of exactly 8192 bytes whose final\nTransportID carries a 12-byte ISID without a terminating NUL:\n\n  BUG: unable to handle page fault for address: ffffc9000138c000\n  RIP: 0010:strcmp+0xc/0x30\n  Call Trace:\n   __core_scsi3_locate_pr_reg+0xd3/0x120 [target_core_mod]\n   core_scsi3_decode_spec_i_port+0x8fc/0x13a0 [target_core_mod]\n   core_scsi3_emulate_pro_register+0x73c/0x900 [target_core_mod]\n   ...\n   iscsi_target_rx_thread+0xef/0x1d0 [iscsi_target_mod]\n\nWith a single-page parameter list the buffer is a kmap() direct mapping, so\nthe over-read continues into the physically adjacent page instead of\nfaulting.  snprintf(\"%s\") then copies whatever follows the ISID in memory\ninto pr_reg_isid, and PR IN READ FULL STATUS reports the registration back\nto any initiator, turning the over-read into an info leak of kernel heap\ncontents.  Reproduced with a 4096-byte parameter list whose last\nTransportID ends at the end of the buffer with a 4-byte ISID and no NUL,\ninterleaved with I/O to populate adjacent pages: the READ FULL STATUS\nresponse returned the ISID as \"0xleak\" followed by raw bytes that were not\npart of the parameter list.  The snprintf() into\npr_reg_isid[PR_REG_ISID_LEN] caps the echoed ISID at 15 characters, so at\nmost 11 bytes past the buffer are leaked per command, but the PR OUT\ncommand is not rate limited.\n\nAny initiator that can send PR OUT to an iSCSI-exported LUN can trigger\neither variant, including a guest via vhost-scsi.\n\nRequire 8 bytes to remain after the \",i,0x\" separator, and a NUL inside the\nrest of the descriptor, before the ISID pointer is returned.  REGISTER AND\nMOVE fails with TCM_INVALID_PARAMETER_LIST; on SPEC_I_PT no target port\nclaims the malformed TransportID, and the command fails the same way.","published":"2026-11-20T05:51:23.755Z","updated":"2026-11-20T05:51:23.755Z","reserved":"2026-09-25T10:25:14.432Z","status":"PUBLISHED","rejected":false,"assigner":"Linux","metric":null,"metrics":[],"rating":"unrated","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5","lessThan":"29c5ce6465b5696fbdf8126fcd0a6946b005c8b7","status":"affected","versionType":"git"},{"version":"c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5","lessThan":"8a71f25a34439e99e094fabb619f787d15aaf9ae","status":"affected","versionType":"git"},{"version":"c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5","lessThan":"d1db24c32bbe7b998573392070c3a6bdd9f4066c","status":"affected","versionType":"git"},{"version":"c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5","lessThan":"cdf4b87a18cb6a0ee26865cb1b7b5660a491d302","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"2.6.38","status":"affected"},{"version":"0","lessThan":"2.6.38","status":"unaffected","versionType":"semver"},{"version":"6.12.118","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.64","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.3.5","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc2","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/29c5ce6465b5696fbdf8126fcd0a6946b005c8b7","tags":[]},{"url":"https://git.kernel.org/stable/c/8a71f25a34439e99e094fabb619f787d15aaf9ae","tags":[]},{"url":"https://git.kernel.org/stable/c/d1db24c32bbe7b998573392070c3a6bdd9f4066c","tags":[]},{"url":"https://git.kernel.org/stable/c/cdf4b87a18cb6a0ee26865cb1b7b5660a491d302","tags":[]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":null,"epssPercentile":null,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-99754","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99754","ok":false,"note":"not found"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-99754","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-99754","ok":false,"note":"no score yet"}],"aiTitle":true,"tech":[],"critical":[],"attention":null}