[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH master/stable] virtio-mlk: fix use-after-free wh
From: |
Avi Kivity |
Subject: |
Re: [Qemu-devel] [PATCH master/stable] virtio-mlk: fix use-after-free while handling scsi commands |
Date: |
Mon, 06 Aug 2012 16:14:27 +0300 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120717 Thunderbird/14.0 |
On 08/06/2012 04:11 PM, Stefan Hajnoczi wrote:
> On Mon, Aug 6, 2012 at 1:49 PM, Avi Kivity <address@hidden> wrote:
>> The scsi passthrough handler falls through after completing a
>> request into the failure path, resulting in a use after free.
>>
>> Reprducible by running a guest with aio=native on a block device.
>>
>> Reported-by: Stefan Priebe <address@hidden>
>> Signed-off-by: Avi Kivity <address@hidden>
>> ---
>> hw/virtio-blk.c | 1 +
>> 1 file changed, 1 insertion(+)
>
> It would be nice to fix up the commit message:
> s/virtio-mlk/virtio-blk/
Sorry, an off-by-two. Presumably Kevin will fix it up.
>
> Reviewed-by: Stefan Hajnoczi <address@hidden>
>
Thanks.
--
error compiling committee.c: too many arguments to function