syzbot


kernel BUG in ntfs_prepare_pages_for_non_resident_write (2)

Status: auto-obsoleted due to no activity on 2024/02/01 16:12
Subsystems: fs
[Documentation on labels]
Reported-by: syzbot+05958f1fac9df0497492@syzkaller.appspotmail.com
First crash: 193d, last: 193d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [ntfs?] kernel BUG in ntfs_prepare_pages_for_non_resident_write (2) 0 (1) 2023/10/28 16:16
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 fs 1 571d 570d 0/26 auto-obsoleted due to no activity on 2023/02/08 15:18

Sample crash report:
------------[ cut here ]------------
kernel BUG at fs/ntfs/file.c:951!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 23700 Comm: syz-executor.4 Not tainted 6.6.0-rc7-syzkaller-00018-gd88520ad73b7 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023
RIP: 0010:ntfs_prepare_pages_for_non_resident_write+0x42fd/0x5b90 fs/ntfs/file.c:951
Code: 85 12 02 00 00 48 8b 44 24 08 bf ff 0f 00 00 8b 58 2c 89 de e8 54 22 cf fe 81 fb ff 0f 00 00 0f 86 1a e5 ff ff e8 d3 26 cf fe <0f> 0b e8 cc 26 cf fe 0f b6 9c 24 50 01 00 00 31 ff 89 de e8 eb 21
RSP: 0018:ffffc9000356f878 EFLAGS: 00010246
RAX: 0000000000040000 RBX: fffffffffffffffd RCX: ffffc9000bff3000
RDX: 0000000000040000 RSI: ffffffff82b8b35d RDI: 0000000000000007
RBP: 0000000000000101 R08: 0000000000000007 R09: ffffffffffffffff
R10: fffffffffffffffd R11: ffffffff81dd8d15 R12: ffff88806a284018
R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000040000
FS:  00007ff492baa6c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2fd34000 CR3: 0000000079e0c000 CR4: 0000000000350ef0
Call Trace:
 <TASK>
 ntfs_perform_write.isra.0+0x63c/0x3170 fs/ntfs/file.c:1844
 ntfs_file_write_iter+0xbff/0x1e00 fs/ntfs/file.c:1916
 call_write_iter include/linux/fs.h:1956 [inline]
 new_sync_write fs/read_write.c:491 [inline]
 vfs_write+0x650/0xe40 fs/read_write.c:584
 ksys_write+0x12f/0x250 fs/read_write.c:637
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7ff491e7cae9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ff492baa0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007ff491f9c120 RCX: 00007ff491e7cae9
RDX: 000000000000000b RSI: 00000000200007c0 RDI: 0000000000000004
RBP: 00007ff491ec847a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000006e R14: 00007ff491f9c120 R15: 00007ffd5eee77b8
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:ntfs_prepare_pages_for_non_resident_write+0x42fd/0x5b90 fs/ntfs/file.c:951
Code: 85 12 02 00 00 48 8b 44 24 08 bf ff 0f 00 00 8b 58 2c 89 de e8 54 22 cf fe 81 fb ff 0f 00 00 0f 86 1a e5 ff ff e8 d3 26 cf fe <0f> 0b e8 cc 26 cf fe 0f b6 9c 24 50 01 00 00 31 ff 89 de e8 eb 21
RSP: 0018:ffffc9000356f878 EFLAGS: 00010246
RAX: 0000000000040000 RBX: fffffffffffffffd RCX: ffffc9000bff3000
RDX: 0000000000040000 RSI: ffffffff82b8b35d RDI: 0000000000000007
RBP: 0000000000000101 R08: 0000000000000007 R09: ffffffffffffffff
R10: fffffffffffffffd R11: ffffffff81dd8d15 R12: ffff88806a284018
R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000040000
FS:  00007ff492baa6c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020821000 CR3: 0000000079e0c000 CR4: 0000000000350ee0

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/10/24 16:11 upstream d88520ad73b7 af8d2e46 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root kernel BUG in ntfs_prepare_pages_for_non_resident_write
* Struck through repros no longer work on HEAD.