Skip to content

hw/sd/sdcard: Fix assertion accessing out-of-range addresses with CMD30

Philippe Mathieu-Daudé qemu-arm qemu-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 4 repliesIn review
  2. v13 patches 9 repliesSuperseded

Changes in v2 from the cover letter

- Simplified/corrected following Peter's suggestion

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2hw/sd/sdcard: Document out-of-range addresses for SEND_WRITE_PROThw/sd/sd.c+8 -11 reply
2/2hw/sd/sdcard: Fix assertion accessing out-of-range addresses with CMD30hw/sd/sd.c tests/qtest/fuzz-sdcard-test.c+37 -11 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchAlexander BulekovPeter Maydell
SeriesT-b
1/2R-b R-b
2/2R-b

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

Read the v2 thread

Cover letter [PATCH-for-6.1 v2 0/2] hw/sd/sdcard: Fix assertion accessing out-of-range addresses with CMD30

Fix an assertion reported by OSS-Fuzz, add corresponding qtest.

The change is (now) simple enough for the next rc.

Since v1:
- Simplified/corrected following Peter's suggestion

Philippe Mathieu-Daudé (2):
hw/sd/sdcard: Document out-of-range addresses for SEND_WRITE_PROT hw/sd/sdcard: Fix assertion accessing out-of-range addresses with

    CMD30
 hw/sd/sd.c                     |  9 ++++++++-
 tests/qtest/fuzz-sdcard-test.c | 36 ++++++++++++++++++++++++++++++++++
 2 files changed, 44 insertions(+), 1 deletion(-)
Signature · 1 line
2.31.1