qemu-devel
[Top][All Lists]
Advanced

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

[Bug 1883739] [NEW] ide_dma_cb: Assertion `prep_size >= 0 && prep_size <


From: Bugs SysSec
Subject: [Bug 1883739] [NEW] ide_dma_cb: Assertion `prep_size >= 0 && prep_size <= n * 512' failed.
Date: Tue, 16 Jun 2020 15:56:16 -0000

Public bug reported:

To reproduce run the QEMU with the following command line:
```
qemu-system-x86_64 -cdrom hypertrash.iso -nographic -m 100 -enable-kvm -net 
none -drive id=disk,file=hda.img,if=none -device ahci,id=ahci -device 
ide-hd,drive=disk,bus=ahci.0
```

QEMU Version:
```
# qemu-5.0.0
$ ./configure --target-list=x86_64-softmmu --enable-sanitizers; make
$ x86_64-softmmu/qemu-system-x86_64 --version
QEMU emulator version 5.0.0
Copyright (c) 2003-2020 Fabrice Bellard and the QEMU Project developers
```

To create disk image run:
```
dd if=/dev/zero of=hda.img bs=1024 count=1024
```

** Affects: qemu
     Importance: Undecided
         Status: New

** Attachment added: "ide_bug_2.zip"
   
https://bugs.launchpad.net/bugs/1883739/+attachment/5384438/+files/ide_bug_2.zip

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1883739

Title:
  ide_dma_cb: Assertion `prep_size >= 0 && prep_size <= n * 512' failed.

Status in QEMU:
  New

Bug description:
  To reproduce run the QEMU with the following command line:
  ```
  qemu-system-x86_64 -cdrom hypertrash.iso -nographic -m 100 -enable-kvm -net 
none -drive id=disk,file=hda.img,if=none -device ahci,id=ahci -device 
ide-hd,drive=disk,bus=ahci.0
  ```

  QEMU Version:
  ```
  # qemu-5.0.0
  $ ./configure --target-list=x86_64-softmmu --enable-sanitizers; make
  $ x86_64-softmmu/qemu-system-x86_64 --version
  QEMU emulator version 5.0.0
  Copyright (c) 2003-2020 Fabrice Bellard and the QEMU Project developers
  ```

  To create disk image run:
  ```
  dd if=/dev/zero of=hda.img bs=1024 count=1024
  ```

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1883739/+subscriptions



reply via email to

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