--- x/drivers/comedi/comedi_fops.c +++ y/drivers/comedi/comedi_fops.c @@ -1566,7 +1566,7 @@ static int do_insnlist_ioctl(struct come /* Allocate scratch space for all instruction data. */ data = kmalloc_array(max_n_data_required, sizeof(unsigned int), - GFP_KERNEL); + GFP_KERNEL | __GFP_ZERO); if (!data) { ret = -ENOMEM; goto error;