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: 407d, last: 1d00h
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 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 C done 318 14h30m 407d 0/3 upstream: reported C repro on 2023/03/15 20:23
upstream BUG: unable to handle kernel NULL pointer dereference in ntfs_sparse_cluster ntfs3 C error done 11 492d 494d 22/26 fixed on 2023/02/24 13:51
Fix bisection attempts (1)
Created Duration User Patch Repo Result
2023/09/10 18:27 4h39m fix candidate upstream job log (1)

Sample crash report:
BUG: kernel NULL pointer dereference, address: 0000000000000000
#PF: supervisor instruction fetch in kernel mode
#PF: error_code(0x0010) - not-present page
PGD 1b4c6067 P4D 1b4c6067 PUD 1b4c5067 PMD 0 
Oops: 0010 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 3502 Comm: syz-executor326 Not tainted 5.15.145-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
RIP: 0010:0x0
Code: Unable to access opcode bytes at RIP 0xffffffffffffffd6.
RSP: 0018:ffffc90002dffcc8 EFLAGS: 00010282
RAX: 1ffffffff1575d3f RBX: ffffea0001c97e40 RCX: ffffffff8abae9f8
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffea0001c97e40
RBP: dffffc0000000000 R08: ffffffff81ab0439 R09: fffff94000392fc9
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000
R13: ffffea0001c97e40 R14: 0000000000000000 R15: ffffffffffffffff
FS:  00007f9afc0f76c0(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffffffffffffd6 CR3: 000000006fc8e000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 ntfs_sparse_cluster+0x76e/0xbb0 fs/ntfs3/file.c:337
 ntfs_fallocate+0x7da/0xee0 fs/ntfs3/file.c:706
 vfs_fallocate+0x54a/0x6b0 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+0xb9/0x100 fs/open.c:337
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7f9afc15a029
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f9afc0f7218 EFLAGS: 00000246 ORIG_RAX: 000000000000011d
RAX: ffffffffffffffda RBX: 00007f9afc200618 RCX: 00007f9afc15a029
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004
RBP: 00007f9afc200610 R08: 00007ffd84461447 R09: 0000000000000000
R10: 0000000000008000 R11: 0000000000000246 R12: 00007f9afc20061c
R13: 00007f9afc1cd488 R14: 00007f9afc1ae060 R15: 0031656c69662f2e
 </TASK>
Modules linked in:
CR2: 0000000000000000
---[ end trace fb418d6178bc2c04 ]---
RIP: 0010:0x0
Code: Unable to access opcode bytes at RIP 0xffffffffffffffd6.
RSP: 0018:ffffc90002dffcc8 EFLAGS: 00010282
RAX: 1ffffffff1575d3f RBX: ffffea0001c97e40 RCX: ffffffff8abae9f8
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffea0001c97e40
RBP: dffffc0000000000 R08: ffffffff81ab0439 R09: fffff94000392fc9
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000
R13: ffffea0001c97e40 R14: 0000000000000000 R15: ffffffffffffffff
FS:  00007f9afc0f76c0(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffffffffffffd6 CR3: 000000006fc8e000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (433):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
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/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
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
2024/04/25 14:01 linux-5.15.y c52b9710c83d 8bdc0f22 .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
2024/04/23 04:28 linux-5.15.y c52b9710c83d 36c961ad .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
2024/04/17 07:58 linux-5.15.y fa3df276cd36 18f6e127 .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
2024/04/17 00:56 linux-5.15.y fa3df276cd36 18f6e127 .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
2024/04/15 21:19 linux-5.15.y fa3df276cd36 b9af7e61 .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
2024/04/15 07:09 linux-5.15.y fa3df276cd36 c8349e48 .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
2024/04/15 05:06 linux-5.15.y fa3df276cd36 c8349e48 .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
2024/04/14 00:23 linux-5.15.y fa3df276cd36 c8349e48 .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
2024/04/12 05:55 linux-5.15.y cdfd0a7f0139 27de0a5c .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
2024/04/10 02:48 linux-5.15.y 9465fef4ae35 171ec371 .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
2024/04/09 17:22 linux-5.15.y 9465fef4ae35 f3234354 .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
2024/04/07 08:22 linux-5.15.y 9465fef4ae35 ca620dd8 .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
2024/04/05 20:57 linux-5.15.y 9465fef4ae35 77230c29 .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
2024/03/29 18:41 linux-5.15.y 9465fef4ae35 c52bcb23 .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
2024/03/23 11:04 linux-5.15.y b95c01af2113 0ea90952 .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
2024/03/11 04:29 linux-5.15.y 574362648507 6ee49f2e .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
2024/03/11 04:20 linux-5.15.y 574362648507 6ee49f2e .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
2024/03/10 03:49 linux-5.15.y 574362648507 6ee49f2e .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
2024/03/03 15:15 linux-5.15.y 80efc6265290 25905f5d .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
2024/03/03 11:48 linux-5.15.y 80efc6265290 25905f5d .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
2024/03/01 21:26 linux-5.15.y 80efc6265290 83acf9e0 .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
2024/02/29 10:03 linux-5.15.y 458ce51d0356 352ab904 .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
2024/02/25 20:08 linux-5.15.y 458ce51d0356 8d446f15 .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
2024/02/25 14:39 linux-5.15.y 458ce51d0356 8d446f15 .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
2024/02/24 03:55 linux-5.15.y 458ce51d0356 8d446f15 .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
2024/02/20 10:30 linux-5.15.y 6139f2a02fe0 3af7dd65 .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
2024/02/18 22:22 linux-5.15.y 6139f2a02fe0 578f7538 .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
2024/02/18 15:56 linux-5.15.y 6139f2a02fe0 578f7538 .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
2024/02/18 02:44 linux-5.15.y 6139f2a02fe0 578f7538 .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
2024/02/16 00:54 linux-5.15.y 6139f2a02fe0 fd39cf6f .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
2024/02/09 16:45 linux-5.15.y 6139f2a02fe0 7f07e9b0 .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
2024/02/07 18:51 linux-5.15.y 6139f2a02fe0 6404acf9 .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
2024/01/29 20:27 linux-5.15.y 6139f2a02fe0 991a98f4 .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
2024/01/28 07:04 linux-5.15.y 6139f2a02fe0 cc4a4020 .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
2024/04/22 05:26 linux-5.15.y c52b9710c83d af24b050 .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
2024/04/21 21:01 linux-5.15.y c52b9710c83d af24b050 .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
2024/04/20 08:46 linux-5.15.y c52b9710c83d af24b050 .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
2024/04/20 07:07 linux-5.15.y c52b9710c83d af24b050 .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
2024/04/19 12:44 linux-5.15.y c52b9710c83d af24b050 .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
2024/04/13 06:37 linux-5.15.y cdfd0a7f0139 c8349e48 .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
2024/04/12 10:52 linux-5.15.y cdfd0a7f0139 27de0a5c .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
2024/04/11 12:20 linux-5.15.y cdfd0a7f0139 33b9e058 .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
2024/04/09 12:34 linux-5.15.y 9465fef4ae35 f3234354 .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
2024/04/09 12:02 linux-5.15.y 9465fef4ae35 f3234354 .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
2024/04/08 16:30 linux-5.15.y 9465fef4ae35 53df08b6 .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
2024/04/06 12:10 linux-5.15.y 9465fef4ae35 ca620dd8 .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
2024/04/06 05:12 linux-5.15.y 9465fef4ae35 ca620dd8 .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
2024/04/02 04:54 linux-5.15.y 9465fef4ae35 6baf5069 .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
2024/03/23 13:53 linux-5.15.y b95c01af2113 0ea90952 .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.