0.0
NA
CVE-2025-40345
usb: storage: sddr55: Reject out-of-bound new_pba
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.

INFO

Published Date :

Dec. 12, 2025, 6:15 p.m.

Last Modified :

Dec. 12, 2025, 6:15 p.m.

Remotely Exploit :

No

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products

The following products are affected by CVE-2025-40345 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

No affected product recoded yet

Solution
Reject out-of-bounds writes to prevent heap corruption.
  • Validate new_pba against derived block count.
  • Reject PBAs exceeding the computed block count.
  • Fail transfers with out-of-range mapping entries.
  • Apply relevant kernel patches.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2025-40345 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2025-40345 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2025-40345 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2025-40345 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Dec. 12, 2025

    Action Type Old Value New Value
    Added 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.
    Added Reference https://git.kernel.org/stable/c/04a8a6393f3f2f471e05eacca33282dd30b01432
    Added Reference https://git.kernel.org/stable/c/26e9b5da3231da7dc357b363883b5b7b51a64092
    Added Reference https://git.kernel.org/stable/c/5ebe8d479aaf4f41ac35e6955332304193c646f6
    Added Reference https://git.kernel.org/stable/c/a20f1dd19d21dcb70140ea5a71b1f8cbe0c7e68f
    Added Reference https://git.kernel.org/stable/c/aa64e0e17e3a5991a25e6a46007770c629039869
    Added Reference https://git.kernel.org/stable/c/b59d4fda7e7d0aff1043a7f742487cb829f5aac1
    Added Reference https://git.kernel.org/stable/c/d00a6c04a502cd52425dbf35588732c652b16490
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
No CVSS metrics available for this vulnerability.