CVE-2025-40345

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

State
Published
Severity
Not scored
Published
Dec 12, 2025
Updated
Jun 2, 2026
Reserved
Apr 16, 2025

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before d00a6c04a502cd52425dbf35588732c652b16490Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 26e9b5da3231da7dc357b363883b5b7b51a64092Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before aa64e0e17e3a5991a25e6a46007770c629039869Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 04a8a6393f3f2f471e05eacca33282dd30b01432Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before a20f1dd19d21dcb70140ea5a71b1f8cbe0c7e68fAffected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 5ebe8d479aaf4f41ac35e6955332304193c646f6Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before b59d4fda7e7d0aff1043a7f742487cb829f5aac1Affected
LinuxLinux
  • 2.6.12Affected
  • before 2.6.12Not affected
  • 5.10.247 through 5.10.*Not affected
  • 5.15.197 through 5.15.*Not affected
  • 6.1.159 through 6.1.*Not affected
  • 6.6.119 through 6.6.*Not affected
  • 6.12.61 through 6.12.*Not affected
  • 6.17.11 through 6.17.*Not affected
  • 6.18 and laterNot affected

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.