aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto/mpi/mpi-cmp.c
diff options
context:
space:
mode:
authorGao Xiang <[email protected]>2025-06-19 03:28:39 +0000
committerGao Xiang <[email protected]>2025-06-19 05:01:38 +0000
commit7869738b6908eec7755818aaf6f3aa068b2f0e1b (patch)
tree95b77995085eff010d2fddb3bcda05915e568d67 /lib/crypto/mpi/mpi-cmp.c
parenterofs: remove unused trace event erofs_destroy_inode (diff)
downloadkernel-7869738b6908eec7755818aaf6f3aa068b2f0e1b.tar.gz
kernel-7869738b6908eec7755818aaf6f3aa068b2f0e1b.zip
erofs: refuse crafted out-of-file-range encoded extents
Crafted encoded extents could record out-of-range `lstart`, which should not happen in normal cases. It caused an iomap_iter_done() complaint [1] reported by syzbot. [1] https://lore.kernel.org/r/[email protected] Fixes: 1d191b4ca51d ("erofs: implement encoded extent metadata") Reported-and-tested-by: [email protected] Closes: https://syzkaller.appspot.com/bug?extid=d8f000c609f05f52d9b5 Signed-off-by: Gao Xiang <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/crypto/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions