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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.29% (percentile 14, 2026-11-26)
- **Published:** 2025-12-12T17:53:06.853Z
- **Modified:** 2026-10-14T13:10:00.187Z

## Who should check

- Anyone running Linux \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< d00a6c04a502cd52425dbf35588732c652b16490; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 26e9b5da3231da7dc357b363883b5b7b51a64092; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< aa64e0e17e3a5991a25e6a46007770c629039869; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 04a8a6393f3f2f471e05eacca33282dd30b01432; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< a20f1dd19d21dcb70140ea5a71b1f8cbe0c7e68f; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 5ebe8d479aaf4f41ac35e6955332304193c646f6; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< b59d4fda7e7d0aff1043a7f742487cb829f5aac1
- Anyone running Linux 2.6.12

## 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 and fixed versions

- Linux: \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< d00a6c04a502cd52425dbf35588732c652b16490; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 26e9b5da3231da7dc357b363883b5b7b51a64092; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< aa64e0e17e3a5991a25e6a46007770c629039869; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 04a8a6393f3f2f471e05eacca33282dd30b01432; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< a20f1dd19d21dcb70140ea5a71b1f8cbe0c7e68f; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 5ebe8d479aaf4f41ac35e6955332304193c646f6; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< b59d4fda7e7d0aff1043a7f742487cb829f5aac1 (cvelist)
- Linux: 2.6.12 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-40345. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-40345.md
Affected: Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < d00a6c04a502cd52425dbf35588732c652b16490; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 26e9b5da3231da7dc357b363883b5b7b51a64092; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < aa64e0e17e3a5991a25e6a46007770c629039869; >= 1da177e4c3f41524e886b7f…
Fixed in: Linux 26e9b5da3231da7dc357b363883b5b7b51a64092, Linux 04a8a6393f3f2f471e05eacca33282dd30b01432, Linux 5ebe8d479aaf4f41ac35e6955332304193c646f6

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-40345 being exploited?

There is no confirmed exploitation: CVE-2025-40345 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.29% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-40345?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2025-40345?

Linux \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< d00a6c04a502cd52425dbf35588732c652b16490; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 26e9b5da3231da7dc357b363883b5b7b51a64092; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< aa64e0e17e3a5991a25e6a46007770c629039869; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 04a8a6393f3f2f471e05eacca33282dd30b01432; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< a20f1dd19d21dcb70140ea5a71b1f8cbe0c7e68f; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 5ebe8d479aaf4f41ac35e6955332304193c646f6; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< b59d4fda7e7d0aff1043a7f742487cb829f5aac1; Linux 2.6.12.

### Is there a fix for CVE-2025-40345?

Yes. Fixed in Linux 26e9b5da3231da7dc357b363883b5b7b51a64092, Linux 04a8a6393f3f2f471e05eacca33282dd30b01432, Linux 5ebe8d479aaf4f41ac35e6955332304193c646f6. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2025-40345?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

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

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-40345>

HTML: <https://flawdb.com/CVE-2025-40345> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-40345>
