← CVE Intelligence

CVE-2025-40345

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

Description (CNA)

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 (CNA)

Vendor / productVersions
Linux / Linuxaffected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before d00a6c04a502cd52425dbf35588732c652b16490; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 26e9b5da3231da7dc357b363883b5b7b51a64092; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before aa64e0e17e3a5991a25e6a46007770c629039869; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 04a8a6393f3f2f471e05eacca33282dd30b01432; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before a20f1dd19d21dcb70140ea5a71b1f8cbe0c7e68f; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 5ebe8d479aaf4f41ac35e6955332304193c646f6; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before b59d4fda7e7d0aff1043a7f742487cb829f5aac1
Linux / Linuxaffected 2.6.12; unaffected 0 before 2.6.12; unaffected 5.10.247 through 5.10.*; unaffected 5.15.197 through 5.15.*; unaffected 6.1.159 through 6.1.*; unaffected 6.6.119 through 6.6.*; unaffected 6.12.61 through 6.12.*; unaffected 6.17.11 through 6.17.*; unaffected 6.18 through *

CWE

No CWE identifiers supplied.

References

ADP enrichment

siemens-SADP

No English description supplied.