[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <tencent_63962A37B84AAC7481767167DE3C67373009@qq.com>
Date: Thu, 31 Oct 2024 21:47:17 +0800
From: Edward Adam Davis <eadavis@...com>
To: syzbot+41ebd857f013384237a9@...kaller.appspotmail.com
Cc: linux-kernel@...r.kernel.org,
syzkaller-bugs@...glegroups.com
Subject: Re: [syzbot] [exfat?] KMSAN: kernel-infoleak in pipe_read
#syz test
diff --git a/lib/iov_iter.c b/lib/iov_iter.c
index 1abb32c0da50..59832f73a4f2 100644
--- a/lib/iov_iter.c
+++ b/lib/iov_iter.c
@@ -478,6 +478,7 @@ size_t copy_page_from_iter_atomic(struct page *page, size_t offset,
}
p = kmap_atomic(page) + offset;
+ memset(p, 0, n);
n = __copy_from_iter(p, n, i);
kunmap_atomic(p);
copied += n;
Powered by blists - more mailing lists