qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2 5/6] esp: always check current_req is not NULL before use


From: Alexander Bulekov
Subject: Re: [PATCH v2 5/6] esp: always check current_req is not NULL before use in DMA callbacks
Date: Wed, 17 Mar 2021 20:12:55 -0400

On 210317 2302, Mark Cave-Ayland wrote:
> After issuing a SCSI command the SCSI layer can call the SCSIBusInfo .cancel
> callback which resets both current_req and current_dev to NULL. If any data
> is left in the transfer buffer (async_len != 0) then the next TI (Transfer
> Information) command will attempt to reference the NULL pointer causing a
> segfault.
> 
> Buglink: https://bugs.launchpad.net/qemu/+bug/1910723
> Buglink: https://bugs.launchpad.net/qemu/+bug/1909247
> Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
> ---

Tested-by: Alexander Bulekov <alxndr@bu.edu>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]