CVE-2025-40345
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 versions
Linux kernel versions
2.6.12
and later are affected. Fixed in
5.10.247,
5.15.197,
6.1.159,
6.6.119,
6.12.61,
6.17.11,
6.18
and their respective stable series.
References
The following references provide additional information about CVE-2025-40345 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
-
PatchKernel patch commithttps://git.kernel.org/stable/c/04a8a6393f3f2f471e05eacca33282dd30b01432
-
PatchKernel patch commithttps://git.kernel.org/stable/c/26e9b5da3231da7dc357b363883b5b7b51a64092
-
PatchKernel patch commithttps://git.kernel.org/stable/c/5ebe8d479aaf4f41ac35e6955332304193c646f6
Frequently asked questions
-
What is CVE-2025-40345?
CVE-2025-40345 is a unscored severity Linux kernel vulnerability . It affects Linux kernel versions from 2.6.12 onward and has been patched in 5.10.247, 5.15.197, 6.1.159 and others. CVE-2025-40345 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
Is there a patch available for CVE-2025-40345?
Yes — CVE-2025-40345 has been patched. Fixed versions include 5.10.247, 5.15.197, 6.1.159 and others. If you are running Linux kernel 2.6.12 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2025-40345 actively exploited?
No — CVE-2025-40345 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.