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: 223d, last: 5h34m
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 190 6h26m 1136d 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 787d 1308d 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 196 9h50m 1141d 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 1167d 1214d 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:
RBP: 00007ffe35bafbc0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000e7c R11: 0000000000000246 R12: 0000000000000001
R13: 00007f245f415fac R14: 00007f245f415fa0 R15: 00007f245f415fa0
 </TASK>
------------[ cut here ]------------
kernel BUG at fs/ntfs/file.c:493!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 5918 Comm: syz.0.17 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/18/2026
RIP: 0010:__ntfs_grab_cache_pages fs/ntfs/file.c:493 [inline]
RIP: 0010:ntfs_perform_write+0x787f/0x7a20 fs/ntfs/file.c:1833
Code: f7 c3 c3 fe 0f 0b e8 f0 c3 c3 fe 48 8b 7c 24 20 48 c7 c6 80 e7 fc 8a e8 8f 2d 04 ff 0f 0b e8 d8 c3 c3 fe 0f 0b e8 d1 c3 c3 fe <0f> 0b e8 ca c3 c3 fe 0f 0b e8 c3 c3 c3 fe 0f 0b 89 f9 80 e1 07 38
RSP: 0018:ffffc90002e677e0 EFLAGS: 00010293
RAX: ffffffff82c35e2f RBX: 0000000000000000 RCX: ffff88802d4b9e00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90002e67c20 R08: ffff88802d4b9e00 R09: 0000000000000002
R10: 0000000000000005 R11: 0000000000000000 R12: 0000000000000001
R13: 0000000000000000 R14: 0000000000000184 R15: dffffc0000000000
FS:  000055558f6a2500(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f0721f4b000 CR3: 000000002f51d000 CR4: 00000000003506e0
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+0x46c/0x990 fs/read_write.c:584
 ksys_pwrite64 fs/read_write.c:699 [inline]
 __do_sys_pwrite64 fs/read_write.c:709 [inline]
 __se_sys_pwrite64 fs/read_write.c:706 [inline]
 __x64_sys_pwrite64+0x19b/0x230 fs/read_write.c:706
 do_syscall_x64 arch/x86/entry/common.c:46 [inline]
 do_syscall_64+0x55/0xa0 arch/x86/entry/common.c:76
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f245f19cdd9
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffe35bafb58 EFLAGS: 00000246 ORIG_RAX: 0000000000000012
RAX: ffffffffffffffda RBX: 00007f245f415fa0 RCX: 00007f245f19cdd9
RDX: 000000000000fdef RSI: 0000200000000140 RDI: 0000000000000004
RBP: 00007ffe35bafbc0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000e7c R11: 0000000000000246 R12: 0000000000000001
R13: 00007f245f415fac R14: 00007f245f415fa0 R15: 00007f245f415fa0
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:__ntfs_grab_cache_pages fs/ntfs/file.c:493 [inline]
RIP: 0010:ntfs_perform_write+0x787f/0x7a20 fs/ntfs/file.c:1833
Code: f7 c3 c3 fe 0f 0b e8 f0 c3 c3 fe 48 8b 7c 24 20 48 c7 c6 80 e7 fc 8a e8 8f 2d 04 ff 0f 0b e8 d8 c3 c3 fe 0f 0b e8 d1 c3 c3 fe <0f> 0b e8 ca c3 c3 fe 0f 0b e8 c3 c3 c3 fe 0f 0b 89 f9 80 e1 07 38
RSP: 0018:ffffc90002e677e0 EFLAGS: 00010293
RAX: ffffffff82c35e2f RBX: 0000000000000000 RCX: ffff88802d4b9e00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90002e67c20 R08: ffff88802d4b9e00 R09: 0000000000000002
R10: 0000000000000005 R11: 0000000000000000 R12: 0000000000000001
R13: 0000000000000000 R14: 0000000000000184 R15: dffffc0000000000
FS:  000055558f6a2500(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f0721f4b000 CR3: 000000002f51d000 CR4: 00000000003506e0

Crashes (16):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/04/27 07:55 linux-6.6.y 9760bf04666d 9c2d0995 .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 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/04/27 07:11 linux-6.6.y 9760bf04666d 9c2d0995 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in ntfs_perform_write
2026/04/27 07:07 linux-6.6.y 9760bf04666d 9c2d0995 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in ntfs_perform_write
2026/04/12 22:51 linux-6.6.y 8cee53b8eaeb 38c8e246 .config console log report info [disk image] [vmlinux] [kernel image] 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.