Skip to content

hw/sd/sdcard: Fix CVE-2020-13253 & cleanups

Philippe Mathieu-Daudé qemu-arm qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v3 Latest11 patches 15 repliesIn review

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11MAINTAINERS: Cc qemu-block mailing listMAINTAINERS+1 -00 replies
2/11hw/sd/sdcard: Update coding style to make checkpatch.pl happyhw/sd/sd.c+16 -81 reply
3/11hw/sd/sdcard: Do not switch to ReceivingData if address is invalidhw/sd/sd.c+38 -263 replies
4/11hw/sd/sdcard: Restrict Class 6 commands to SCSD cardshw/sd/sd.c+5 -01 reply
5/11hw/sd/sdcard: Update the SDState documentationhw/sd/sd.c+4 -11 reply
6/11hw/sd/sdcard: Simplify cmd_valid_while_locked()hw/sd/sd.c+5 -61 reply
7/11hw/sd/sdcard: Constify sd_crc*()'s message argumenthw/sd/sd.c+4 -40 replies
8/11hw/sd/sdcard: Make iolen unsignedhw/sd/sd.c hw/sd/trace-events+2 -21 reply
9/11hw/sd/sdcard: Correctly display the command name in trace eventshw/sd/sd.c+14 -31 reply
10/11hw/sd/sdcard: Display offset in read/write_data() trace eventshw/sd/sd.c hw/sd/trace-events+6 -61 reply
11/11hw/sd/sdcard: Simplify realize() a bithw/sd/sd.c+5 -51 reply

Reviews trailers per patch

7 of 11 patches have a Reviewed-by or Acked-by.

PatchAlistair FrancisPeter Maydell
1/11
2/11R-b
3/11
4/11R-b
5/11R-b
6/11R-b
7/11R-b
8/11
9/11
10/11R-b
11/11R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 00/11] hw/sd/sdcard: Fix CVE-2020-13253 & cleanups

Patches 2 & 3 fix CVE-2020-13253.
The rest are (accumulated) cleanups.

Supersedes: <[email protected]>

Philippe Mathieu-Daudé (11):
MAINTAINERS: Cc qemu-block mailing list
hw/sd/sdcard: Update coding style to make checkpatch.pl happy hw/sd/sdcard: Do not switch to ReceivingData if address is invalid hw/sd/sdcard: Restrict Class 6 commands to SCSD cards hw/sd/sdcard: Update the SDState documentation hw/sd/sdcard: Simplify cmd_valid_while_locked() hw/sd/sdcard: Constify sd_crc*()'s message argument hw/sd/sdcard: Make iolen unsigned
hw/sd/sdcard: Correctly display the command name in trace events hw/sd/sdcard: Display offset in read/write_data() trace events hw/sd/sdcard: Simplify realize() a bit

 hw/sd/sd.c         | 122 +++++++++++++++++++++++++++++----------------
 MAINTAINERS        |   1 +
 hw/sd/trace-events |   4 +-
 3 files changed, 83 insertions(+), 44 deletions(-)
Signature · 1 line
2.21.3