{"id":"CVE-2026-74557","published":"2026-08-15T12:28:01Z","modified":"2026-10-16T19:05:55Z","title":"scsi: libiscsi: Fix stale-data leak into the SCSI sense buffer","vendor":"Linux","product":"Linux","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00579,"percentile":0.41585,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/812f1ae95b22419422972748f173b0916ee4d621","tags":[]},{"url":"https://git.kernel.org/stable/c/fef6167e8149896cd81bea333fd51b1c91239149","tags":[]},{"url":"https://git.kernel.org/stable/c/baa04572673125e4d5bc309b4077d1cb46cc78d1","tags":[]},{"url":"https://git.kernel.org/stable/c/7567f06abdefb1caf2d836107c4d08c5185c650e","tags":[]},{"url":"https://git.kernel.org/stable/c/60499924faf4ef97e84228c20515218ef121facf","tags":[]},{"url":"https://git.kernel.org/stable/c/3ef209ca0b4b68c75e9a814d90cc916026b5a6ac","tags":[]},{"url":"https://git.kernel.org/stable/c/1f07a897d43c63e6c9458bf77450defef39b5833","tags":[]},{"url":"https://git.kernel.org/stable/c/98b87885de4b7f605533a2860685f5689fce8e82","tags":[]}],"priority":{"score":13.6,"factors":[{"name":"EPSS percentile","points":8.32},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 7996a778ff8c717cb1a7a294475c59cc8f1e9fb8, < 812f1ae95b22419422972748f173b0916ee4d621",">= 7996a778ff8c717cb1a7a294475c59cc8f1e9fb8, < fef6167e8149896cd81bea333fd51b1c91239149",">= 7996a778ff8c717cb1a7a294475c59cc8f1e9fb8, < baa04572673125e4d5bc309b4077d1cb46cc78d1",">= 7996a778ff8c717cb1a7a294475c59cc8f1e9fb8, < 7567f06abdefb1caf2d836107c4d08c5185c650e",">= 7996a778ff8c717cb1a7a294475c59cc8f1e9fb8, < 60499924faf4ef97e84228c20515218ef121facf",">= 7996a778ff8c717cb1a7a294475c59cc8f1e9fb8, < 3ef209ca0b4b68c75e9a814d90cc916026b5a6ac",">= 7996a778ff8c717cb1a7a294475c59cc8f1e9fb8, < 1f07a897d43c63e6c9458bf77450defef39b5833",">= 7996a778ff8c717cb1a7a294475c59cc8f1e9fb8, < 98b87885de4b7f605533a2860685f5689fce8e82"]},{"vendor":"Linux","product":"Linux","versions":["2.6.18"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-10-16T19:00:09.303445Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-59622","exploited":false,"provenance":"source"}}