syzbot


WARNING: locking bug in evict (2)

Status: auto-obsoleted due to no activity on 2024/12/03 16:51
Subsystems: ntfs3
[Documentation on labels]
Reported-by: syzbot+1b5e257b523f3e0be7d2@syzkaller.appspotmail.com
First crash: 150d, last: 118d
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 evict (2) 0 (1) 2024/07/29 06:25
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 WARNING: locking bug in evict (2) 1 7d09h 7d09h 0/3 upstream: reported on 2024/12/14 21:43
upstream WARNING: locking bug in evict ntfs3 syz 6 610d 803d 0/28 auto-obsoleted due to no activity on 2023/08/19 17:29
linux-6.1 WARNING: locking bug in evict origin:upstream syz 1 191d 245d 0/3 auto-obsoleted due to no activity on 2024/09/21 19:32
Last patch testing requests (1)
Created Duration User Patch Repo Result
2024/08/08 06:55 17m retest repro upstream OK log

Sample crash report:
loop1: detected capacity change from 0 to 4096
ntfs3: loop1: Different NTFS sector size (2048) and media sector size (512).
------------[ cut here ]------------
DEBUG_LOCKS_WARN_ON(1)
WARNING: CPU: 0 PID: 7765 at kernel/locking/lockdep.c:231 hlock_class kernel/locking/lockdep.c:231 [inline]
WARNING: CPU: 0 PID: 7765 at kernel/locking/lockdep.c:231 check_wait_context kernel/locking/lockdep.c:4772 [inline]
WARNING: CPU: 0 PID: 7765 at kernel/locking/lockdep.c:231 __lock_acquire+0x58c/0x2040 kernel/locking/lockdep.c:5092
Modules linked in:
CPU: 0 UID: 0 PID: 7765 Comm: syz.1.937 Not tainted 6.11.0-rc5-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024
RIP: 0010:hlock_class kernel/locking/lockdep.c:231 [inline]
RIP: 0010:check_wait_context kernel/locking/lockdep.c:4772 [inline]
RIP: 0010:__lock_acquire+0x58c/0x2040 kernel/locking/lockdep.c:5092
Code: 00 00 83 3d a5 4e a8 0e 00 75 23 90 48 c7 c7 e0 d3 0a 8c 48 c7 c6 80 d6 0a 8c e8 7f d8 e5 ff 48 ba 00 00 00 00 00 fc ff df 90 <0f> 0b 90 90 90 31 db 48 81 c3 c4 00 00 00 48 89 d8 48 c1 e8 03 0f
RSP: 0018:ffffc900031c7570 EFLAGS: 00010046
RAX: c550e7569a858700 RBX: 0000000000000fcf RCX: 0000000000040000
RDX: dffffc0000000000 RSI: 000000000001d93b RDI: 000000000001d93c
RBP: 0000000000000005 R08: ffffffff8155b4d2 R09: fffffbfff1cfa0e0
R10: dffffc0000000000 R11: fffffbfff1cfa0e0 R12: ffff8880223e3c00
R13: 0000000000000fcf R14: 1ffff1100447c8e5 R15: ffff8880223e4728
FS:  00007fc67196f6c0(0000) GS:ffff8880b9200000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055557b670588 CR3: 000000002e25a000 CR4: 0000000000350ef0
Call Trace:
 <TASK>
 lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5759
 __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]
 inode_wait_for_lru_isolating fs/inode.c:510 [inline]
 evict+0x308/0x950 fs/inode.c:693
 ntfs_fill_super+0x3e27/0x4730 fs/ntfs3/super.c:1467
 get_tree_bdev+0x3f9/0x570 fs/super.c:1635
 vfs_get_tree+0x92/0x2b0 fs/super.c:1800
 do_new_mount+0x2be/0xb40 fs/namespace.c:3472
 do_mount fs/namespace.c:3812 [inline]
 __do_sys_mount fs/namespace.c:4020 [inline]
 __se_sys_mount+0x2d6/0x3c0 fs/namespace.c:3997
 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:0x7fc670b7b61a
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:00007fc67196ee68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007fc67196eef0 RCX: 00007fc670b7b61a
RDX: 00000000200000c0 RSI: 000000002001f3c0 RDI: 00007fc67196eeb0
RBP: 00000000200000c0 R08: 00007fc67196eef0 R09: 0000000000008808
R10: 0000000000008808 R11: 0000000000000246 R12: 000000002001f3c0
R13: 00007fc67196eeb0 R14: 000000000001f3c9 R15: 0000000020000100
 </TASK>

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/08/25 16:50 upstream 5be63fc19fca d7d32352 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING: locking bug in evict
2024/07/25 06:23 upstream d1e9a63dcd72 d1a1b0ca .config console log report syz / log [disk image] [vmlinux] [kernel image] [mounted in repro #1] [mounted in repro #2] ci2-upstream-fs WARNING: locking bug in evict
2024/08/21 06:00 linux-next eb8c5ca373cb 9f0ab3fb .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING: locking bug in evict
* Struck through repros no longer work on HEAD.