syzbot


WARNING: locking bug in ntfs_fill_super (2)

Status: upstream: reported syz repro on 2024/10/24 18:52
Subsystems: ntfs3
[Documentation on labels]
Reported-by: syzbot+b856fe782caf1f85be6e@syzkaller.appspotmail.com
First crash: 164d, last: 36d
Cause bisection: failed (error log, bisect log)
  
Fix bisection: failed (error log, bisect log)
  
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [ntfs3?] WARNING: locking bug in ntfs_fill_super (2) 0 (2) 2024/11/26 03:04
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 WARNING: locking bug in ntfs_fill_super 2 260d 300d 0/3 auto-obsoleted due to no activity on 2024/10/24 21:48
upstream WARNING: locking bug in ntfs_fill_super ntfs3 C 5 642d 910d 0/28 auto-obsoleted due to no activity on 2023/11/12 18:09
linux-6.1 WARNING: locking bug in ntfs_fill_super (2) 2 42d 78d 0/3 upstream: reported on 2025/01/14 14:50
Last patch testing requests (6)
Created Duration User Patch Repo Result
2025/03/11 08:37 10m retest repro linux-next error
2025/03/11 06:39 28m retest repro upstream OK log
2025/02/01 23:14 18m retest repro upstream report log
2024/12/28 18:53 20m retest repro upstream OK log
2024/12/26 02:09 22m retest repro linux-next report log
2024/12/26 01:11 29m retest repro upstream report log

Sample crash report:
loop0: detected capacity change from 0 to 4096
------------[ cut here ]------------
DEBUG_LOCKS_WARN_ON(1)
WARNING: CPU: 1 PID: 7402 at kernel/locking/lockdep.c:232 hlock_class kernel/locking/lockdep.c:232 [inline]
WARNING: CPU: 1 PID: 7402 at kernel/locking/lockdep.c:232 __lock_acquire+0x135a/0x2100 kernel/locking/lockdep.c:5223
Modules linked in:
CPU: 1 UID: 0 PID: 7402 Comm: syz.0.714 Not tainted 6.13.0-rc7-syzkaller-00043-g619f0b6fad52 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024
RIP: 0010:hlock_class kernel/locking/lockdep.c:232 [inline]
RIP: 0010:__lock_acquire+0x135a/0x2100 kernel/locking/lockdep.c:5223
Code: 00 00 83 3d cb c2 9d 0e 00 75 23 90 48 c7 c7 80 97 0a 8c 48 c7 c6 80 9a 0a 8c e8 41 4e e5 ff 48 ba 00 00 00 00 00 fc ff df 90 <0f> 0b 90 90 90 31 db 48 83 c3 40 48 89 d8 48 c1 e8 03 80 3c 10 00
RSP: 0018:ffffc9000c877650 EFLAGS: 00010046
RAX: fb0f5b03fd7e8000 RBX: 0000000000001300 RCX: ffff88802ad39e00
RDX: dffffc0000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 277446831ac5ea6f R08: ffffffff816019e2 R09: 1ffff110170e519a
R10: dffffc0000000000 R11: ffffed10170e519b R12: ffff88802ad39e00
R13: ffff88802ad39e00 R14: 1ffff110055a7525 R15: 0000000000000001
FS:  00007fcfbc9fe6c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000555594d57808 CR3: 000000002a870000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5849
 __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline]
 _raw_spin_lock+0x2e/0x40 kernel/locking/spinlock.c:154
 spin_lock include/linux/spinlock.h:351 [inline]
 iput_final fs/inode.c:1935 [inline]
 iput+0x615/0xa50 fs/inode.c:1972
 ntfs_fill_super+0x3e27/0x4730 fs/ntfs3/super.c:1472
 get_tree_bdev_flags+0x48c/0x5c0 fs/super.c:1636
 vfs_get_tree+0x90/0x2b0 fs/super.c:1814
 do_new_mount+0x2be/0xb40 fs/namespace.c:3511
 do_mount fs/namespace.c:3851 [inline]
 __do_sys_mount fs/namespace.c:4061 [inline]
 __se_sys_mount+0x2d6/0x3c0 fs/namespace.c:4038
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fcfbd7874ca
Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 1a 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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fcfbc9fde68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007fcfbc9fdef0 RCX: 00007fcfbd7874ca
RDX: 0000000020000080 RSI: 000000002001f740 RDI: 00007fcfbc9fdeb0
RBP: 0000000020000080 R08: 00007fcfbc9fdef0 R09: 0000000000000010
R10: 0000000000000010 R11: 0000000000000246 R12: 000000002001f740
R13: 00007fcfbc9fdeb0 R14: 000000000001f752 R15: 0000000020000000
 </TASK>

Crashes (13):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/01/16 00:55 upstream 619f0b6fad52 968edaf4 .config console log report syz / log [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs WARNING: locking bug in ntfs_fill_super
2024/11/26 03:04 linux-next 85a2dd7d7c81 a84878fc .config console log report syz / log [disk image] [vmlinux] [kernel image] [mounted in repro #1] [mounted in repro #2] ci-upstream-linux-next-kasan-gce-root WARNING: locking bug in ntfs_fill_super
2025/02/25 06:33 upstream d082ecbc71e9 d34966d1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING: locking bug in ntfs_fill_super
2025/02/21 03:48 upstream e9a8cac0bf89 0808a665 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING: locking bug in ntfs_fill_super
2025/02/02 10:03 upstream 69b8923f5003 568559e4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING: locking bug in ntfs_fill_super
2025/01/18 23:02 upstream fda5e3f28400 f2cb035c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING: locking bug in ntfs_fill_super
2025/01/01 04:43 upstream ccb98ccef0e5 d3ccff63 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING: locking bug in ntfs_fill_super
2024/12/12 00:47 upstream 231825b2e1ff ff949d25 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING: locking bug in ntfs_fill_super
2024/12/09 02:34 upstream 62b5a46999c7 9ac0fdc6 .config console log report syz / log [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-root WARNING: locking bug in ntfs_fill_super
2024/12/08 20:54 upstream 62b5a46999c7 9ac0fdc6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING: locking bug in ntfs_fill_super
2024/12/05 23:33 upstream 5076001689e4 29f61fce .config console log report syz / log [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs WARNING: locking bug in ntfs_fill_super
2024/11/20 00:38 upstream 158f238aa69d 7d02db5a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING: locking bug in ntfs_fill_super
2024/10/20 18:43 upstream 715ca9dd687f cd6fc0a3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING: locking bug in ntfs_fill_super
* Struck through repros no longer work on HEAD.