CVE-2025-40345
usb: storage: sddr55: Reject out-of-bound new_pba
Mitigation
- No fix listed yet: follow the vendor advisory.
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
Vulnerability facts
- Affected
- Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < d00a6c04a502cd52425dbf35588732c652b16490; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 26e9b5da3231da7dc357b363883b5b7b51a64092; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < aa64e0e17e3a5991a25e6a46007770c629039869; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 04a8a6393f3f2f471e05eacca33282dd30b01432; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < a20f1dd19d21dcb70140ea5a71b1f8cbe0c7e68f; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 5ebe8d479aaf4f41ac35e6955332304193c646f6; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < b59d4fda7e7d0aff1043a7f742487cb829f5aac1; Linux 2.6.12
- Fixed in
- Linux 26e9b5da3231da7dc357b363883b5b7b51a64092, Linux 04a8a6393f3f2f471e05eacca33282dd30b01432, Linux 5ebe8d479aaf4f41ac35e6955332304193c646f6
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- EPSS
- 0.29% chance of exploitation in 30 days (percentile 14, 2026-11-26)
- Modified
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
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < d00a6c04a502cd52425dbf35588732c652b16490; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 26e9b5da3231da7dc357b363883b5b7b51a64092; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < aa64e0e17e3a5991a25e6a46007770c629039869; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 04a8a6393f3f2f471e05eacca33282dd30b01432; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < a20f1dd19d21dcb70140ea5a71b1f8cbe0c7e68f; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 5ebe8d479aaf4f41ac35e6955332304193c646f6; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < b59d4fda7e7d0aff1043a7f742487cb829f5aac1 | — | cvelist |
| Linux | 2.6.12 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
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.
References
Other
- 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
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.