# CVE-2025-40345: usb: storage: sddr55: Reject out-of-bound new\_pba

- Priority: **Routine**
- Reason: Not severe (CVSS 7, physical access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-12-12 · Modified: 2026-06-02
- Aliases: UBUNTU-CVE-2025-40345, DEBIAN-CVE-2025-40345
- Record: https://cvemate.com/vulnerability/CVE-2025-40345 · JSON: https://cvemate.com/vulnerability/CVE-2025-40345/json

## Description

```text
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.
```

## Signals

- CVSS: 7 high (v4.0, OSV · Ubuntu) CVSS:4.0/AV:P/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- EPSS: 0.21%, percentile 11.749%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 160)

- debian linux (Debian): \< 6.1.159-1 \| \< 6.12.63-1 \| \< 6.17.11-1
- ubuntu linux (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-173.183 \| \< 6.8.0-106.106 \| \< 6.17.0-19.19
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1103.110 \| \< 6.8.0-1050.53 \| \< 6.17.0-1009.9
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): \< 5.15.0-1103.110~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.4 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.14 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.17 (Ubuntu): \< 6.17.0-1009.9~24.04.2
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.8 (Ubuntu): \< 6.8.0-1050.53~22.04.1
- ubuntu linux-aws-fips (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1103.110+fips1 \| \< 6.8.0-1050.53+fips1
- ubuntu linux-aws-hwe (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1109.118 \| \< 6.8.0-1051.57 \| \< 6.17.0-1010.10

## References (first 20 of 39)

- <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>
- <https://ubuntu.com/security/CVE-2025-40345>
- <https://www.cve.org/CVERecord?id=CVE-2025-40345>
- <https://git.kernel.org/linus/b59d4fda7e7d0aff1043a7f742487cb829f5aac1>
- <https://ubuntu.com/security/notices/USN-8094-1>
- <https://ubuntu.com/security/notices/USN-8095-1>
- <https://ubuntu.com/security/notices/USN-8096-1>
- <https://ubuntu.com/security/notices/USN-8100-1>
- <https://ubuntu.com/security/notices/USN-8095-2>
- <https://ubuntu.com/security/notices/USN-8096-2>
- <https://ubuntu.com/security/notices/USN-8094-2>
- <https://ubuntu.com/security/notices/USN-8095-3>
- <https://ubuntu.com/security/notices/USN-8096-3>

---

Data as of 2026-12-05T06:59:59.286Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
