Hello, syzbot has tested the proposed patch and the reproducer did not trigger any issue:
Reported-by: syzbot+d8f000c609f05f52d...@syzkaller.appspotmail.com Tested-by: syzbot+d8f000c609f05f52d...@syzkaller.appspotmail.com Tested on: commit: 0097d266 erofs: refuse crafted out-of-file-range encod.. git tree: git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git dev-test console output: https://syzkaller.appspot.com/x/log.txt?x=1732b5d4580000 kernel config: https://syzkaller.appspot.com/x/.config?x=162faeb2d1eaefb4 dashboard link: https://syzkaller.appspot.com/bug?extid=d8f000c609f05f52d9b5 compiler: Debian clang version 20.1.6 (++20250514063057+1e4d39e07757-1~exp1~20250514183223.118), Debian LLD 20.1.6 Note: no patches were applied. Note: testing is done by a robot and is best-effort only.