Am 08.01.2016 um 20:48 hat P J P geschrieben: > From: Prasad J Pandit <p...@fedoraproject.org> > > When processing NCQ commands, ACHI device emulation prepares a
s/ACHI/AHCI/ Can you still fix this in your tree, John? Kevin > NCQ transfer object; To which an aio control block(aiocb) object > is assigned in 'execute_ncq_command'. In case, when the NCQ > command is invalid, the 'aiocb' object is not assigned, and NCQ > transfer object is left as 'used'. This leads to a use after > free kind of error in 'bdrv_aio_cancel_async' via 'ahci_reset_port'. > Reset NCQ transfer object to 'unused' to avoid it. > > Reported-by: Qinghao Tang <luodalon...@gmail.com> > Signed-off-by: Prasad J Pandit <p...@fedoraproject.org>