{"id":"CVE-2026-74557","aliases":["CVE-2026-74557"],"related":[],"kind":"vulnerability","state":"published","title":"scsi: libiscsi: Fix stale-data leak into the SCSI sense buffer","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: libiscsi: Fix stale-data leak into the SCSI sense buffer\n\niscsi_scsi_cmd_rsp() copies the sense data of a SCSI Response from the\ntarget-supplied data segment.  The segment carries a 2-byte sense length\nfollowed by the sense bytes, so it must hold 2 + senselen bytes, but the\nbounds check only requires datalen >= senselen:\n\n\tsenselen = get_unaligned_be16(data);\n\tif (datalen < senselen)\n\t\tgoto invalid_datalen;\n\tmemcpy(sc->sense_buffer, data + 2,\n\t       min_t(uint16_t, senselen, SCSI_SENSE_BUFFERSIZE));\n\nA target that returns a SCSI Response whose datalen equals senselen\n(with senselen <= SCSI_SENSE_BUFFERSIZE) makes the memcpy() from data +\n2 read up to two bytes past the received data.  Those bytes are stale\nconn->data contents and end up in the command's sense buffer, which is\nreturned to userspace.\n\nAccount for the 2-byte sense length prefix in the check.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: libiscsi: Fix stale-data leak into the SCSI sense buffer\n\niscsi_scsi_cmd_rsp() copies the sense data of a SCSI Response from the\ntarget-supplied data segment.  The segment carries a 2-byte sense length\nfollowed by the sense bytes, so it must hold 2 + senselen bytes, but the\nbounds check only requires datalen >= senselen:\n\n\tsenselen = get_unaligned_be16(data);\n\tif (datalen < senselen)\n\t\tgoto invalid_datalen;\n\tmemcpy(sc->sense_buffer, data + 2,\n\t       min_t(uint16_t, senselen, SCSI_SENSE_BUFFERSIZE));\n\nA target that returns a SCSI Response whose datalen equals senselen\n(with senselen <= SCSI_SENSE_BUFFERSIZE) makes the memcpy() from data +\n2 read up to two bytes past the received data.  Those bytes are stale\nconn->data contents and end up in the command's sense buffer, which is\nreturned to userspace.\n\nAccount for the 2-byte sense length prefix in the check.","source":"cvelist"}],"published":"2026-08-15T12:28:01.988Z","modified":"2026-10-16T20:17:37.470Z","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:N","score":7.5,"rating":"HIGH"},"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:N","score":7.5,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"7996a778ff8c717cb1a7a294475c59cc8f1e9fb8","fixed":"812f1ae95b22419422972748f173b0916ee4d621","status":"affected"},{"type":"git","introduced":"7996a778ff8c717cb1a7a294475c59cc8f1e9fb8","fixed":"fef6167e8149896cd81bea333fd51b1c91239149","status":"affected"},{"type":"git","introduced":"7996a778ff8c717cb1a7a294475c59cc8f1e9fb8","fixed":"baa04572673125e4d5bc309b4077d1cb46cc78d1","status":"affected"},{"type":"git","introduced":"7996a778ff8c717cb1a7a294475c59cc8f1e9fb8","fixed":"7567f06abdefb1caf2d836107c4d08c5185c650e","status":"affected"},{"type":"git","introduced":"7996a778ff8c717cb1a7a294475c59cc8f1e9fb8","fixed":"60499924faf4ef97e84228c20515218ef121facf","status":"affected"},{"type":"git","introduced":"7996a778ff8c717cb1a7a294475c59cc8f1e9fb8","fixed":"3ef209ca0b4b68c75e9a814d90cc916026b5a6ac","status":"affected"},{"type":"git","introduced":"7996a778ff8c717cb1a7a294475c59cc8f1e9fb8","fixed":"1f07a897d43c63e6c9458bf77450defef39b5833","status":"affected"},{"type":"git","introduced":"7996a778ff8c717cb1a7a294475c59cc8f1e9fb8","fixed":"98b87885de4b7f605533a2860685f5689fce8e82","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.18","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.18","status":"unaffected"},{"type":"semver","introduced":"5.10.265","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.216","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.183","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.151","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.103","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.44","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.8","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","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/812f1ae95b22419422972748f173b0916ee4d621","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/fef6167e8149896cd81bea333fd51b1c91239149","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/baa04572673125e4d5bc309b4077d1cb46cc78d1","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7567f06abdefb1caf2d836107c4d08c5185c650e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/60499924faf4ef97e84228c20515218ef121facf","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3ef209ca0b4b68c75e9a814d90cc916026b5a6ac","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1f07a897d43c63e6c9458bf77450defef39b5833","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/98b87885de4b7f605533a2860685f5689fce8e82","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-10-16T19:00:09.303Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-74557","url":"https://www.cve.org/CVERecord?id=CVE-2026-74557","licence":"CVE Terms of Use","modified":"2026-10-16T19:05:55.724Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-74557","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-74557","licence":"Public domain","modified":"2026-10-16T20:17:37.470Z"}],"updatedAt":"2026-11-25T22:59:33.257Z","epss":{"score":0.00329,"percentile":0.28099,"date":"2026-12-01T12:00:22.000Z"}}