CVE-2025-40345
Awaiting Analysis Awaiting Analysis - Queue
BaseFortify

Publication date: 2025-12-12

Last updated on: 2025-12-15

Assigner: kernel.org

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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-12-12
Last Modified
2025-12-15
Generated
2026-05-07
AI Q&A
2025-12-12
EPSS Evaluated
2026-05-05
NVD
Affected Vendors & Products
Currently, no data is known.
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

This vulnerability occurs in the Linux kernel's USB storage driver for sddr55 devices. A malicious or bogus device can send a status packet with a new_pba value that exceeds the expected block count. This causes the driver to access memory beyond the valid range (walking off the end of pba_to_lba[]), leading to heap memory corruption. The fix involves rejecting any new_pba values that exceed the computed block count to prevent out-of-range memory access.


How can this vulnerability impact me? :

The vulnerability can lead to heap memory corruption in the Linux kernel when interacting with a malicious USB storage device. This could potentially cause system instability, crashes, or be exploited to execute arbitrary code with kernel privileges, compromising system security.


What immediate steps should I take to mitigate this vulnerability?

Update the Linux kernel to a version that includes the fix for rejecting out-of-bound new_pba values in the usb storage sddr55 driver. This prevents the driver from accepting bogus devices that report invalid block addresses, avoiding heap memory corruption.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart