Re: [PATCH v3 2/2] tests/ide-test: Create a single unit-test covering more PRDT cases

2020-01-08 Thread Kevin Wolf
Am 07.01.2020 um 23:39 hat Alexander Popov geschrieben: > > Did you have a look why this happens? I suppose we might be running out > > of some resources in the qtest framework becasue each send_dma_request() > > calls get_pci_device() again? > > I've spent some time on investigating, but didn't s

Re: [PATCH v3 2/2] tests/ide-test: Create a single unit-test covering more PRDT cases

2020-01-07 Thread Alexander Popov
On 07.01.2020 10:44, Kevin Wolf wrote: > Am 23.12.2019 um 18:51 hat Alexander Popov geschrieben: >> Fuzzing the Linux kernel with syzkaller allowed to find how to crash qemu >> using a special SCSI_IOCTL_SEND_COMMAND. It hits the assertion in >> ide_dma_cb() introduced in the commit a718978ed58a in

Re: [PATCH v3 2/2] tests/ide-test: Create a single unit-test covering more PRDT cases

2020-01-07 Thread Kevin Wolf
Am 23.12.2019 um 18:51 hat Alexander Popov geschrieben: > Fuzzing the Linux kernel with syzkaller allowed to find how to crash qemu > using a special SCSI_IOCTL_SEND_COMMAND. It hits the assertion in > ide_dma_cb() introduced in the commit a718978ed58a in July 2015. > Currently this bug is not repr

[PATCH v3 2/2] tests/ide-test: Create a single unit-test covering more PRDT cases

2019-12-23 Thread Alexander Popov
Fuzzing the Linux kernel with syzkaller allowed to find how to crash qemu using a special SCSI_IOCTL_SEND_COMMAND. It hits the assertion in ide_dma_cb() introduced in the commit a718978ed58a in July 2015. Currently this bug is not reproduced by the unit tests. Let's improve the ide-test to cover m