diff options
| author | Heinrich Schuchardt <[email protected]> | 2024-01-04 04:49:42 +0100 |
|---|---|---|
| committer | Jaehoon Chung <[email protected]> | 2024-04-15 15:19:11 +0900 |
| commit | f9a86fb118530fea5a87dd7f88e90c31c989043f (patch) | |
| tree | 8568b92d2b805c9b3805dc6905510deaa1f57bcd /include | |
| parent | b03b49046af5dfca599d2ce8f0aafed89b97aa91 (diff) | |
mmc: Avoid buffer overrun in mmc_startup()
If the CSD register contains a reserved value (4 - 7) in bits 0:2 of the
TRAN_SPEED field, a buffer overrun occurs. Resize the mapping table.
According to the original report
https://lore.kernel.org/u-boot/[email protected]/
reserved values have been observed resulting in a buffer overrun.
Reported-by: Eugeniu Rosca <[email protected]>
Fixes: 272cc70b211e ("Add MMC Framework")
Signed-off-by: Heinrich Schuchardt <[email protected]>
Reviewed-by: Jaehoon Chung <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
