syzbot


kernel BUG in ntfs_perform_write

Status: upstream: reported C repro on 2025/09/16 10:29
Reported-by: syzbot+b09937c85c3b13932fbc@syzkaller.appspotmail.com
First crash: 13h34m, last: 10h45m
Similar bugs (4)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 kernel BUG in ntfs_perform_write missing-backport origin:upstream -1 C done 177 15d 914d 0/3 upstream: reported C repro on 2023/03/17 15:25
upstream kernel BUG in __ntfs_grab_cache_pages ntfs3 -1 C inconclusive done 1940 564d 1086d 0/29 auto-obsoleted due to no activity on 2024/05/28 03:13
linux-6.1 kernel BUG in ntfs_perform_write origin:upstream missing-backport -1 C done 149 2d03h 918d 0/3 upstream: reported C repro on 2023/03/13 09:11
linux-4.19 kernel BUG in ntfs_perform_write ntfs -1 C 6 945d 991d 0/1 upstream: reported C repro on 2022/12/30 10:57

Sample crash report:
RBP: 00007ffdae493610 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001
R13: 00007fd4dd3d5fa0 R14: 00007fd4dd3d5fa0 R15: 0000000000000003
 </TASK>
------------[ cut here ]------------
kernel BUG at fs/ntfs/file.c:493!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 5945 Comm: syz.0.17 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/2025
RIP: 0010:__ntfs_grab_cache_pages fs/ntfs/file.c:493 [inline]
RIP: 0010:ntfs_perform_write+0x7861/0x79d0 fs/ntfs/file.c:1833
Code: a5 f9 c7 fe 0f 0b e8 9e f9 c7 fe 48 8b 7c 24 20 48 c7 c6 c0 dc dc 8a e8 ad bb 07 ff 0f 0b e8 86 f9 c7 fe 0f 0b e8 7f f9 c7 fe <0f> 0b e8 78 f9 c7 fe 0f 0b e8 71 f9 c7 fe 0f 0b 89 d9 80 e1 07 38
RSP: 0018:ffffc9000453f7e0 EFLAGS: 00010293
RAX: ffffffff82bd96c1 RBX: 0000000000000000 RCX: ffff88807c04bc00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc9000453fc20 R08: ffff88807c04bc00 R09: 0000000000000002
R10: 0000000000000005 R11: 0000000000000000 R12: dffffc0000000000
R13: 0000000000000000 R14: ffffc9000453fdb0 R15: 0000000000000001
FS:  000055556643e500(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000001140 CR3: 0000000076def000 CR4: 00000000003506f0
Call Trace:
 <TASK>
 ntfs_file_write_iter+0x109d/0x19c0 fs/ntfs/file.c:1916
 call_write_iter include/linux/fs.h:2018 [inline]
 new_sync_write fs/read_write.c:491 [inline]
 vfs_write+0x43b/0x940 fs/read_write.c:584
 ksys_write+0x147/0x250 fs/read_write.c:637
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fd4dd18eba9
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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffdae4935b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007fd4dd3d5fa0 RCX: 00007fd4dd18eba9
RDX: 0000000000000060 RSI: 0000200000000080 RDI: 0000000000000004
RBP: 00007ffdae493610 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001
R13: 00007fd4dd3d5fa0 R14: 00007fd4dd3d5fa0 R15: 0000000000000003
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:__ntfs_grab_cache_pages fs/ntfs/file.c:493 [inline]
RIP: 0010:ntfs_perform_write+0x7861/0x79d0 fs/ntfs/file.c:1833
Code: a5 f9 c7 fe 0f 0b e8 9e f9 c7 fe 48 8b 7c 24 20 48 c7 c6 c0 dc dc 8a e8 ad bb 07 ff 0f 0b e8 86 f9 c7 fe 0f 0b e8 7f f9 c7 fe <0f> 0b e8 78 f9 c7 fe 0f 0b e8 71 f9 c7 fe 0f 0b 89 d9 80 e1 07 38
RSP: 0018:ffffc9000453f7e0 EFLAGS: 00010293
RAX: ffffffff82bd96c1 RBX: 0000000000000000 RCX: ffff88807c04bc00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc9000453fc20 R08: ffff88807c04bc00 R09: 0000000000000002
R10: 0000000000000005 R11: 0000000000000000 R12: dffffc0000000000
R13: 0000000000000000 R14: ffffc9000453fdb0 R15: 0000000000000001
FS:  000055556643e500(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000001140 CR3: 0000000076def000 CR4: 00000000003506f0

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/09/16 13:17 linux-6.6.y 60a9e718726f e2beed91 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-6-kasan kernel BUG in ntfs_perform_write
2025/09/16 10:28 linux-6.6.y 60a9e718726f e2beed91 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in ntfs_perform_write
* Struck through repros no longer work on HEAD.