syzbot


kernel BUG in ntfs_lookup_inode_by_name

Status: upstream: reported C repro on 2022/06/07 08:28
Subsystems: ntfs
[Documentation on labels]
Reported-by: syzbot+380b8d7ef89582312566@syzkaller.appspotmail.com
First crash: 681d, last: 480d
Fix bisection: failed (error log, bisect log)
  
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 kernel BUG in ntfs_lookup_inode_by_name origin:upstream C error 10 38d 272d 0/3 upstream: reported C repro on 2023/07/21 14:47
linux-4.19 kernel BUG in ntfs_lookup_inode_by_name ntfs C error 3 482d 682d 0/1 upstream: reported C repro on 2022/06/06 10:51
linux-6.1 kernel BUG in ntfs_lookup_inode_by_name origin:upstream C 10 6d08h 272d 0/3 upstream: reported C repro on 2023/07/21 09:46
upstream kernel BUG in ntfs_lookup_inode_by_name ntfs3 C inconclusive inconclusive 42 94d 634d 0/26 upstream: reported C repro on 2022/07/24 08:53
Fix bisection attempts (4)
Created Duration User Patch Repo Result
2022/10/13 02:18 0m bisect fix linux-4.14.y error job log (0)
2022/09/05 10:48 26m bisect fix linux-4.14.y job log (0) log
2022/08/06 08:52 21m bisect fix linux-4.14.y job log (0) log
2022/07/07 08:28 23m bisect fix linux-4.14.y job log (0) log

Sample crash report:
ntfs: volume version 3.1.
------------[ cut here ]------------
kernel BUG at fs/ntfs/dir.c:99!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
Modules linked in:
CPU: 1 PID: 7978 Comm: syz-executor410 Not tainted 4.14.302-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
task: ffff888095892380 task.stack: ffff88808d0a0000
RIP: 0010:ntfs_lookup_inode_by_name+0xca8/0x3820 fs/ntfs/dir.c:99
RSP: 0018:ffff88808d0a7988 EFLAGS: 00010297
RAX: ffff888095892380 RBX: 1ffff11011a14f54 RCX: ffff88808d0a7ac0
RDX: 0000000000000000 RSI: ffffffff87b150e0 RDI: ffff88808e34bb08
RBP: ffff8880958ba900 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000001 R12: dffffc0000000000
R13: ffff8880958bab00 R14: ffff8880958baa68 R15: ffff88808e34b840
FS:  0000555556ee5300(0000) GS:ffff8880ba500000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f9d2cb93010 CR3: 00000000a92ca000 CR4: 00000000003406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 check_windows_hibernation_status+0xc9/0x8b0 fs/ntfs/super.c:1288
 load_system_files fs/ntfs/super.c:2003 [inline]
 ntfs_fill_super+0x4d02/0x7180 fs/ntfs/super.c:2909
 mount_bdev+0x2b3/0x360 fs/super.c:1134
 mount_fs+0x92/0x2a0 fs/super.c:1237
 vfs_kern_mount.part.0+0x5b/0x470 fs/namespace.c:1046
 vfs_kern_mount fs/namespace.c:1036 [inline]
 do_new_mount fs/namespace.c:2572 [inline]
 do_mount+0xe65/0x2a30 fs/namespace.c:2905
 SYSC_mount fs/namespace.c:3121 [inline]
 SyS_mount+0xa8/0x120 fs/namespace.c:3098
 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x5e/0xd3
RIP: 0033:0x7f910d06c00a
RSP: 002b:00007ffd07714db8 EFLAGS: 00000286 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007f910d06c00a
RDX: 000000002001ee40 RSI: 0000000020000040 RDI: 00007ffd07714dd0
RBP: 00007ffd07714dd0 R08: 00007ffd07714e10 R09: 00007ffd07714e20
R10: 0000000000000000 R11: 0000000000000286 R12: 0000000000000004
R13: 0000555556ee52c0 R14: 0000000000000000 R15: 00007ffd07714e10
Code: fc ff df 48 c1 ea 03 80 3c 02 00 0f 85 7a 27 00 00 48 8b 44 24 40 49 8d 5d 07 48 c7 00 00 00 00 00 e9 c8 fa ff ff e8 48 98 43 ff <0f> 0b e8 41 98 43 ff 0f 0b e8 3a 98 43 ff 48 8b 74 24 60 4c 89 
RIP: ntfs_lookup_inode_by_name+0xca8/0x3820 fs/ntfs/dir.c:99 RSP: ffff88808d0a7988
---[ end trace b096654a7d9c01bd ]---

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/12/25 11:37 linux-4.14.y c4215ee4771b 9da18ae8 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-4-14 kernel BUG in ntfs_lookup_inode_by_name
2022/06/07 08:28 linux-4.14.y b8f3be299d51 c8857892 .config console log report syz C ci2-linux-4-14 kernel BUG in ntfs_lookup_inode_by_name
* Struck through repros no longer work on HEAD.