Activity log for bug #1818264

Date Who What changed Old value New value Message
2019-03-01 16:53:07 Matt Fleming bug added bug
2019-03-01 16:53:41 Matt Fleming affects qemu-kvm (Ubuntu) qemu (Ubuntu)
2019-03-04 10:59:50 Christian Ehrhardt  qemu (Ubuntu): status New Incomplete
2019-03-05 13:27:46 Christian Ehrhardt  qemu (Ubuntu): status Incomplete Triaged
2019-03-05 13:27:52 Christian Ehrhardt  nominated for series Ubuntu Cosmic
2019-03-05 13:27:52 Christian Ehrhardt  bug task added qemu (Ubuntu Cosmic)
2019-03-05 13:27:52 Christian Ehrhardt  nominated for series Ubuntu Bionic
2019-03-05 13:27:52 Christian Ehrhardt  bug task added qemu (Ubuntu Bionic)
2019-03-05 13:27:58 Christian Ehrhardt  qemu (Ubuntu): status Triaged Fix Released
2019-03-05 13:27:59 Christian Ehrhardt  qemu (Ubuntu Bionic): status New Triaged
2019-03-05 13:28:01 Christian Ehrhardt  qemu (Ubuntu Cosmic): status New Triaged
2019-03-05 13:33:40 Christian Ehrhardt  description When attempting to do a blockpull the following error occurs and the VM crashes. qemu-system-x86_64: /build/qemu-Eap4uc/qemu-2.11+dfsg/block/io.c:1042: bdrv_co_do_copy_on_readv: Assertion `skip_bytes < pnum' failed. 2019-02-17 17:38:27.820+0000: shutting down, reason=crashed This appears to be fixed upstream. https://patchwork.kernel.org/patch/10512135/ https://github.com/qemu/qemu/commit/b0ddcbbb36a66a605eb232b905cb49b1cc72e74e [Impact] * During qemu-io VM disk read, there is a possibility for qemu-io to abort crashing the process running. This also crashes the VM the read is running against. * Backport upstream fix from [Test Case] * Steps to reproduce outside of a block pull: $ qemu-img create -f qcow2 test 1024 2>&1 $ qemu-io -f qcow2 -C -c 'read 0 1024' test Without the fix: Error: qemu-io: /build/qemu-Eap4uc/qemu-2.11+dfsg/block/io.c:1042: bdrv_co_do_copy_on_readv: Assertion `skip_bytes < pnum' failed. Aborted (core dumped) With fix: read 1024/1024 bytes at offset 0 1 KiB, 1 ops; 0.0045 sec (220.604 KiB/sec and 220.6045 ops/sec) [Regression Potential] * The change is small and unchanged since two releases which indicates it is rather stable. The only thing it adds is a safety check on ret&&pnum being zero to leave the loop. The only related regression I could think of is leaving the loop too early, but when pnum==0 it has nothing more to write, so there should be no issue to leave. [Other Info] * n/a --- When attempting to do a blockpull the following error occurs and the VM crashes. qemu-system-x86_64: /build/qemu-Eap4uc/qemu-2.11+dfsg/block/io.c:1042: bdrv_co_do_copy_on_readv: Assertion `skip_bytes < pnum' failed. 2019-02-17 17:38:27.820+0000: shutting down, reason=crashed This appears to be fixed upstream. https://patchwork.kernel.org/patch/10512135/ https://github.com/qemu/qemu/commit/b0ddcbbb36a66a605eb232b905cb49b1cc72e74e
2019-03-05 18:02:39 Andre Goree bug added subscriber Andre Goree
2019-03-06 11:28:41 Christian Ehrhardt  qemu (Ubuntu Cosmic): status Triaged In Progress
2019-03-08 09:51:59 Timo Aaltonen qemu (Ubuntu Cosmic): status In Progress Fix Committed
2019-03-08 09:52:00 Timo Aaltonen bug added subscriber Ubuntu Stable Release Updates Team
2019-03-08 09:52:01 Timo Aaltonen bug added subscriber SRU Verification
2019-03-08 09:52:05 Timo Aaltonen tags verification-needed verification-needed-cosmic
2019-03-11 06:38:30 Christian Ehrhardt  tags verification-needed verification-needed-cosmic verification-done verification-done-cosmic
2019-03-18 09:48:16 Launchpad Janitor qemu (Ubuntu Cosmic): status Fix Committed Fix Released
2019-03-18 09:48:25 Łukasz Zemczak removed subscriber Ubuntu Stable Release Updates Team
2019-03-26 17:57:43 Brian Murray qemu (Ubuntu Bionic): status Triaged Fix Committed
2019-03-26 17:57:46 Brian Murray bug added subscriber Ubuntu Stable Release Updates Team
2019-03-26 17:57:53 Brian Murray tags verification-done verification-done-cosmic verification-done-cosmic verification-needed verification-needed-bionic
2019-03-27 07:36:08 Christian Ehrhardt  tags verification-done-cosmic verification-needed verification-needed-bionic verification-done verification-done-bionic verification-done-cosmic
2019-03-27 11:54:50 Launchpad Janitor qemu (Ubuntu Bionic): status Fix Committed Fix Released
2019-03-27 11:54:50 Launchpad Janitor cve linked 2018-16872
2019-03-27 11:54:50 Launchpad Janitor cve linked 2018-19489
2019-03-27 11:54:50 Launchpad Janitor cve linked 2019-3812
2019-03-27 11:54:50 Launchpad Janitor cve linked 2019-6778