Incident response on call, 24/7: +385 98 1900 984NewIR Retainer: a team on contract before an attack
HR · EN
PendingCVE-2026-139368

scsi: libsas: Fix out-of-bounds memcpy() in sas_ssp_task_response()

Published 30/11/2026 · Updated 30/11/2026 · Linux

Description

In the Linux kernel, the following vulnerability has been resolved: scsi: libsas: Fix out-of-bounds memcpy() in sas_ssp_task_response() The min_t(int, ...) clamp of the device-provided sense_data_len turns negative for values >= 0x80000000 and is then used as the memcpy() length, reading and writing out of bounds. Compare as u32 instead. Well-formed responses are unaffected.

Affected products and versions

Linux Linux366ca51f30de1cbb5b356c70b7bb22051c558e41 – < d16d1258e5abecef9f352d8e5bfd9548a2dafa26 · 366ca51f30de1cbb5b356c70b7bb22051c558e41 – < 2215058e08955a60fc845d9ad12519087ad15947 · 366ca51f30de1cbb5b356c70b7bb22051c558e41 – < f8ab1d7024838701e0ebc196e07292971e3e5199 · 366ca51f30de1cbb5b356c70b7bb22051c558e41 – < c3876462996fb910d3cb89a175ebe66b5ff72c05 · 366ca51f30de1cbb5b356c70b7bb22051c558e41 – < 2dcba34400509eaf9a0a78f9cb76bfd1628c471f · 366ca51f30de1cbb5b356c70b7bb22051c558e41 – < ed71b1f4cc382cae22f3b7455c9098cf6be52a1d · 366ca51f30de1cbb5b356c70b7bb22051c558e41 – < b4ca06b7610047d8f12419c75a5a6c50391dfb2f · 366ca51f30de1cbb5b356c70b7bb22051c558e41 – < 4d7f9c3fdce773f6c69d17c1d4a05bd5e17f4b99Fixed in: d16d1258e5abecef9f352d8e5bfd9548a2dafa26 · 2215058e08955a60fc845d9ad12519087ad15947 · f8ab1d7024838701e0ebc196e07292971e3e5199 · c3876462996fb910d3cb89a175ebe66b5ff72c05 · 2dcba34400509eaf9a0a78f9cb76bfd1628c471f · ed71b1f4cc382cae22f3b7455c9098cf6be52a1d · b4ca06b7610047d8f12419c75a5a6c50391dfb2f · 4d7f9c3fdce773f6c69d17c1d4a05bd5e17f4b99
Linux Linux2.6.25Fixed in: 5.10.275 · 5.15.226 · 6.1.193 · 6.6.163 · 6.12.119 · 6.18.65 · 7.3.6 · 7.4-rc1

References

Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.