syzbot


WARNING in wnd_add_free_ext (4)

Status: upstream: reported C repro on 2025/06/19 08:12
Subsystems: ntfs3
[Documentation on labels]
Reported-by: syzbot+323f07d372f692a127b3@syzkaller.appspotmail.com
First crash: 228d, last: 1d16h
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [ntfs3?] WARNING in wnd_add_free_ext (4) 0 (2) 2026/01/27 18:13
Similar bugs (5)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in wnd_add_free_ext (3) ntfs3 -1 C done 19 296d 532d 28/29 fixed on 2025/05/06 15:33
linux-6.1 WARNING in wnd_add_free_ext origin:upstream missing-backport -1 C inconclusive 15 468d 898d 0/3 upstream: reported C repro on 2023/08/15 03:08
linux-5.15 WARNING in wnd_add_free_ext missing-backport origin:upstream -1 C error 2 30d 889d 0/3 upstream: reported C repro on 2023/08/23 21:49
upstream WARNING in wnd_add_free_ext (2) ntfs3 -1 C done done 16 833d 938d 0/29 auto-obsoleted due to no activity on 2024/01/24 12:23
upstream WARNING in wnd_add_free_ext ntfs3 -1 2 1104d 1128d 0/29 auto-obsoleted due to no activity on 2023/05/20 17:24

Sample crash report:
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002
R13: 00007fca63c16128 R14: 00007fca63c16090 R15: 00007ffedc73d3d8
 </TASK>
------------[ cut here ]------------
1
WARNING: fs/ntfs3/bitmap.c:217 at rb_insert_start fs/ntfs3/bitmap.c:217 [inline], CPU#0: syz.0.18/5481
WARNING: fs/ntfs3/bitmap.c:217 at wnd_add_free_ext+0xb92/0xe60 fs/ntfs3/bitmap.c:352, CPU#0: syz.0.18/5481
Modules linked in:
CPU: 0 UID: 0 PID: 5481 Comm: syz.0.18 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
RIP: 0010:rb_insert_start fs/ntfs3/bitmap.c:217 [inline]
RIP: 0010:wnd_add_free_ext+0xb92/0xe60 fs/ntfs3/bitmap.c:352
Code: 00 00 00 fc ff df 80 3c 08 00 74 08 4c 89 ff e8 44 8a 14 ff 4d 89 2f 4c 89 ef 48 89 de e8 b6 5e 7a 08 eb 0d e8 3f af aa fe 90 <0f> 0b 90 4c 8b 24 24 48 b8 00 00 00 00 00 fc ff df 48 8b 4c 24 30
RSP: 0018:ffffc90003f677c8 EFLAGS: 00010293
RAX: ffffffff8319d7b1 RBX: ffff88804437a2e0 RCX: ffff888000be8000
RDX: 0000000000000000 RSI: 0000000000000019 RDI: 0000000000000019
RBP: 0000000000000019 R08: ffff888047706c2b R09: 1ffff11008ee0d85
R10: dffffc0000000000 R11: ffffed1008ee0d86 R12: dffffc0000000000
R13: ffff88804a4c96c0 R14: ffff88804a5346c0 R15: 0000000000000019
FS:  00007fca648f46c0(0000) GS:ffff88808ccea000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fca648f3ff8 CR3: 0000000052ad1000 CR4: 0000000000352ef0
Call Trace:
 <TASK>
 wnd_set_free+0x4bf/0x5c0 fs/ntfs3/bitmap.c:743
 mark_as_free_ex+0x1c8/0x390 fs/ntfs3/fsntfs.c:2489
 run_unpack+0x7aa/0xc90 fs/ntfs3/run.c:1037
 run_unpack_ex+0xd2/0xb90 fs/ntfs3/run.c:1078
 ni_delete_all+0x363/0x8a0 fs/ntfs3/frecord.c:1562
 ni_clear+0x315/0x530 fs/ntfs3/frecord.c:108
 evict+0x61e/0xb10 fs/inode.c:837
 do_unlinkat+0x354/0x590 fs/namei.c:5452
 __do_sys_unlink fs/namei.c:5483 [inline]
 __se_sys_unlink fs/namei.c:5481 [inline]
 __x64_sys_unlink+0x47/0x50 fs/namei.c:5481
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xe2/0xf80 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fca6399aeb9
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:00007fca648f4028 EFLAGS: 00000246 ORIG_RAX: 0000000000000057
RAX: ffffffffffffffda RBX: 00007fca63c16090 RCX: 00007fca6399aeb9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000200000000180
RBP: 00007fca648f4090 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002
R13: 00007fca63c16128 R14: 00007fca63c16090 R15: 00007ffedc73d3d8
 </TASK>

Crashes (10):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/01/27 18:12 upstream fcb70a56f4d8 43e1df1d .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] [mounted in repro #1] [mounted in repro #2 (corrupt fs)] ci-snapshot-upstream-root WARNING in wnd_add_free_ext
2026/01/27 17:11 upstream fcb70a56f4d8 43e1df1d .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in wnd_add_free_ext
2025/11/17 00:31 upstream 7254a2b52279 f7988ea4 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in wnd_add_free_ext
2025/09/09 01:40 upstream f777d1112ee5 d291dd2d .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in wnd_add_free_ext
2025/08/30 03:11 upstream fb679c832b64 807a3b61 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in wnd_add_free_ext
2025/08/14 04:05 upstream dfc0f6373094 22ec1469 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in wnd_add_free_ext
2025/07/22 04:35 upstream 89be9a83ccf1 1555463b .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in wnd_add_free_ext
2025/06/21 16:09 upstream 3f75bfff44be d6cdfb8a .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in wnd_add_free_ext
2025/06/18 04:20 upstream 4663747812d1 e77fae15 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in wnd_add_free_ext
2025/06/15 08:10 upstream 8c6bc74c7f89 5f4b362d .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in wnd_add_free_ext
* Struck through repros no longer work on HEAD.