syzbot


kernel BUG in ntfs_iget

Status: fixed on 2024/03/20 11:33
Subsystems: ntfs3
[Documentation on labels]
Reported-by: syzbot+d62e6bd2a2d05103d105@syzkaller.appspotmail.com
Fix commit: 6f861765464f fs: Block writes to mounted block devices
First crash: 603d, last: 215d
Cause bisection: failed (error log, bisect log)
  
Fix bisection: fixed by (bisect log) :
commit 6f861765464f43a71462d52026fbddfc858239a5
Author: Jan Kara <jack@suse.cz>
Date: Wed Nov 1 17:43:10 2023 +0000

  fs: Block writes to mounted block devices

  
Discussions (9)
Title Replies (including bot) Last reply
[syzbot] [ntfs?] kernel BUG in ntfs_iget 1 (4) 2024/03/11 18:20
[syzbot] Monthly ntfs report (Jan 2024) 0 (1) 2024/01/09 18:20
[syzbot] Monthly ntfs report (Dec 2023) 0 (1) 2023/12/06 10:05
[syzbot] Monthly ntfs report (Nov 2023) 0 (1) 2023/11/05 13:07
[syzbot] Monthly ntfs report (Oct 2023) 0 (1) 2023/10/04 13:13
[syzbot] Monthly ntfs report (Sep 2023) 0 (1) 2023/09/04 08:31
[syzbot] Monthly ntfs report (Aug 2023) 0 (1) 2023/08/03 07:02
[syzbot] Monthly ntfs report (Jul 2023) 0 (1) 2023/07/03 09:03
[syzbot] Monthly ntfs report (Jun 2023) 0 (1) 2023/06/02 08:40
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 kernel BUG in ntfs_iget origin:upstream missing-backport C error 6 78d 511d 0/3 upstream: reported C repro on 2023/05/15 07:12
linux-6.1 kernel BUG in ntfs_iget origin:upstream missing-backport C done 6 159d 513d 0/3 upstream: reported C repro on 2023/05/14 00:47
Last patch testing requests (10)
Created Duration User Patch Repo Result
2024/01/20 05:54 16m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci report log
2024/01/20 05:54 20m retest repro linux-next OK log
2024/01/20 05:54 20m retest repro upstream OK log
2024/01/20 05:54 23m retest repro upstream OK log
2024/01/20 05:54 17m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci report log
2024/01/19 20:04 25m retest repro upstream OK log
2024/01/19 16:50 20m retest repro upstream OK log
2024/01/19 16:50 17m retest repro upstream OK log
2023/10/31 02:04 19m retest repro linux-next report log
2023/10/31 02:04 20m retest repro upstream report log

Sample crash report:
loop0: detected capacity change from 0 to 4096
------------[ cut here ]------------
kernel BUG at fs/ntfs/malloc.h:31!
Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP
Modules linked in:
CPU: 1 PID: 6163 Comm: syz-executor337 Not tainted 6.8.0-rc6-syzkaller-g9910665503b3 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : __ntfs_malloc fs/ntfs/malloc.h:31 [inline]
pc : ntfs_malloc_nofs+0x10c/0x110 fs/ntfs/malloc.h:52
lr : __ntfs_malloc fs/ntfs/malloc.h:31 [inline]
lr : ntfs_malloc_nofs+0x10c/0x110 fs/ntfs/malloc.h:52
sp : ffff800097967500
x29: ffff800097967500 x28: ffff0000dd8e0840 x27: ffff0000dd8e0a04
x26: 0000000000000000 x25: dfff800000000000 x24: ffff0000de563918
x23: ffff0000de563800 x22: ffff0000dd8e0ba0 x21: 1fffe0001bcac723
x20: ffff0000d84fd800 x19: 0000000000000000 x18: 0000000000000000
x17: ffff80008ec9d000 x16: ffff80008aca3cc0 x15: 0000000000000001
x14: 1fffe0001bb1c112 x13: 0000000000000000 x12: 0000000000000000
x11: ffff60001bb1c113 x10: 0000000000ff0100 x9 : 0000000000000000
x8 : ffff0000d85d9e00 x7 : ffff0000d9e5f180 x6 : ffff0000d9e5f180
x5 : 0000000000000000 x4 : 0000000000000000 x3 : ffff800081720358
x2 : 0000000000000001 x1 : 0000000000000000 x0 : 0000000000000000
Call trace:
 __ntfs_malloc fs/ntfs/malloc.h:31 [inline]
 ntfs_malloc_nofs+0x10c/0x110 fs/ntfs/malloc.h:52
 ntfs_read_locked_inode+0x1830/0x38dc fs/ntfs/inode.c:703
 ntfs_iget+0x110/0x19c fs/ntfs/inode.c:177
 load_and_init_mft_mirror fs/ntfs/super.c:1035 [inline]
 load_system_files+0xe4/0x4740 fs/ntfs/super.c:1780
 ntfs_fill_super+0x14e0/0x2314 fs/ntfs/super.c:2900
 mount_bdev+0x1d4/0x2a0 fs/super.c:1658
 ntfs_mount+0x44/0x58 fs/ntfs/super.c:3057
 legacy_get_tree+0xd4/0x16c fs/fs_context.c:662
 vfs_get_tree+0x90/0x288 fs/super.c:1779
 do_new_mount+0x278/0x900 fs/namespace.c:3352
 path_mount+0x590/0xe04 fs/namespace.c:3679
 do_mount fs/namespace.c:3692 [inline]
 __do_sys_mount fs/namespace.c:3898 [inline]
 __se_sys_mount fs/namespace.c:3875 [inline]
 __arm64_sys_mount+0x45c/0x594 fs/namespace.c:3875
 __invoke_syscall arch/arm64/kernel/syscall.c:34 [inline]
 invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:48
 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:133
 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:152
 el0_svc+0x54/0x168 arch/arm64/kernel/entry-common.c:712
 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:730
 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:598
Code: 97b82088 aa1f03e0 17ffffdf 97b82085 (d4210000) 
---[ end trace 0000000000000000 ]---

Crashes (73):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/03/07 02:47 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 9910665503b3 f39a7eed .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-gce-arm64 kernel BUG in ntfs_iget
2024/01/01 06:24 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci aafe7ad77b91 fb427a07 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-gce-arm64 kernel BUG in ntfs_iget
2023/05/11 23:12 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 14f8db1c0f9a adb9a3cd .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-gce-arm64 kernel BUG in ntfs_iget
2023/12/31 22:37 upstream 2639772a11c8 fb427a07 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs kernel BUG in ntfs_iget
2023/12/14 18:27 upstream 5bd7ef53ffe5 3222d10c .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-selinux-root kernel BUG in ntfs_iget
2023/09/30 06:13 upstream 71e58659bfc0 8e26a358 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-smack-root kernel BUG in ntfs_iget
2023/06/21 15:03 upstream e660abd551f1 09ffe269 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-root kernel BUG in ntfs_iget
2023/05/11 13:34 upstream d295b66a7b66 0fbd49f4 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs kernel BUG in ntfs_iget
2023/07/31 02:45 linux-next d7b3af5a77e8 2a0d0f29 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-linux-next-kasan-gce-root kernel BUG in ntfs_iget
2024/01/05 16:46 upstream 1f874787ed9a 28c42cff .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in ntfs_iget
2024/01/01 13:15 upstream 610a9b8f49fb fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in ntfs_iget
2023/12/31 21:47 upstream 2639772a11c8 fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in ntfs_iget
2023/12/19 02:38 upstream 2cf4f94d8e86 924661f4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in ntfs_iget
2023/12/17 05:59 upstream 3b8a9b2e6809 3222d10c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in ntfs_iget
2023/12/16 20:18 upstream c8e97fc6b4c0 3222d10c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in ntfs_iget
2023/12/14 09:56 upstream 5bd7ef53ffe5 3222d10c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in ntfs_iget
2023/12/14 07:23 upstream 5bd7ef53ffe5 3222d10c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in ntfs_iget
2023/12/14 03:00 upstream 5bd7ef53ffe5 3222d10c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in ntfs_iget
2023/12/12 17:05 upstream 26aff849438c ebcad15c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in ntfs_iget
2023/12/10 03:31 upstream b10a3ccaf6e3 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in ntfs_iget
2023/12/09 19:01 upstream f2e8a57ee903 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in ntfs_iget
2023/12/08 16:12 upstream 5e3f5b81de80 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in ntfs_iget
2023/12/03 12:57 upstream 1b8af6552cb7 f819d6f7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in ntfs_iget
2023/11/30 04:44 upstream 3b47bc037bd4 f819d6f7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in ntfs_iget
2023/11/29 06:56 upstream 18d46e76d7c2 1adfb6f6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in ntfs_iget
2023/11/28 10:48 upstream df60cee26a2e 9fe51b7c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in ntfs_iget
2023/11/27 05:06 upstream d2da77f431ac 5b429f39 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in ntfs_iget
2023/11/26 04:46 upstream b46ae77f6787 5b429f39 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in ntfs_iget
2023/11/17 21:23 upstream 6bc40e44f1dd cb976f63 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in ntfs_iget
2023/11/15 12:06 upstream c42d9eeef8e5 cb976f63 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in ntfs_iget
2023/11/13 04:31 upstream b57b17e88bf5 6d6dbf8a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in ntfs_iget
2023/11/12 15:46 upstream 1b907d050735 6d6dbf8a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in ntfs_iget
2023/11/12 12:29 upstream 1b907d050735 6d6dbf8a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in ntfs_iget
2023/11/11 19:36 upstream 3ca112b71f35 6d6dbf8a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in ntfs_iget
2023/11/10 04:58 upstream 4bbdb725a36b 56230772 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in ntfs_iget
2023/11/08 01:48 upstream 13d88ac54ddd 83211397 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in ntfs_iget
2023/10/16 21:19 upstream 58720809f527 342b9c55 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in ntfs_iget
2023/10/15 16:47 upstream 9a3dad63edbe f757a323 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in ntfs_iget
2023/10/14 12:08 upstream 8cb1f10d8c4b f757a323 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in ntfs_iget
2023/10/13 08:50 upstream e8c127b05766 6388bc36 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in ntfs_iget
2023/10/01 06:32 upstream 3b517966c561 8e26a358 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in ntfs_iget
2023/09/14 07:02 upstream 23f108dc9ed2 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in ntfs_iget
2023/09/12 02:19 upstream 0bb80ecc33a8 59da8366 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in ntfs_iget
2023/09/08 20:34 upstream a48fa7efaf11 6654cf89 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in ntfs_iget
2023/09/07 21:18 upstream 7ba2090ca64e 72324844 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in ntfs_iget
2023/09/06 00:50 upstream 7733171926cc 0b6286dc .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in ntfs_iget
2023/09/04 14:46 upstream 708283abf896 db3306a6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in ntfs_iget
2023/09/04 09:16 upstream 708283abf896 696ea0d2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in ntfs_iget
2023/09/03 03:37 upstream 92901222f83d 696ea0d2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in ntfs_iget
2023/09/02 06:20 upstream b84acc11b1c9 696ea0d2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in ntfs_iget
2023/09/01 14:25 upstream 99d99825fc07 696ea0d2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in ntfs_iget
2023/09/01 10:14 upstream 99d99825fc07 696ea0d2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in ntfs_iget
2023/08/31 04:24 upstream ef2a0b7cdbc5 84803932 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in ntfs_iget
2023/08/30 23:39 upstream 6c1b980a7e79 84803932 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root kernel BUG in ntfs_iget
2023/08/30 23:28 upstream 6c1b980a7e79 84803932 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root kernel BUG in ntfs_iget
2023/08/30 23:12 upstream 6c1b980a7e79 84803932 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in ntfs_iget
2023/08/30 16:37 upstream 6c1b980a7e79 84803932 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in ntfs_iget
2023/08/24 06:31 upstream a5e505a99ca7 4d7ae7ab .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in ntfs_iget
2023/07/13 04:08 upstream eb26cbb1a754 86081196 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in ntfs_iget
2023/07/03 00:37 upstream 995b406c7e97 bfc47836 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in ntfs_iget
2023/07/01 05:49 upstream 533925cb7604 af3053d2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in ntfs_iget
2023/06/29 03:31 upstream b19edac5992d ca69c785 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in ntfs_iget
2023/06/09 01:30 upstream 25041a4c02c7 058b3a5a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in ntfs_iget
2023/05/19 13:25 upstream 2d1bcbc6cd70 3bb7af1d .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in ntfs_iget
2023/05/11 13:23 upstream d295b66a7b66 0fbd49f4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in ntfs_iget
2023/02/23 12:50 upstream 307e14c03906 9e2ebb3c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in ntfs_iget
2023/02/16 15:35 upstream 033c40a89f55 38b317a7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in ntfs_iget
2023/02/13 18:11 upstream ceaa837f96ad 957959cb .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in ntfs_iget
2023/02/12 07:32 upstream d12aca5c0cee 93e26d60 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in ntfs_iget
2023/02/12 07:05 upstream d12aca5c0cee 93e26d60 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in ntfs_iget
2023/12/15 21:56 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci d5b235ec8eab 3222d10c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 kernel BUG in ntfs_iget
2023/08/30 23:29 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci fe4469582053 84803932 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 kernel BUG in ntfs_iget
2023/06/18 06:46 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 177239177378 f3921d4d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 kernel BUG in ntfs_iget
* Struck through repros no longer work on HEAD.