mbox series

[0/4] Fix qemu-img bench issues and improve checks

Message ID 20250327162423.25154-1-gerben@altlinux.org (mailing list archive)
Headers show
Series Fix qemu-img bench issues and improve checks | expand

Message

gerben@altlinux.org March 27, 2025, 4:24 p.m. UTC
From: Denis Rastyogin <gerben@altlinux.org>

This series fixes several qemu-img crashes found during fuzzing.

The patch "qemu-img: fix division by zero in bench_cb() for zero-sized" 
was already submitted earlier:  
https://lore.kernel.org/qemu-devel/20250318101933.255617-1-gerben@altlinux.org/  

However, it has been included in this series because it 
has not yet been merged into master.  Without it, the series 
would conflict with this commit due to modifications 
in the same parts of the code.  

Denis Rastyogin (4):
  qemu-img: fix division by zero in bench_cb() for zero-sized
  qemu-img: fix offset calculation in bench
  qemu-img: prevent stack overflow in bench by using bottom half
  qemu-img: improve queue depth validation in img_bench

 qemu-img.c | 22 ++++++++++++++++++++--
 1 file changed, 20 insertions(+), 2 deletions(-)