syzbot


kernel BUG in ntfs_perform_write

Status: upstream: reported C repro on 2025/09/16 10:29
Bug presence: origin:lts-only
[Documentation on labels]
Reported-by: syzbot+b09937c85c3b13932fbc@syzkaller.appspotmail.com
First crash: 116d, last: 5d05h
Bug presence (2)
Date Name Commit Repro Result
2025/09/20 linux-6.6.y (ToT) af1544b5d072 C [report] kernel BUG in ntfs_perform_write
2025/09/20 upstream (ToT) cd89d487374c C Didn't crash
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 184 10d 1029d 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 680d 1201d 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 172 1d10h 1034d 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 1060d 1107d 0/1 upstream: reported C repro on 2022/12/30 10:57
Fix bisection attempts (1)
Created Duration User Patch Repo Result
2025/09/24 17:28 1h58m fix candidate upstream OK (0) job log

Sample crash report:
loop1: detected capacity change from 0 to 4096
ntfs: volume version 3.1.
------------[ cut here ]------------
kernel BUG at fs/ntfs/file.c:493!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 6217 Comm: syz.1.88 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/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: d5 86 c7 fe 0f 0b e8 ce 86 c7 fe 48 8b 7c 24 20 48 c7 c6 80 d6 dc 8a e8 ad 5a 07 ff 0f 0b e8 b6 86 c7 fe 0f 0b e8 af 86 c7 fe <0f> 0b e8 a8 86 c7 fe 0f 0b e8 a1 86 c7 fe 0f 0b 89 d9 80 e1 07 38
RSP: 0018:ffffc9000b51f6c0 EFLAGS: 00010293
RAX: ffffffff82be0a11 RBX: 0000000000000000 RCX: ffff88802c2c1e00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc9000b51fb00 R08: ffff88802c2c1e00 R09: 0000000000000002
R10: 0000000000000005 R11: 0000000000000000 R12: dffffc0000000000
R13: 000000000000000c R14: ffffc9000b51fe40 R15: 0000000000000001
FS:  00007f7a743126c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000020000000c076 CR3: 00000000793c5000 CR4: 00000000003506e0
Call Trace:
 <TASK>
 ntfs_file_write_iter+0x109d/0x19c0 fs/ntfs/file.c:1916
 do_iter_readv_writev fs/read_write.c:-1 [inline]
 do_iter_write+0x79a/0xc70 fs/read_write.c:860
 vfs_writev fs/read_write.c:933 [inline]
 do_pwritev+0x205/0x340 fs/read_write.c:1030
 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:0x7f7a7338f749
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:00007f7a74312038 EFLAGS: 00000246 ORIG_RAX: 0000000000000148
RAX: ffffffffffffffda RBX: 00007f7a735e5fa0 RCX: 00007f7a7338f749
RDX: 0000000000000001 RSI: 00002000000001c0 RDI: 0000000000000004
RBP: 00007f7a73413f91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000e7b R11: 0000000000000246 R12: 0000000000000000
R13: 00007f7a735e6038 R14: 00007f7a735e5fa0 R15: 00007ffd2bf0dc68
 </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: d5 86 c7 fe 0f 0b e8 ce 86 c7 fe 48 8b 7c 24 20 48 c7 c6 80 d6 dc 8a e8 ad 5a 07 ff 0f 0b e8 b6 86 c7 fe 0f 0b e8 af 86 c7 fe <0f> 0b e8 a8 86 c7 fe 0f 0b e8 a1 86 c7 fe 0f 0b 89 d9 80 e1 07 38
RSP: 0018:ffffc9000b51f6c0 EFLAGS: 00010293
RAX: ffffffff82be0a11 RBX: 0000000000000000 RCX: ffff88802c2c1e00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc9000b51fb00 R08: ffff88802c2c1e00 R09: 0000000000000002
R10: 0000000000000005 R11: 0000000000000000 R12: dffffc0000000000
R13: 000000000000000c R14: ffffc9000b51fe40 R15: 0000000000000001
FS:  00007f7a743126c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 00000000793c5000 CR4: 00000000003506f0

Crashes (12):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/01/05 08:14 linux-6.6.y 5fa4793a2d2d d6526ea3 .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 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
2026/01/05 06:29 linux-6.6.y 5fa4793a2d2d d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in ntfs_perform_write
2025/12/25 08:21 linux-6.6.y 5fa4793a2d2d d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in ntfs_perform_write
2025/12/14 05:55 linux-6.6.y 5fa4793a2d2d d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in ntfs_perform_write
2025/12/04 22:08 linux-6.6.y 4791134e4aeb d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in ntfs_perform_write
2025/12/04 07:15 linux-6.6.y 4791134e4aeb d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in ntfs_perform_write
2025/11/01 18:40 linux-6.6.y e5bbb12db2c7 2c50b6a9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in ntfs_perform_write
2025/10/27 06:02 linux-6.6.y 4a243110dc88 c0460fcd .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in ntfs_perform_write
2025/09/29 01:10 linux-6.6.y 147338df3487 001c9061 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in ntfs_perform_write
2025/09/17 11:31 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
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.