CVE-2025-40345

published 12 Dec 2025 · updated 2 Jun 2026

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

7.3HighCVSS 7.3EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 04a8a6393f3f2f471e05eacca33282dd30b01432, Kernel 26e9b5da3231da7dc357b363883b5b7b51a64092, Kernel 5ebe8d479aaf4f41ac35e6955332304193c646f6 and 4 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=2.6.12, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <04a8a6393f3f2f471e05eacca33282dd30b01432, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <26e9b5da3231da7dc357b363883b5b7b51a64092, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <5ebe8d479aaf4f41ac35e6955332304193c646f6, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <a20f1dd19d21dcb70140ea5a71b1f8cbe0c7e68f, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <aa64e0e17e3a5991a25e6a46007770c629039869, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <b59d4fda7e7d0aff1043a7f742487cb829f5aac1, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <d00a6c04a502cd52425dbf35588732c652b1649004a8a6393f3f2f471e05eacca33282dd30b01432, 26e9b5da3231da7dc357b363883b5b7b51a64092, 5ebe8d479aaf4f41ac35e6955332304193c646f6, a20f1dd19d21dcb70140ea5a71b1f8cbe0c7e68f, aa64e0e17e3a5991a25e6a46007770c629039869, b59d4fda7e7d0aff1043a7f742487cb829f5aac1, d00a6c04a502cd52425dbf35588732c652b16490

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-40345 severity on Zeptric[![CVE-2025-40345](https://zeptric.io/badge/cve/CVE-2025-40345.svg)](https://zeptric.io/cve/CVE-2025-40345)