# CVE-2025-40345: usb: storage: sddr55: Reject out-of-bound new_pba

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2025-12-12T17:53:06.853Z
- Modified: 2026-10-14T13:10:00.187Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before d00a6c04a502cd52425dbf35588732c652b16490; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 26e9b5da3231da7dc357b363883b5b7b51a64092; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before aa64e0e17e3a5991a25e6a46007770c629039869; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 04a8a6393f3f2f471e05eacca33282dd30b01432; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before a20f1dd19d21dcb70140ea5a71b1f8cbe0c7e68f; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 5ebe8d479aaf4f41ac35e6955332304193c646f6; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before b59d4fda7e7d0aff1043a7f742487cb829f5aac1; 2.6.12 (not affected: before 2.6.12; from 5.10.247 up to 5.10.*; from 5.15.197 up to 5.15.*; from 6.1.159 up to 6.1.*; from 6.6.119 up to 6.6.*; from 6.12.61 up to 6.12.*; from 6.17.11 up to 6.17.*; from 6.18 up to *)

## References

- <https://git.kernel.org/stable/c/d00a6c04a502cd52425dbf35588732c652b16490>
- <https://git.kernel.org/stable/c/26e9b5da3231da7dc357b363883b5b7b51a64092>
- <https://git.kernel.org/stable/c/aa64e0e17e3a5991a25e6a46007770c629039869>
- <https://git.kernel.org/stable/c/04a8a6393f3f2f471e05eacca33282dd30b01432>
- <https://git.kernel.org/stable/c/a20f1dd19d21dcb70140ea5a71b1f8cbe0c7e68f>
- <https://git.kernel.org/stable/c/5ebe8d479aaf4f41ac35e6955332304193c646f6>
- <https://git.kernel.org/stable/c/b59d4fda7e7d0aff1043a7f742487cb829f5aac1>
- <https://cert-portal.siemens.com/productcert/html/ssa-253495.html>

## Sources

- CVE List: [CVE-2025-40345](https://www.cve.org/CVERecord?id=CVE-2025-40345), CVE Terms of Use, modified 2026-06-02
- NVD: [CVE-2025-40345](https://nvd.nist.gov/vuln/detail/CVE-2025-40345), Public domain, modified 2026-10-14

---

Page: https://cve.day/CVE-2025-40345 · Whole record: https://cve.day/CVE-2025-40345.json · Rebuilt by cve.day 2026-11-25T22:59:09.324Z
