Re: [syzbot] [exfat?] KMSAN: kernel-infoleak in pipe_read
From: Jeongjun Park
Date: Thu Oct 31 2024 - 08:44:29 EST
#syz test git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
---
fs/pipe.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/fs/pipe.c b/fs/pipe.c
index 12b22c2723b7..596780490a32 100644
--- a/fs/pipe.c
+++ b/fs/pipe.c
@@ -324,6 +324,7 @@ pipe_read(struct kiocb *iocb, struct iov_iter *to)
break;
}
+ printk(KERN_INFO "%p %u %lu", &buf->page, buf->offset, chars);
written = copy_page_to_iter(buf->page, buf->offset, chars, to);
if (unlikely(written < chars)) {
if (!ret)
--