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

State
Published
Severity
Not Scored
Published
Nov 30, 2026
Updated
Nov 30, 2026
Reserved
Nov 30, 2026

Read the record on cve.org

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.

ProductVersions
Linux Linux366ca51f30de1cbb5b356c70b7bb22051c558e41 to before d16d1258e5abecef9f352d8e5bfd9548a2dafa26 Affected366ca51f30de1cbb5b356c70b7bb22051c558e41 to before 2215058e08955a60fc845d9ad12519087ad15947 Affected366ca51f30de1cbb5b356c70b7bb22051c558e41 to before f8ab1d7024838701e0ebc196e07292971e3e5199 Affected366ca51f30de1cbb5b356c70b7bb22051c558e41 to before c3876462996fb910d3cb89a175ebe66b5ff72c05 Affected366ca51f30de1cbb5b356c70b7bb22051c558e41 to before 2dcba34400509eaf9a0a78f9cb76bfd1628c471f Affected366ca51f30de1cbb5b356c70b7bb22051c558e41 to before ed71b1f4cc382cae22f3b7455c9098cf6be52a1d Affected366ca51f30de1cbb5b356c70b7bb22051c558e41 to before b4ca06b7610047d8f12419c75a5a6c50391dfb2f Affected366ca51f30de1cbb5b356c70b7bb22051c558e41 to before 4d7f9c3fdce773f6c69d17c1d4a05bd5e17f4b99 Affected
Linux Linux2.6.25 Affectedbefore 2.6.25 Not Affected5.10.275 through 5.10.* Not Affected5.15.226 through 5.15.* Not Affected6.1.193 through 6.1.* Not Affected6.6.163 through 6.6.* Not Affected6.12.119 through 6.12.* Not Affected6.18.65 through 6.18.* Not Affected7.3.6 through 7.3.* Not Affected7.4-rc1 and later Not Affected

Weaknesses

The record names no weakness.

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.