syzbot


kernel BUG in ntfs_prepare_pages_for_non_resident_write

Status: auto-obsoleted due to no activity on 2023/02/08 15:18
Subsystems: fs
[Documentation on labels]
Reported-by: syzbot+64f73ab552d413b202e2@syzkaller.appspotmail.com
First crash: 561d, last: 561d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] kernel BUG in ntfs_prepare_pages_for_non_resident_write 0 (1) 2022/10/12 06:44
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream kernel BUG in ntfs_prepare_pages_for_non_resident_write (2) fs 1 183d 179d 0/26 auto-obsoleted due to no activity on 2024/02/01 16:12

Sample crash report:
------------[ cut here ]------------
kernel BUG at fs/ntfs/file.c:951!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 26428 Comm: syz-executor.4 Not tainted 6.0.0-syzkaller-09423-g493ffd6605b2 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022
RIP: 0010:ntfs_prepare_pages_for_non_resident_write+0x72c1/0x7700 fs/ntfs/file.c:951
Code: 8a e8 23 5b 08 ff 0f 0b e8 dc 44 cc fe 0f 0b e8 d5 44 cc fe 4c 89 f7 48 c7 c6 c0 66 c5 8a e8 06 5b 08 ff 0f 0b e8 bf 44 cc fe <0f> 0b e8 b8 44 cc fe 0f 0b 83 fb e4 0f 85 1f 04 00 00 e8 a8 44 cc
RSP: 0018:ffffc900047ff680 EFLAGS: 00010293
RAX: ffffffff82ba3c91 RBX: 0000000000001000 RCX: ffff888022639d80
RDX: 0000000000000000 RSI: 0000000000001000 RDI: 0000000000001000
RBP: ffffc900047ff970 R08: ffffffff82b9eb44 R09: ffffffff82b9eab1
R10: 0000000000000002 R11: ffff888022639d80 R12: ffff88807cbcf830
R13: 0000000000000000 R14: 1ffff1100f979f06 R15: ffff88807f537a28
FS:  00007f829496f700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f829492cfc0 CR3: 0000000072b4c000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 ntfs_perform_write fs/ntfs/file.c:1844 [inline]
 ntfs_file_write_iter+0x1938/0x2d40 fs/ntfs/file.c:1917
 do_iter_write+0x6c2/0xc20 fs/read_write.c:861
 vfs_writev fs/read_write.c:934 [inline]
 do_pwritev+0x200/0x350 fs/read_write.c:1031
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f829388b5a9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 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:00007f829496f168 EFLAGS: 00000246 ORIG_RAX: 0000000000000148
RAX: ffffffffffffffda RBX: 00007f82939ac050 RCX: 00007f829388b5a9
RDX: 0000000000000001 RSI: 0000000020003380 RDI: 0000000000000003
RBP: 00007f82938e6580 R08: 0000000000000000 R09: 0000000000000003
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffc7b4af7cf R14: 00007f829496f300 R15: 0000000000022000
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:ntfs_prepare_pages_for_non_resident_write+0x72c1/0x7700 fs/ntfs/file.c:951
Code: 8a e8 23 5b 08 ff 0f 0b e8 dc 44 cc fe 0f 0b e8 d5 44 cc fe 4c 89 f7 48 c7 c6 c0 66 c5 8a e8 06 5b 08 ff 0f 0b e8 bf 44 cc fe <0f> 0b e8 b8 44 cc fe 0f 0b 83 fb e4 0f 85 1f 04 00 00 e8 a8 44 cc
RSP: 0018:ffffc900047ff680 EFLAGS: 00010293
RAX: ffffffff82ba3c91 RBX: 0000000000001000 RCX: ffff888022639d80
RDX: 0000000000000000 RSI: 0000000000001000 RDI: 0000000000001000
RBP: ffffc900047ff970 R08: ffffffff82b9eb44 R09: ffffffff82b9eab1
R10: 0000000000000002 R11: ffff888022639d80 R12: ffff88807cbcf830
R13: 0000000000000000 R14: 1ffff1100f979f06 R15: ffff88807f537a28
FS:  00007f829496f700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fbfa8981998 CR3: 0000000072b4c000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/10/11 15:18 upstream 493ffd6605b2 5bcf0c31 .config console log report info [disk image] [vmlinux] ci2-upstream-fs kernel BUG in ntfs_prepare_pages_for_non_resident_write
* Struck through repros no longer work on HEAD.