[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH-for-6.1 v2 0/2] hw/sd/sdcard: Fix assertion accessing out-of-
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [PATCH-for-6.1 v2 0/2] hw/sd/sdcard: Fix assertion accessing out-of-range addresses with CMD30 |
Date: |
Tue, 3 Aug 2021 19:31:50 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 |
On 8/3/21 3:46 PM, Alexander Bulekov wrote:
> On 210803 0155, Philippe Mathieu-Daudé wrote:
>> 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
>>
>
> Fuzzed this for 20 mins, based on the OSS-Fuzz corpus, without finding
> anything.
>
> ./qemu-fuzz-i386 --fuzz-target=generic-fuzz-sdhci-v3 -jobs=4 -workers=4 \
> -focus_function=sd_wpbits \
> ~/oss-fuzz/qemu_qemu-fuzz-i386-target-generic-fuzz-sdhci-v3/
>
> Tested-by: Alexander Bulekov <alxndr@bu.edu>
Thanks both!
Queued on sdmmc-fixes.