CVE-2025-40345

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

No CVSS score yet EPSS 0.21%

Published 12 Dec 2025 Updated 2 Jun 2026 CNA: Linux

Check your servers for CVE-2025-40345

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-40345 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.21%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 11.7% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before d00a6c04a502cd52425dbf35588732c652b16490
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 26e9b5da3231da7dc357b363883b5b7b51a64092
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before aa64e0e17e3a5991a25e6a46007770c629039869
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 04a8a6393f3f2f471e05eacca33282dd30b01432
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before a20f1dd19d21dcb70140ea5a71b1f8cbe0c7e68f
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 5ebe8d479aaf4f41ac35e6955332304193c646f6
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before b59d4fda7e7d0aff1043a7f742487cb829f5aac1
Other versions: unaffected
Linux
affected 2.6.12
unaffected before 2.6.12
unaffected from 5.10.247 up to and including 5.10.*
unaffected from 5.15.197 up to and including 5.15.*
unaffected from 6.1.159 up to and including 6.1.*
unaffected from 6.6.119 up to and including 6.6.*
unaffected from 6.12.61 up to and including 6.12.*
unaffected from 6.17.11 up to and including 6.17.*
unaffected 6.18 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-40345 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-40345

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2025-40345
trivy image --scanners vuln IMAGE | grep CVE-2025-40345

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2025-40345 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.