syzbot


WARNING: locking bug in ntfs_fill_super

Status: auto-obsoleted due to no activity on 2024/10/24 21:48
Reported-by: syzbot+e166a73843e87a9e15eb@syzkaller.appspotmail.com
First crash: 179d, last: 139d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING: locking bug in ntfs_fill_super (2) ntfs3 syz 3 6d23h 39d 0/28 upstream: reported syz repro on 2024/10/24 18:52
upstream WARNING: locking bug in ntfs_fill_super ntfs3 C 5 521d 789d 0/28 auto-obsoleted due to no activity on 2023/11/12 18:09

Sample crash report:
loop3: detected capacity change from 0 to 4096
------------[ cut here ]------------
DEBUG_LOCKS_WARN_ON(1)
WARNING: CPU: 0 PID: 6858 at kernel/locking/lockdep.c:232 __lock_acquire+0x138b/0x1f80 kernel/locking/lockdep.c:5045
Modules linked in:
CPU: 0 PID: 6858 Comm: syz.3.812 Not tainted 6.1.99-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024
RIP: 0010:hlock_class kernel/locking/lockdep.c:232 [inline]
RIP: 0010:__lock_acquire+0x138b/0x1f80 kernel/locking/lockdep.c:5045
Code: 83 3d 10 33 09 0d 00 0f 85 00 fe ff ff 48 c7 c7 e0 00 ec 8a 48 c7 c6 80 03 ec 8a e8 af 0d e8 ff 48 bf 00 00 00 00 00 fc ff df <0f> 0b e9 dc fd ff ff 49 89 d6 48 c7 c7 e0 08 ec 8a e8 0f b3 1e 09
RSP: 0018:ffffc900034e7800 EFLAGS: 00010046
RAX: fd766253f4c52d00 RBX: 0000000000000d00 RCX: 0000000000040000
RDX: ffffc9000f005000 RSI: 00000000000083ff RDI: dffffc0000000000
RBP: 38fe45726b6a9b9c R08: ffffffff8152936e R09: fffff5200069ce61
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88801e2a6418
R13: ffff88801e2a5940 R14: 0000000000000000 R15: 1ffff11003c54c8d
FS:  00007f3f3e9236c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000110c2ea732 CR3: 000000006198e000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 lock_acquire+0x1f8/0x5a0 kernel/locking/lockdep.c:5662
 __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline]
 _raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:154
 spin_lock include/linux/spinlock.h:351 [inline]
 iput_final fs/inode.c:1780 [inline]
 iput+0x61e/0x980 fs/inode.c:1817
 ntfs_fill_super+0x3c05/0x4410 fs/ntfs3/super.c:1190
 get_tree_bdev+0x3fe/0x620 fs/super.c:1355
 vfs_get_tree+0x88/0x270 fs/super.c:1562
 do_new_mount+0x2ba/0xb40 fs/namespace.c:3051
 do_mount fs/namespace.c:3394 [inline]
 __do_sys_mount fs/namespace.c:3602 [inline]
 __se_sys_mount+0x2d5/0x3c0 fs/namespace.c:3579
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f3f3db772da
Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 7e 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:00007f3f3e922e78 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f3f3e922f00 RCX: 00007f3f3db772da
RDX: 0000000020000080 RSI: 000000002001f740 RDI: 00007f3f3e922ec0
RBP: 0000000020000080 R08: 00007f3f3e922f00 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000202 R12: 000000002001f740
R13: 00007f3f3e922ec0 R14: 000000000001f727 R15: 00000000200005c0
 </TASK>

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/07/16 21:48 linux-6.1.y cac15753b8ce b66b37bd .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ntfs_fill_super
2024/06/06 09:09 linux-6.1.y 88690811da69 121701b6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ntfs_fill_super
* Struck through repros no longer work on HEAD.