CVE-2025-40345

Summary

In the Linux kernel, the following vulnerability has been resolved:

usb: storage: sddr55: Reject out-of-bound new_pba

Discovered by Atuin - Automated Vulnerability Discovery Engine.

new_pba comes from the status packet returned after each write. A bogus device could report values beyond the block count derived from info->capacity, letting the driver walk off the end of pba_to_lba[] and corrupt heap memory.

Reject PBAs that exceed the computed block count and fail the transfer so we avoid touching out-of-range mapping entries.

Affected Software

VendorProductVersion RangeStatus
LinuxLinux1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < d00a6c04a502cd52425dbf35588732c652b16490affected
LinuxLinux1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 26e9b5da3231da7dc357b363883b5b7b51a64092affected
LinuxLinux1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < aa64e0e17e3a5991a25e6a46007770c629039869affected
LinuxLinux1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 04a8a6393f3f2f471e05eacca33282dd30b01432affected
LinuxLinux1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < a20f1dd19d21dcb70140ea5a71b1f8cbe0c7e68faffected
LinuxLinux1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 5ebe8d479aaf4f41ac35e6955332304193c646f6affected
LinuxLinux1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < b59d4fda7e7d0aff1043a7f742487cb829f5aac1affected
LinuxLinux2.6.12affected
LinuxLinux0 < 2.6.12unaffected
LinuxLinux5.10.247 <= 5.10.*unaffected
LinuxLinux5.15.197 <= 5.15.*unaffected
LinuxLinux6.1.159 <= 6.1.*unaffected
LinuxLinux6.6.119 <= 6.6.*unaffected
LinuxLinux6.12.61 <= 6.12.*unaffected
LinuxLinux6.17.11 <= 6.17.*unaffected
LinuxLinux6.18 <= *unaffected

Weaknesses

ADP Enrichment

Additional References

References