2023-08-05 06:13:42

by Manas Ghandat

[permalink] [raw]
Subject: [syzbot] [ntfs?] UBSAN: shift-out-of-bounds in ntfs_iget

In this bug, the logic at the following line
(https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/fs/ntfs/inode.c?id=e8f75c0270d930ef675fee22d74d1a3250e96962#n1067)
is getting skipped. The `if` condition is not triggered and thus the
compression issue occurs. I was trying to change the `if` conditions so
that the check occurs but was getting the following error. Can you
suggest any way so that the condition gets triggered.

Thanks,
Manas


Attachments:
trace (5.91 kB)