Re: [PATCH] erofs: fix uninitialized page cache reported by KMSAN

2024-03-06 Thread Chao Yu
On 2024/3/4 11:53, Gao Xiang wrote: syzbot reports a KMSAN reproducer [1] which generates a crafted filesystem image and causes IMA to read uninitialized page cache. Later, (rq->outputsize > rq->inputsize) will be formally supported after either large uncompressed pclusters (> block size) or

Re: [PATCH] erofs: fix uninitialized page cache reported by KMSAN

2024-03-04 Thread Yue Hu
On Mon, 4 Mar 2024 11:53:39 +0800 Gao Xiang wrote: > syzbot reports a KMSAN reproducer [1] which generates a crafted > filesystem image and causes IMA to read uninitialized page cache. > > Later, (rq->outputsize > rq->inputsize) will be formally supported > after either large uncompressed

Re: [PATCH] erofs: fix uninitialized page cache reported by KMSAN

2024-03-04 Thread Sandeep Dhavale via Linux-erofs
On Sun, Mar 3, 2024 at 7:54 PM Gao Xiang wrote: > > syzbot reports a KMSAN reproducer [1] which generates a crafted > filesystem image and causes IMA to read uninitialized page cache. > > Later, (rq->outputsize > rq->inputsize) will be formally supported > after either large uncompressed

Re: [PATCH] erofs: fix uninitialized page cache reported by KMSAN

2024-03-03 Thread Gao Xiang
#syz test git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git dev-test On 2024/3/4 11:53, Gao Xiang wrote: syzbot reports a KMSAN reproducer [1] which generates a crafted filesystem image and causes IMA to read uninitialized page cache. Later, (rq->outputsize > rq->inputsize) will be

[PATCH] erofs: fix uninitialized page cache reported by KMSAN

2024-03-03 Thread Gao Xiang
syzbot reports a KMSAN reproducer [1] which generates a crafted filesystem image and causes IMA to read uninitialized page cache. Later, (rq->outputsize > rq->inputsize) will be formally supported after either large uncompressed pclusters (> block size) or big lclusters are landed. However,