Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2025-40345

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

Description

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 products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < d00a6c04a502cd52425dbf35588732c652b16490affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 26e9b5da3231da7dc357b363883b5b7b51a64092affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < aa64e0e17e3a5991a25e6a46007770c629039869affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 04a8a6393f3f2f471e05eacca33282dd30b01432affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < a20f1dd19d21dcb70140ea5a71b1f8cbe0c7e68faffected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 5ebe8d479aaf4f41ac35e6955332304193c646f6affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < b59d4fda7e7d0aff1043a7f742487cb829f5aac1affected

Linux Linux

Default version status: affected

  • 2.6.12affected
  • 0 to < 2.6.12unaffected
  • 5.10.247 to ≤ 5.10.*unaffected
  • 5.15.197 to ≤ 5.15.*unaffected
  • 6.1.159 to ≤ 6.1.*unaffected
  • 6.6.119 to ≤ 6.6.*unaffected
  • 6.12.61 to ≤ 6.12.*unaffected
  • 6.17.11 to ≤ 6.17.*unaffected
  • 6.18 to ≤ *unaffected

References