hw/sd/sdcard: Fix CVE-2020-13253
Get series with b4
b4 am [email protected]Versions newest first
- v2 Latest9 patches 11 repliesIn review
Changes in v2 from the cover letter
Fixes issue due to image not power of 2:
https://www.mail-archive.com/[email protected]/msg720737.html
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | MAINTAINERS: Cc qemu-block mailing listMAINTAINERS | +1 | 0 replies | |
| 2/9 | docs/orangepi: Add instructions for resizing SD image to power of twodocs/ | +13 | 1 reply | |
| 3/9 | tests/acceptance/boot_linux: Tag tests using a SD card with 'device:sd'tests/ | +3 | 2 replies | |
| 4/9 | tests/acceptance/boot_linux: Expand SD card image to power of 2tests/ | +18 | 3 replies | |
| 5/9 | hw/sd/sdcard: Restrict Class 6 commands to SCSD cardshw/ | +5 | 0 replies | |
| 6/9 | hw/sd/sdcard: Simplify realize() a bithw/ | +5 | 0 replies | |
| 7/9 | hw/sd/sdcard: Do not allow invalid SD card sizeshw/ | +25 | 3 replies | |
| 8/9 | hw/sd/sdcard: Update coding style to make checkpatch.pl happyhw/ | +16 | 1 reply | |
| 9/9 | hw/sd/sdcard: Do not switch to ReceivingData if address is invalidhw/ | +24 | 0 replies |
Reviews trailers per patch
All 9 patches have a Reviewed-by or Acked-by.
| Patch | Peter Maydell | Philippe Mathieu-Daudé | Alistair Francis | Alexander Bulekov | Cleber Rosa |
|---|---|---|---|---|---|
| 1/9 | R-b | ||||
| 2/9 | R-b | R-b | |||
| 3/9 | R-b | R-b T-b | |||
| 4/9 | R-b | R-b | |||
| 5/9 | R-b | R-b | |||
| 6/9 | R-b | R-b | |||
| 7/9 | R-b | R-b | |||
| 8/9 | R-b | R-b | R-b | ||
| 9/9 | R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 5 reviewers.
Cover letter [PATCH v2 0/9] hw/sd/sdcard: Fix CVE-2020-13253
This series fixes CVE-2020-13253 by only allowing SD card image sizes power of 2, and not switching to SEND_DATA state when the address is invalid (out of range).
Patches missing review:
3: boot_linux: Tag tests using a SD card with 'device:sd' 4: boot_linux: Expand SD card image to power of 2 7: hw/sd/sdcard: Do not allow invalid SD card sizes
Since v1:
Fixes issue due to image not power of 2:
https://www.mail-archive.com/[email protected]/msg720737.html
Supersedes: <[email protected]>
Niek Linnenbank (1):
docs/orangepi: Add instructions for resizing SD image to power of two
Philippe Mathieu-Daudé (8):
MAINTAINERS: Cc qemu-block mailing list tests/acceptance/boot_linux: Tag tests using a SD card with
'device:sd'
tests/acceptance/boot_linux: Expand SD card image to power of 2 hw/sd/sdcard: Restrict Class 6 commands to SCSD cards hw/sd/sdcard: Simplify realize() a bit
hw/sd/sdcard: Do not allow invalid SD card sizes hw/sd/sdcard: Update coding style to make checkpatch.pl happy hw/sd/sdcard: Do not switch to ReceivingData if address is invalid
docs/system/arm/orangepi.rst | 16 ++++- hw/sd/sd.c | 86 ++++++++++++++++++++------ MAINTAINERS | 1 + tests/acceptance/boot_linux_console.py | 30 ++++++--- 4 files changed, 102 insertions(+), 31 deletions(-)
Signature · 1 line
2.21.3