All of lore.kernel.org
 help / color / mirror / Atom feed
* syztest
@ 2025-07-24 20:27 Arnaud Lecomte
  2025-07-24 21:05 ` [syzbot] [comedi?] KMSAN: kernel-infoleak in do_insn_ioctl syzbot
  0 siblings, 1 reply; 2+ messages in thread
From: Arnaud Lecomte @ 2025-07-24 20:27 UTC (permalink / raw)
  To: syzbot+a5e45f768aab5892da5d; +Cc: linux-kernel, syzkaller-bugs

#syz test

--- a/drivers/comedi/comedi_fops.c
+++ b/drivers/comedi/comedi_fops.c
@@ -1636,7 +1636,7 @@ static int do_insn_ioctl(struct comedi_device *dev,
 		n_data = MAX_SAMPLES;
 	}
 
-	data = kmalloc_array(n_data, sizeof(unsigned int), GFP_KERNEL);
+	data = kcalloc(n_data, sizeof(unsigned int), GFP_KERNEL);
 	if (!data) {
 		ret = -ENOMEM;
 		goto error;
-- 


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-07-25 10:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20250725112120.1528e072@ian-deb>
2025-07-25 10:51 ` [syzbot] [comedi?] KMSAN: kernel-infoleak in do_insn_ioctl syzbot
2025-07-24 20:27 syztest Arnaud Lecomte
2025-07-24 21:05 ` [syzbot] [comedi?] KMSAN: kernel-infoleak in do_insn_ioctl syzbot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.