syzbot


WARNING in map_mft_record

Status: auto-obsoleted due to no activity on 2023/08/09 21:24
Subsystems: fs
[Documentation on labels]
Reported-by: syzbot+1a30e391e6703aa6a5a6@syzkaller.appspotmail.com
First crash: 484d, last: 342d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] WARNING in map_mft_record 0 (1) 2022/11/24 18:24

Sample crash report:
loop2: detected capacity change from 0 to 4096
------------[ cut here ]------------
DEBUG_LOCKS_WARN_ON(lock->magic != lock)
WARNING: CPU: 0 PID: 9625 at kernel/locking/mutex.c:582 __mutex_lock_common+0x1a3e/0x2530 kernel/locking/mutex.c:582
Modules linked in:
CPU: 0 PID: 9625 Comm: syz-executor.2 Not tainted 6.3.0-rc6-syzkaller-00034-ge62252bc55b6 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/30/2023
RIP: 0010:__mutex_lock_common+0x1a3e/0x2530 kernel/locking/mutex.c:582
Code: 04 28 84 c0 0f 85 82 08 00 00 83 3d d3 37 ac 03 00 0f 85 00 e7 ff ff 48 c7 c7 e0 68 ea 8a 48 c7 c6 80 69 ea 8a e8 92 38 ab f6 <0f> 0b e9 e6 e6 ff ff e8 86 4f 59 f6 e9 59 fb ff ff 0f 0b e9 bd f0
RSP: 0018:ffffc900153777c0 EFLAGS: 00010246
RAX: 750d33d490fffe00 RBX: 0000000000000000 RCX: 0000000000040000
RDX: ffffc9000c0e8000 RSI: 00000000000150aa RDI: 00000000000150ab
RBP: ffffc90015377938 R08: ffffffff81528012 R09: ffffed101730515b
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000
R13: dffffc0000000000 R14: 0000000000000000 R15: 0000000000000000
FS:  00007ff7649fe700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffa1a986058 CR3: 0000000151ca7000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 __mutex_lock kernel/locking/mutex.c:747 [inline]
 mutex_lock_nested+0x1b/0x20 kernel/locking/mutex.c:799
 map_mft_record+0x4c/0x630 fs/ntfs/mft.c:154
 load_system_files+0x25bf/0x4840 fs/ntfs/super.c:1863
 ntfs_fill_super+0x19b4/0x2bd0 fs/ntfs/super.c:2900
 mount_bdev+0x271/0x3a0 fs/super.c:1380
 legacy_get_tree+0xef/0x190 fs/fs_context.c:610
 vfs_get_tree+0x8c/0x270 fs/super.c:1510
 do_new_mount+0x28f/0xae0 fs/namespace.c:3042
 do_mount fs/namespace.c:3385 [inline]
 __do_sys_mount fs/namespace.c:3594 [inline]
 __se_sys_mount+0x2d9/0x3c0 fs/namespace.c:3571
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7ff765e8d69a
Code: 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 b8 ff ff ff ff eb d2 e8 b8 04 00 00 0f 1f 84 00 00 00 00 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:00007ff7649fdf88 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 000000000001ee23 RCX: 00007ff765e8d69a
RDX: 0000000020000000 RSI: 000000002001ee80 RDI: 00007ff7649fdfe0
RBP: 00007ff7649fe020 R08: 00007ff7649fe020 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000202 R12: 0000000020000000
R13: 000000002001ee80 R14: 00007ff7649fdfe0 R15: 00000000200002c0
 </TASK>

Crashes (5):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/04/11 21:24 upstream e62252bc55b6 49faf98d .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in map_mft_record
2023/01/28 16:01 upstream 5af6ce704936 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in map_mft_record
2022/12/05 02:20 upstream c2bf05db6c78 e080de16 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in map_mft_record
2022/11/29 10:01 upstream ca57f02295f1 ca9683b8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in map_mft_record
2022/11/20 18:12 upstream 77c51ba552a1 5bb70014 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in map_mft_record
* Struck through repros no longer work on HEAD.