syzbot


kernel BUG in ntfs_lookup_inode_by_name

Status: auto-obsoleted due to no activity on 2024/04/24 13:28
Subsystems: ntfs3
[Documentation on labels]
Reported-by: syzbot+d532380eef771ac0034b@syzkaller.appspotmail.com
First crash: 669d, last: 124d
Cause bisection: the issue happens on the oldest tested release (bisect log)
Crash: kernel BUG in ntfs_lookup_inode_by_name (log)
Repro: C syz .config
  
Fix bisection the fix commit could be any of (bisect log):
  3245cb65fd91 Merge tag 'devicetree-fixes-for-6.0-2' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux
  9abf2313adc1 Linux 6.1-rc1
  
Discussions (7)
Title Replies (including bot) Last reply
[syzbot] Monthly ntfs report (Jan 2024) 0 (1) 2024/01/09 18:20
[syzbot] Monthly ntfs report (Dec 2023) 0 (1) 2023/12/06 10:05
[syzbot] Monthly ntfs report (Oct 2023) 0 (1) 2023/10/04 13:13
[syzbot] Monthly ntfs report (Sep 2023) 0 (1) 2023/09/04 08:31
[syzbot] Monthly ntfs report (Aug 2023) 0 (1) 2023/08/03 07:02
[syzbot] Monthly ntfs report 0 (1) 2023/03/31 15:00
[syzbot] kernel BUG in ntfs_lookup_inode_by_name 0 (1) 2022/07/24 08:53
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 missing-backport C error 10 28d 302d 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 513d 712d 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 missing-backport C 10 17d 303d 0/3 upstream: reported C repro on 2023/07/21 09:46
linux-4.14 kernel BUG in ntfs_lookup_inode_by_name ntfs C error 2 510d 712d 0/1 upstream: reported C repro on 2022/06/07 08:28
Last patch testing requests (10)
Created Duration User Patch Repo Result
2024/03/09 04:37 20m retest repro upstream OK log
2024/02/23 15:29 22m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci OK log
2024/02/23 15:29 22m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci OK log
2024/02/23 14:41 21m retest repro upstream OK log
2024/02/23 14:41 22m retest repro upstream OK log
2024/02/23 14:00 23m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci OK log
2024/02/05 18:47 17m retest repro upstream OK log
2024/02/05 18:47 17m retest repro upstream OK log
2024/02/05 18:47 16m retest repro upstream OK log
2024/02/05 18:47 17m retest repro upstream OK log
Fix bisection attempts (2)
Created Duration User Patch Repo Result
2022/10/17 09:22 31m bisect fix upstream job log (2)
2022/08/22 23:48 20m bisect fix upstream job log (0) log

Sample crash report:
ntfs: (device loop0): ntfs_read_block(): Failed to read from inode 0xa, attribute type 0x80, vcn 0x0, offset 0x200 because its location on disk could not be determined even after retrying (error code -5).
ntfs: (device loop0): ntfs_mapping_pairs_decompress(): Corrupt attribute.
ntfs: (device loop0): ntfs_read_block(): Failed to read from inode 0xa, attribute type 0x80, vcn 0x1, offset 0x0 because its location on disk could not be determined even after retrying (error code -5).
ntfs: (device loop0): ntfs_mapping_pairs_decompress(): Corrupt attribute.
ntfs: volume version 3.1.
------------[ cut here ]------------
kernel BUG at fs/ntfs/dir.c:86!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 5056 Comm: syz-executor407 Not tainted 6.7.0-rc8-syzkaller-00130-g6d0dc8559c84 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
RIP: 0010:ntfs_lookup_inode_by_name+0x2c93/0x2ca0 fs/ntfs/dir.c:86
Code: 89 d1 80 e1 07 38 c1 0f 8c 8a fa ff ff be 08 00 00 00 48 8b 3c 24 e8 8c da 1d ff 48 8b 14 24 e9 73 fa ff ff e8 be d4 c1 fe 90 <0f> 0b e8 b6 d4 c1 fe 90 0f 0b 0f 1f 00 55 41 57 41 56 53 49 89 fe
RSP: 0018:ffffc90003ba7790 EFLAGS: 00010293
RAX: ffffffff82cca532 RBX: 0000000000000000 RCX: ffff888019aa0000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000004000
RBP: ffffc90003ba7970 R08: ffffffff82cc794b R09: 1ffff1100ee4a8c1
R10: dffffc0000000000 R11: ffffed100ee4a8c2 R12: ffff888077254200
R13: ffff888019ac8000 R14: dffffc0000000000 R15: ffff88802aa67800
FS:  0000555556712380(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000005fdeb8 CR3: 000000007515a000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 check_windows_hibernation_status+0xf0/0x4c0 fs/ntfs/super.c:1282
 load_system_files+0x35db/0x4840 fs/ntfs/super.c:1997
 ntfs_fill_super+0x19b3/0x2bd0 fs/ntfs/super.c:2900
 mount_bdev+0x237/0x300 fs/super.c:1650
 legacy_get_tree+0xef/0x190 fs/fs_context.c:662
 vfs_get_tree+0x8c/0x2a0 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:52 [inline]
 do_syscall_64+0x45/0x110 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x63/0x6b
RIP: 0033:0x7f2cf184ccfa
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:00007ffc6d3f2868 EFLAGS: 00000286 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007ffc6d3f2880 RCX: 00007f2cf184ccfa
RDX: 0000000020000040 RSI: 000000002001ecc0 RDI: 00007ffc6d3f2880
RBP: 0000000000000004 R08: 00007ffc6d3f28c0 R09: 000000000001ec65
R10: 0000000000000000 R11: 0000000000000286 R12: 0000000000000000
R13: 00007ffc6d3f28c0 R14: 0000000000000003 R15: 0000000000200000
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:ntfs_lookup_inode_by_name+0x2c93/0x2ca0 fs/ntfs/dir.c:86
Code: 89 d1 80 e1 07 38 c1 0f 8c 8a fa ff ff be 08 00 00 00 48 8b 3c 24 e8 8c da 1d ff 48 8b 14 24 e9 73 fa ff ff e8 be d4 c1 fe 90 <0f> 0b e8 b6 d4 c1 fe 90 0f 0b 0f 1f 00 55 41 57 41 56 53 49 89 fe
RSP: 0018:ffffc90003ba7790 EFLAGS: 00010293
RAX: ffffffff82cca532 RBX: 0000000000000000 RCX: ffff888019aa0000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000004000
RBP: ffffc90003ba7970 R08: ffffffff82cc794b R09: 1ffff1100ee4a8c1
R10: dffffc0000000000 R11: ffffed100ee4a8c2 R12: ffff888077254200
R13: ffff888019ac8000 R14: dffffc0000000000 R15: ffff88802aa67800
FS:  0000555556712380(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffdd0061b68 CR3: 000000007515a000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (42):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/01/06 07:45 upstream 6d0dc8559c84 d0304e9c .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-smack-root kernel BUG in ntfs_lookup_inode_by_name
2024/01/06 07:13 upstream 6d0dc8559c84 d0304e9c .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-smack-root kernel BUG in ntfs_lookup_inode_by_name
2023/09/16 17:50 upstream 57d88e8a5974 0b6a67ac .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-root kernel BUG in ntfs_lookup_inode_by_name
2023/09/13 14:38 upstream 3669558bdf35 0b6a67ac .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-root kernel BUG in ntfs_lookup_inode_by_name
2023/09/13 14:07 upstream 3669558bdf35 0b6a67ac .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-root kernel BUG in ntfs_lookup_inode_by_name
2023/08/18 05:12 upstream 16931859a650 74b106b6 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-badwrites-root kernel BUG in ntfs_lookup_inode_by_name
2023/08/18 04:36 upstream 16931859a650 74b106b6 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-badwrites-root kernel BUG in ntfs_lookup_inode_by_name
2023/07/23 20:57 upstream c2782531397f 27cbe77f .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs kernel BUG in ntfs_lookup_inode_by_name
2023/07/23 15:54 upstream c2782531397f 27cbe77f .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs kernel BUG in ntfs_lookup_inode_by_name
2023/07/23 15:33 upstream c2782531397f 27cbe77f .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs kernel BUG in ntfs_lookup_inode_by_name
2023/07/20 15:03 upstream bfa3037d8280 7b630fdb .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-selinux-root kernel BUG in ntfs_lookup_inode_by_name
2023/06/02 23:05 upstream c43a6ff9f93f a4ae4f42 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-smack-root kernel BUG in ntfs_lookup_inode_by_name
2022/12/17 18:07 upstream 77856d911a8c 05494336 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs kernel BUG in ntfs_lookup_inode_by_name
2022/09/15 02:55 upstream 3245cb65fd91 b884348d .config strace log report syz C [disk image] [vmlinux] ci-upstream-kasan-gce-smack-root kernel BUG in ntfs_lookup_inode_by_name
2022/07/20 08:51 upstream ca85855bdcae 775344bc .config strace log report syz C ci-upstream-kasan-gce-root kernel BUG in ntfs_lookup_inode_by_name
2023/11/12 16:52 linux-next e27090b1413f 6d6dbf8a .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-linux-next-kasan-gce-root kernel BUG in ntfs_lookup_inode_by_name
2023/11/12 16:20 linux-next e27090b1413f 6d6dbf8a .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-linux-next-kasan-gce-root kernel BUG in ntfs_lookup_inode_by_name
2023/08/06 17:30 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 86d7896480b0 4ffcc9ef .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-gce-arm64 kernel BUG in ntfs_lookup_inode_by_name
2023/07/26 14:53 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci e40939bbfc68 6756545c .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-gce-arm64 kernel BUG in ntfs_lookup_inode_by_name
2023/07/26 14:28 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci e40939bbfc68 6756545c .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-gce-arm64 kernel BUG in ntfs_lookup_inode_by_name
2022/12/17 22:24 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a5541c0811a0 05494336 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-gce-arm64 kernel BUG in ntfs_lookup_inode_by_name
2024/01/15 13:27 upstream 052d534373b7 551587c1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in ntfs_lookup_inode_by_name
2023/12/01 08:39 upstream e8f60209d6cf f819d6f7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in ntfs_lookup_inode_by_name
2023/08/30 07:14 upstream bd6c11bc43c4 b42ca3a7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root kernel BUG in ntfs_lookup_inode_by_name
2023/08/29 19:55 upstream 1c59d383390f 7ba13a15 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root kernel BUG in ntfs_lookup_inode_by_name
2023/08/29 19:53 upstream 1c59d383390f 7ba13a15 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root kernel BUG in ntfs_lookup_inode_by_name
2023/08/28 08:09 upstream 85eb043618bb 7ba13a15 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream kernel BUG in ntfs_lookup_inode_by_name
2023/07/21 20:45 upstream f7e3a1bafdea 28847498 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root kernel BUG in ntfs_lookup_inode_by_name
2023/07/21 19:05 upstream f7e3a1bafdea 28847498 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root kernel BUG in ntfs_lookup_inode_by_name
2023/07/21 18:03 upstream f7e3a1bafdea 28847498 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root kernel BUG in ntfs_lookup_inode_by_name
2023/07/21 18:03 upstream f7e3a1bafdea abdf9bae .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in ntfs_lookup_inode_by_name
2023/07/21 18:00 upstream f7e3a1bafdea e2c3b400 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream kernel BUG in ntfs_lookup_inode_by_name
2023/07/21 10:29 upstream 57f1f9dd3abe 28847498 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root kernel BUG in ntfs_lookup_inode_by_name
2023/07/21 09:51 upstream 57f1f9dd3abe 28847498 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root kernel BUG in ntfs_lookup_inode_by_name
2023/07/21 09:43 upstream 57f1f9dd3abe 28847498 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in ntfs_lookup_inode_by_name
2023/07/21 09:36 upstream 46670259519f 28847498 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root kernel BUG in ntfs_lookup_inode_by_name
2023/08/29 20:59 upstream 1c59d383390f ce731e62 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 kernel BUG in ntfs_lookup_inode_by_name
2023/07/21 17:56 upstream f7e3a1bafdea e2c3b400 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 kernel BUG in ntfs_lookup_inode_by_name
2023/07/21 17:59 linux-next ae867bc97b71 28847498 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in ntfs_lookup_inode_by_name
2023/07/21 09:43 linux-next ae867bc97b71 28847498 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in ntfs_lookup_inode_by_name
2023/08/29 20:03 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci fe4469582053 7ba13a15 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 kernel BUG in ntfs_lookup_inode_by_name
2023/07/21 09:39 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci e40939bbfc68 28847498 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 kernel BUG in ntfs_lookup_inode_by_name
* Struck through repros no longer work on HEAD.