syzbot
UBSAN: shift-out-of-bounds in ntfs_read_inode_mount
Status:
auto-obsoleted due to no activity on 2024/04/18 03:17
Subsystems:
ntfs3
[Documentation on labels]
Reported-by: syzbot+c601e38d15ce8253186a@syzkaller.appspotmail.com
First crash: 1243d, last: 931d
▶
▼
Last patch testing requests (10)
▶
▼
Fix bisection attempts (2)
Sample crash report:
loop0: detected capacity change from 0 to 4096
ntfs: (device loop0): parse_options(): Option utf8 is no longer supported, using option nls=utf8. Please use option nls=utf8 in the future and make sure utf8 is compiled either as a module or into the kernel.
================================================================================
UBSAN: shift-out-of-bounds in fs/ntfs/inode.c:1080:43
shift exponent 267 is too large for 32-bit type 'unsigned int'
CPU: 1 PID: 5056 Comm: syz-executor112 Not tainted 6.6.0-syzkaller-12401-g8f6f76a6a29f #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023
Call Trace:
<TASK>
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x1e7/0x2d0 lib/dump_stack.c:106
ubsan_epilogue lib/ubsan.c:217 [inline]
__ubsan_handle_shift_out_of_bounds+0x3c3/0x420 lib/ubsan.c:387
ntfs_read_locked_inode+0x45eb/0x4940 fs/ntfs/inode.c:1080
ntfs_read_inode_mount+0xda6/0x2660 fs/ntfs/inode.c:2098
ntfs_fill_super+0x1883/0x2bd0 fs/ntfs/super.c:2863
mount_bdev+0x237/0x300 fs/super.c:1650
legacy_get_tree+0xef/0x190 fs/fs_context.c:662
vfs_get_tree+0x8c/0x280 fs/super.c:1771
do_new_mount+0x28f/0xae0 fs/namespace.c:3337
do_mount fs/namespace.c:3677 [inline]
__do_sys_mount fs/namespace.c:3886 [inline]
__se_sys_mount+0x2d9/0x3c0 fs/namespace.c:3863
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x44/0x110 arch/x86/entry/common.c:82
entry_SYSCALL_64_after_hwframe+0x63/0x6b
RIP: 0033:0x7fefc31cacfa
Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 5e 04 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffce7479ba8 EFLAGS: 00000286 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007ffce7479bc0 RCX: 00007fefc31cacfa
RDX: 0000000020000000 RSI: 000000002001ee80 RDI: 00007ffce7479bc0
RBP: 0000000000000004 R08: 00007ffce7479c00 R09: 000000000001ee6c
R10: 0000000000800804 R11: 0000000000000286 R12: 0000000000800804
R13: 00007ffce7479c00 R14: 0000000000000003 R15: 0000000000200000
</TASK>
================================================================================
* Struck through repros no longer work on HEAD.