usb: storage: sddr55: Reject out-of-bound new_pba
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 · < 5ebe8d479aaf4f41ac35e6955332304193c646f6| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel’s USB storage sddr55 driver can access beyond its mapping array when a bogus device reports an out-of-bounds block address after a write. This can corrupt heap memory; the condition requires a device that returns the bogus status packet.
Engineers running Linux kernels with the USB storage sddr55 driver should check whether their versions are affected.