Re: [syzbot] [erofs] KMSAN: uninit-value in ima_add_template_entry

2024-03-03 Thread syzbot
Hello, syzbot has tested the proposed patch and the reproducer did not trigger any issue: Reported-and-tested-by: syzbot+7bc44a489f0ef0670...@syzkaller.appspotmail.com Tested on: commit: 4288d8d1 erofs: fix uninitialized page cache reported .. git tree:

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,

Re: [syzbot] [integrity?] [lsm?] KMSAN: uninit-value in ima_add_template_entry

2024-03-03 Thread Gao Xiang
On 2024/3/3 22:54, Tetsuo Handa wrote: On 2024/02/20 19:40, Roberto Sassu wrote: On Mon, 2024-02-19 at 22:41 -0800, syzbot wrote: Hello, syzbot found the following issue on: HEAD commit:4f5e5092fdbf Merge tag 'net-6.8-rc5' of git://git.kernel.o.. git tree: upstream console

Re: [syzbot] [integrity?] [lsm?] KMSAN: uninit-value in ima_add_template_entry

2024-03-03 Thread Tetsuo Handa
On 2024/02/20 19:40, Roberto Sassu wrote: > On Mon, 2024-02-19 at 22:41 -0800, syzbot wrote: >> Hello, >> >> syzbot found the following issue on: >> >> HEAD commit:4f5e5092fdbf Merge tag 'net-6.8-rc5' of git://git.kernel.o.. >> git tree: upstream >> console output:

[PATCH] erofs-utils: support xz/lzma/lzip streams for tarerofs

2024-03-03 Thread Gao Xiang
Similar to commit e3dfe4b8db26 ("erofs-utils: mkfs: support tgz streams for tarerofs"), let's add xz/lzma/lzip support by using liblzma. Signed-off-by: Gao Xiang --- include/erofs/tar.h | 13 ++ lib/tar.c | 58 - man/mkfs.erofs.1