syzbot


BUG: unable to handle kernel NULL pointer dereference in ntfs_sparse_cluster

Status: upstream: reported C repro on 2023/03/15 20:30
Bug presence: origin:lts-only
[Documentation on labels]
Reported-by: syzbot+7bdfe1182e4c50d2a21d@syzkaller.appspotmail.com
First crash: 1191d, last: 1d10h
Fix commit to backport (bisect log) :
tree: upstream
commit c380b52f6c5702cc4bdda5e6d456d6c19a201a0b
Author: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
Date: Fri Oct 7 11:02:36 2022 +0000

  fs/ntfs3: Change new sparse cluster processing

  
Bug presence (2)
Date Name Commit Repro Result
2023/05/07 linux-5.15.y (ToT) 8a7f2a5c5aa1 C [report] BUG: unable to handle kernel NULL pointer dereference in ntfs_sparse_cluster
2023/05/07 upstream (ToT) fc4354c6e5c2 C Didn't crash
Similar bugs (2)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 BUG: unable to handle kernel NULL pointer dereference in ntfs_sparse_cluster origin:lts-only 10 C done 375 711d 1191d 3/3 fixed on 2025/03/28 22:41
upstream BUG: unable to handle kernel NULL pointer dereference in ntfs_sparse_cluster ntfs3 10 C error done 11 1276d 1278d 22/29 fixed on 2023/02/24 13:51
Last patch testing requests (10)
Created Duration User Patch Repo Result
2025/08/11 22:01 9m retest repro linux-5.15.y report log
2025/08/11 22:01 21m retest repro linux-5.15.y report log
2025/08/11 22:01 10m retest repro linux-5.15.y report log
2025/08/11 22:01 11m retest repro linux-5.15.y report log
2025/08/11 22:01 10m retest repro linux-5.15.y report log
2025/04/27 22:42 32m retest repro linux-5.15.y report log
2025/04/13 15:18 9m retest repro linux-5.15.y report log
2025/04/13 15:18 14m retest repro linux-5.15.y report log
2025/04/13 15:18 9m retest repro linux-5.15.y report log
2025/04/13 15:18 9m retest repro linux-5.15.y report log
Fix bisection attempts (1)
Created Duration User Patch Repo Result
2023/09/10 18:27 4h39m fix candidate upstream OK (1) job log

Sample crash report:
loop0: detected capacity change from 0 to 4096
ntfs3: loop0: Mark volume as dirty due to NTFS errors
BUG: kernel NULL pointer dereference, address: 0000000000000000
#PF: supervisor instruction fetch in kernel mode
#PF: error_code(0x0010) - not-present page
PGD 7d5e5067 P4D 7d5e5067 PUD 0 
Oops: 0010 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 4318 Comm: syz.0.17 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/2026
RIP: 0010:0x0
Code: Unable to access opcode bytes at RIP 0xffffffffffffffd6.
RSP: 0018:ffffc90002f7fcc0 EFLAGS: 00010296
RAX: 1ffffffff14b8b27 RBX: ffffea0001a63608 RCX: ffffffff8a5c5938
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffea0001a63600
RBP: 0000000000000000 R08: ffffea0001a63607 R09: 1ffffd400034c6c0
R10: dffffc0000000000 R11: fffff9400034c6c1 R12: ffffea0001a63600
R13: ffffea0001a63600 R14: ffffffffffffffff R15: 000000000000000b
FS:  000055557341e500(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffffffffffffd6 CR3: 000000007ece8000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 ntfs_sparse_cluster+0x82c/0xb80 fs/ntfs3/file.c:337
 ntfs_fallocate+0x76f/0xd60 fs/ntfs3/file.c:707
 vfs_fallocate+0x587/0x6f0 fs/open.c:308
 ksys_fallocate fs/open.c:331 [inline]
 __do_sys_fallocate fs/open.c:339 [inline]
 __se_sys_fallocate fs/open.c:337 [inline]
 __x64_sys_fallocate+0xbd/0x100 fs/open.c:337
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f336228fe59
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:00007ffd8dd2b528 EFLAGS: 00000246 ORIG_RAX: 000000000000011d
RAX: ffffffffffffffda RBX: 00007f3362508fa0 RCX: 00007f336228fe59
RDX: 000000000000b738 RSI: 0000000000000001 RDI: 0000000000000005
RBP: 00007f3362325d6f R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000004 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f3362508fac R14: 00007f3362508fa0 R15: 00007f3362508fa0
 </TASK>
Modules linked in:
CR2: 0000000000000000
---[ end trace 51d24d47b44c6c8b ]---
RIP: 0010:0x0
Code: Unable to access opcode bytes at RIP 0xffffffffffffffd6.
RSP: 0018:ffffc90002f7fcc0 EFLAGS: 00010296
RAX: 1ffffffff14b8b27 RBX: ffffea0001a63608 RCX: ffffffff8a5c5938
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffea0001a63600
RBP: 0000000000000000 R08: ffffea0001a63607 R09: 1ffffd400034c6c0
R10: dffffc0000000000 R11: fffff9400034c6c1 R12: ffffea0001a63600
R13: ffffea0001a63600 R14: ffffffffffffffff R15: 000000000000000b
FS:  000055557341e500(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffffffffffffd6 CR3: 000000007ece8000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (901):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/06/17 11:48 linux-5.15.y dc027a595035 62cc6db3 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan BUG: unable to handle kernel NULL pointer dereference in ntfs_sparse_cluster
2026/03/02 09:24 linux-5.15.y 3330a8d33e08 43249bac .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan BUG: unable to handle kernel NULL pointer dereference in ntfs_sparse_cluster
2026/03/02 08:45 linux-5.15.y 3330a8d33e08 43249bac .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan BUG: unable to handle kernel NULL pointer dereference in ntfs_sparse_cluster
2025/12/05 10:46 linux-5.15.y cc5ec8769306 d6526ea3 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan BUG: unable to handle kernel NULL pointer dereference in ntfs_sparse_cluster
2025/09/05 03:10 linux-5.15.y 7a6c2d093c45 d291dd2d .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan BUG: unable to handle kernel NULL pointer dereference in ntfs_sparse_cluster
2025/05/27 18:19 linux-5.15.y 98f47d0e9b8c 874a1386 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan BUG: unable to handle kernel NULL pointer dereference in ntfs_sparse_cluster
2025/02/22 19:00 linux-5.15.y c16c81c81336 d34966d1 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan BUG: unable to handle kernel NULL pointer dereference in ntfs_sparse_cluster
2025/01/04 18:34 linux-5.15.y 91786f140358 f3558dbf .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan BUG: unable to handle kernel NULL pointer dereference in ntfs_sparse_cluster
2024/11/29 15:06 linux-5.15.y 0a51d2d4527b 5df23865 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan BUG: unable to handle kernel NULL pointer dereference in ntfs_sparse_cluster
2024/05/05 16:56 linux-5.15.y 284087d4f7d5 610f2a54 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan BUG: unable to handle kernel NULL pointer dereference in ntfs_sparse_cluster
2023/12/31 10:26 linux-5.15.y d93fa2c78854 fb427a07 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan BUG: unable to handle kernel NULL pointer dereference in ntfs_sparse_cluster
2023/09/08 09:09 linux-5.15.y aff03380bda4 72324844 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan BUG: unable to handle kernel NULL pointer dereference in ntfs_sparse_cluster
2023/05/30 07:00 linux-5.15.y 1fe619a7d252 cf184559 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan BUG: unable to handle kernel NULL pointer dereference in ntfs_sparse_cluster
2023/05/30 05:15 linux-5.15.y 1fe619a7d252 cf184559 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan BUG: unable to handle kernel NULL pointer dereference in ntfs_sparse_cluster
2023/05/29 22:08 linux-5.15.y 1fe619a7d252 cf184559 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan BUG: unable to handle kernel NULL pointer dereference in ntfs_sparse_cluster
2023/05/21 22:49 linux-5.15.y 9d6bde853685 4bce1a3e .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan BUG: unable to handle kernel NULL pointer dereference in ntfs_sparse_cluster
2023/05/07 04:26 linux-5.15.y 8a7f2a5c5aa1 90c93c40 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan BUG: unable to handle kernel NULL pointer dereference in ntfs_sparse_cluster
2024/04/15 09:58 linux-5.15.y fa3df276cd36 c8349e48 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel NULL pointer dereference in ntfs_sparse_cluster
2024/03/10 22:21 linux-5.15.y 574362648507 6ee49f2e .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel NULL pointer dereference in ntfs_sparse_cluster
2026/06/17 21:59 linux-5.15.y dc027a595035 b62b3ded .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: unable to handle kernel NULL pointer dereference in ntfs_sparse_cluster
2026/06/17 14:46 linux-5.15.y dc027a595035 62cc6db3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: unable to handle kernel NULL pointer dereference in ntfs_sparse_cluster
2026/06/17 09:43 linux-5.15.y dc027a595035 62cc6db3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: unable to handle kernel NULL pointer dereference in ntfs_sparse_cluster
2026/06/06 21:08 linux-5.15.y dc027a595035 cc095639 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: unable to handle kernel NULL pointer dereference in ntfs_sparse_cluster
2026/06/06 07:59 linux-5.15.y dc027a595035 cc095639 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: unable to handle kernel NULL pointer dereference in ntfs_sparse_cluster
2026/06/04 09:20 linux-5.15.y dc027a595035 197909be .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: unable to handle kernel NULL pointer dereference in ntfs_sparse_cluster
2026/06/02 18:41 linux-5.15.y dc027a595035 62fe1528 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: unable to handle kernel NULL pointer dereference in ntfs_sparse_cluster
2026/05/18 18:05 linux-5.15.y 93741761e5e3 55156e84 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: unable to handle kernel NULL pointer dereference in ntfs_sparse_cluster
2026/05/11 02:19 linux-5.15.y de8dfb3f0278 29233ece .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: unable to handle kernel NULL pointer dereference in ntfs_sparse_cluster
2026/05/10 20:16 linux-5.15.y de8dfb3f0278 29233ece .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: unable to handle kernel NULL pointer dereference in ntfs_sparse_cluster
2026/05/01 09:31 linux-5.15.y ef251c45f1cd 753c55b9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: unable to handle kernel NULL pointer dereference in ntfs_sparse_cluster
2026/04/26 11:19 linux-5.15.y b9d57c40a767 9c2d0995 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: unable to handle kernel NULL pointer dereference in ntfs_sparse_cluster
2026/04/25 07:30 linux-5.15.y b9d57c40a767 9c2d0995 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: unable to handle kernel NULL pointer dereference in ntfs_sparse_cluster
2026/04/24 16:26 linux-5.15.y b9d57c40a767 1c2b9291 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: unable to handle kernel NULL pointer dereference in ntfs_sparse_cluster
2026/04/22 00:04 linux-5.15.y b9d57c40a767 0b6ab7ec .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: unable to handle kernel NULL pointer dereference in ntfs_sparse_cluster
2026/04/20 00:46 linux-5.15.y b9d57c40a767 303e2802 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: unable to handle kernel NULL pointer dereference in ntfs_sparse_cluster
2026/04/17 05:34 linux-5.15.y 91d48252ad4b de0a551d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: unable to handle kernel NULL pointer dereference in ntfs_sparse_cluster
2026/04/16 09:50 linux-5.15.y 91d48252ad4b df15c5f3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: unable to handle kernel NULL pointer dereference in ntfs_sparse_cluster
2026/04/13 04:41 linux-5.15.y 91d48252ad4b 38c8e246 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: unable to handle kernel NULL pointer dereference in ntfs_sparse_cluster
2026/04/12 13:58 linux-5.15.y 91d48252ad4b 38c8e246 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: unable to handle kernel NULL pointer dereference in ntfs_sparse_cluster
2026/04/12 04:10 linux-5.15.y 91d48252ad4b 38c8e246 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: unable to handle kernel NULL pointer dereference in ntfs_sparse_cluster
2026/04/11 17:56 linux-5.15.y 91d48252ad4b 38c8e246 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: unable to handle kernel NULL pointer dereference in ntfs_sparse_cluster
2026/04/11 01:17 linux-5.15.y 91d48252ad4b 38c8e246 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: unable to handle kernel NULL pointer dereference in ntfs_sparse_cluster
2026/04/10 18:51 linux-5.15.y 91d48252ad4b 38c8e246 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: unable to handle kernel NULL pointer dereference in ntfs_sparse_cluster
2026/04/10 16:21 linux-5.15.y 91d48252ad4b 38c8e246 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: unable to handle kernel NULL pointer dereference in ntfs_sparse_cluster
2026/04/10 10:48 linux-5.15.y 91d48252ad4b 38c8e246 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: unable to handle kernel NULL pointer dereference in ntfs_sparse_cluster
2026/04/09 21:50 linux-5.15.y 91d48252ad4b 38c8e246 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: unable to handle kernel NULL pointer dereference in ntfs_sparse_cluster
2026/04/05 15:53 linux-5.15.y 91d48252ad4b 4440e7c2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: unable to handle kernel NULL pointer dereference in ntfs_sparse_cluster
2026/04/05 15:53 linux-5.15.y 91d48252ad4b 4440e7c2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: unable to handle kernel NULL pointer dereference in ntfs_sparse_cluster
2026/04/05 01:10 linux-5.15.y 91d48252ad4b 4440e7c2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: unable to handle kernel NULL pointer dereference in ntfs_sparse_cluster
2026/04/04 14:21 linux-5.15.y 91d48252ad4b 4440e7c2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: unable to handle kernel NULL pointer dereference in ntfs_sparse_cluster
2026/04/04 02:55 linux-5.15.y 91d48252ad4b 4440e7c2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: unable to handle kernel NULL pointer dereference in ntfs_sparse_cluster
2026/04/01 09:12 linux-5.15.y 91d48252ad4b fb8b2c26 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: unable to handle kernel NULL pointer dereference in ntfs_sparse_cluster
2026/03/24 22:46 linux-5.15.y 91d48252ad4b 74e70d19 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: unable to handle kernel NULL pointer dereference in ntfs_sparse_cluster
2026/03/24 07:51 linux-5.15.y 91d48252ad4b baf8bf12 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: unable to handle kernel NULL pointer dereference in ntfs_sparse_cluster
2026/03/19 18:48 linux-5.15.y 91d48252ad4b bd6dcb30 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: unable to handle kernel NULL pointer dereference in ntfs_sparse_cluster
2026/03/07 17:59 linux-5.15.y 91d48252ad4b 5cb44a80 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: unable to handle kernel NULL pointer dereference in ntfs_sparse_cluster
2026/03/05 07:44 linux-5.15.y 91d48252ad4b a9fe5c9e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: unable to handle kernel NULL pointer dereference in ntfs_sparse_cluster
2026/03/05 05:42 linux-5.15.y 91d48252ad4b a9fe5c9e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: unable to handle kernel NULL pointer dereference in ntfs_sparse_cluster
2026/03/04 20:33 linux-5.15.y 91d48252ad4b e6b6b96b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: unable to handle kernel NULL pointer dereference in ntfs_sparse_cluster
2026/02/28 09:40 linux-5.15.y 3330a8d33e08 43249bac .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: unable to handle kernel NULL pointer dereference in ntfs_sparse_cluster
2026/02/21 22:48 linux-5.15.y 3330a8d33e08 6e7b5511 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: unable to handle kernel NULL pointer dereference in ntfs_sparse_cluster
2025/08/20 11:38 linux-5.15.y c79648372d02 79512909 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel NULL pointer dereference in ntfs_sparse_cluster
2023/03/15 20:29 linux-5.15.y 2ddbd0f967b3 18b58603 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: unable to handle kernel NULL pointer dereference in ntfs_sparse_cluster
* Struck through repros no longer work on HEAD.