On 05. 11. 25, 13:18, Torin Carey wrote:
The EDU device doesn't enforce any bound checks on the addresses provided,
allowing users of the device to perform arbitrary reads and writes to QEMU's
address space.

Hmm, it was the intention to crash qemu before:
commit 7b608e5d6c1d61430e81cd5c71b0277b99b03f3a
Author: Chris Friedt <[email protected]>
Date:   Tue Oct 18 08:25:51 2022 -0400

    hw: misc: edu: use qemu_log_mask instead of hw_error

    Log a guest error instead of a hardware error when
    the guest tries to DMA to / from an invalid address.



As with a standard device when you program it badly. I don't understand why the commit changed it to log only and let the code to corrupt the memory?

thanks,
--
js
suse labs

Reply via email to