syzbot


kernel BUG in __ntfs_grab_cache_pages

Status: upstream: reported C repro on 2022/09/26 17:05
Reported-by: syzbot+01b3ade7c86f7dd584d7@syzkaller.appspotmail.com
First crash: 64d, last: 4h25m

Cause bisection: failed (bisect log)

Sample crash report:
------------[ cut here ]------------
kernel BUG at fs/ntfs/file.c:493!
Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP
Modules linked in:
CPU: 1 PID: 4693 Comm: syz-executor317 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : __ntfs_grab_cache_pages+0x30c/0x328 fs/ntfs/file.c:493
lr : __ntfs_grab_cache_pages+0x30c/0x328 fs/ntfs/file.c:493
sp : ffff80001678baa0
x29: ffff80001678baa0 x28: ffff0000ca2aae80 x27: ffff80001678bb70
x26: 00000000ffffffff x25: ffff0000ca2ab3c8 x24: 000000000000001b
x23: 0000000000000000 x22: ffff80001678bb68 x21: ffff0000ca2aae80
x20: 0000000000000000 x19: ffff80001678bb70 x18: 00000000000001c3
x17: ffff80000bffd6bc x16: ffff80000db49158 x15: ffff0000c10c4f80
x14: 0000000000000030 x13: 00000000ffffffff x12: ffff0000c10c4f80
x11: ff80800008b9c468 x10: 0000000000000000 x9 : ffff800008b9c468
x8 : ffff0000c10c4f80 x7 : ffff80000846b13c x6 : 0000000000000000
x5 : 0000000000000000 x4 : ffff80001678bb68 x3 : ffff80001678bb70
x2 : 0000000000000000 x1 : 0000000000000000 x0 : 0000000000000000
Call trace:
 __ntfs_grab_cache_pages+0x30c/0x328 fs/ntfs/file.c:493
 ntfs_perform_write+0x224/0xa98 fs/ntfs/file.c:1833
 ntfs_file_write_iter+0x2c4/0x4f0 fs/ntfs/file.c:1917
 call_write_iter include/linux/fs.h:2187 [inline]
 new_sync_write fs/read_write.c:491 [inline]
 vfs_write+0x2dc/0x46c fs/read_write.c:578
 ksys_write+0xb4/0x160 fs/read_write.c:631
 __do_sys_write fs/read_write.c:643 [inline]
 __se_sys_write fs/read_write.c:640 [inline]
 __arm64_sys_write+0x24/0x34 fs/read_write.c:640
 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
 invoke_syscall arch/arm64/kernel/syscall.c:52 [inline]
 el0_svc_common+0x138/0x220 arch/arm64/kernel/syscall.c:142
 do_el0_svc+0x48/0x164 arch/arm64/kernel/syscall.c:206
 el0_svc+0x58/0x150 arch/arm64/kernel/entry-common.c:636
 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:654
 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:581
Code: 17ffff88 97dc0dee 17ffff86 97dc0dec (d4210000) 
---[ end trace 0000000000000000 ]---

Crashes (152):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-gce-arm64 2022/10/06 01:09 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 2c6543ad .config log report syz C kernel BUG in __ntfs_grab_cache_pages
ci-upstream-gce-arm64 2022/09/25 22:18 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci c194837ebb57 0042f2b4 .config log report syz C kernel BUG in __ntfs_grab_cache_pages
ci-upstream-kasan-gce-root 2022/09/28 08:59 upstream 46452d3786a8 75c78242 .config log report syz C kernel BUG in ntfs_perform_write
ci2-upstream-fs 2022/09/27 02:26 upstream f76349cf4145 d59ba983 .config log report syz C kernel BUG in ntfs_file_write_iter
ci-upstream-linux-next-kasan-gce-root 2022/10/26 05:08 linux-next 4d48f589d294 1984aebd .config log report syz C kernel BUG in ntfs_perform_write
ci-upstream-gce-arm64 2022/11/28 16:55 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 6d464646530f 247de55b .config log report info kernel BUG in __ntfs_grab_cache_pages
ci-upstream-gce-arm64 2022/11/27 22:56 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 6d464646530f 74a66371 .config log report info kernel BUG in __ntfs_grab_cache_pages
ci-upstream-gce-arm64 2022/11/27 21:52 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 6d464646530f 74a66371 .config log report info kernel BUG in __ntfs_grab_cache_pages
ci-upstream-gce-arm64 2022/11/27 20:28 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 6d464646530f 74a66371 .config log report info kernel BUG in __ntfs_grab_cache_pages
ci-upstream-gce-arm64 2022/11/27 01:50 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 6d464646530f 74a66371 .config log report info kernel BUG in __ntfs_grab_cache_pages
ci-upstream-gce-arm64 2022/11/20 14:36 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 9500fc6e9e60 5bb70014 .config log report info kernel BUG in __ntfs_grab_cache_pages
ci-upstream-gce-arm64 2022/11/13 16:08 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 1621b6eaebf7 3ead01ad .config log report info kernel BUG in __ntfs_grab_cache_pages
ci-upstream-gce-arm64 2022/11/03 14:44 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 7a2ebf95 .config log report info kernel BUG in __ntfs_grab_cache_pages
ci2-upstream-fs 2022/11/29 08:01 upstream ca57f02295f1 ca9683b8 .config log report info kernel BUG in ntfs_file_write_iter
ci2-upstream-fs 2022/11/28 10:30 upstream cf562a45a0d5 f4470a7b .config log report info kernel BUG in ntfs_file_write_iter
ci2-upstream-fs 2022/11/28 08:04 upstream cf562a45a0d5 f4470a7b .config log report info kernel BUG in ntfs_file_write_iter
ci2-upstream-fs 2022/11/28 05:58 upstream cf562a45a0d5 f4470a7b .config log report info kernel BUG in ntfs_file_write_iter
ci2-upstream-fs 2022/11/27 17:13 upstream faf68e3523c2 f4470a7b .config log report info kernel BUG in ntfs_file_write_iter
ci2-upstream-fs 2022/11/26 19:58 upstream 644e9524388a f4470a7b .config log report info kernel BUG in ntfs_file_write_iter
ci2-upstream-fs 2022/11/26 14:03 upstream 08ad43d554ba f4470a7b .config log report info kernel BUG in ntfs_file_write_iter
ci-qemu-upstream 2022/11/26 10:46 upstream 0b1dcc2cf55a f4470a7b .config log report info kernel BUG in ntfs_perform_write
ci2-upstream-fs 2022/11/25 23:22 upstream 08ad43d554ba f4470a7b .config log report info kernel BUG in ntfs_file_write_iter
ci-upstream-kasan-gce-root 2022/11/25 19:35 upstream 08ad43d554ba 74a66371 .config log report info kernel BUG in ntfs_perform_write
ci2-upstream-fs 2022/11/25 18:23 upstream c3eb11fbb826 74a66371 .config log report info kernel BUG in ntfs_file_write_iter
ci2-upstream-fs 2022/11/25 06:43 upstream c3eb11fbb826 74a66371 .config log report info kernel BUG in ntfs_file_write_iter
ci2-upstream-fs 2022/11/24 18:28 upstream 4312098baf37 ff68ff8f .config log report info kernel BUG in ntfs_file_write_iter
ci2-upstream-fs 2022/11/24 16:42 upstream 4312098baf37 ff68ff8f .config log report info kernel BUG in ntfs_file_write_iter
ci2-upstream-fs 2022/11/23 16:05 upstream eb7081409f94 52fdf57a .config log report info kernel BUG in ntfs_file_write_iter
ci2-upstream-fs 2022/11/23 14:51 upstream eb7081409f94 52fdf57a .config log report info kernel BUG in ntfs_file_write_iter
ci2-upstream-fs 2022/11/23 13:22 upstream eb7081409f94 52fdf57a .config log report info kernel BUG in ntfs_file_write_iter
ci2-upstream-fs 2022/11/23 04:23 upstream eb7081409f94 9da37ae8 .config log report info kernel BUG in ntfs_file_write_iter
ci2-upstream-fs 2022/11/23 03:05 upstream eb7081409f94 9da37ae8 .config log report info kernel BUG in ntfs_file_write_iter
ci2-upstream-fs 2022/11/23 01:07 upstream eb7081409f94 9da37ae8 .config log report info kernel BUG in ntfs_file_write_iter
ci2-upstream-fs 2022/11/22 18:19 upstream eb7081409f94 9da37ae8 .config log report info kernel BUG in ntfs_file_write_iter
ci2-upstream-fs 2022/11/22 09:02 upstream eb7081409f94 1c576c23 .config log report info kernel BUG in ntfs_file_write_iter
ci-upstream-kasan-gce-root 2022/11/22 00:00 upstream eb7081409f94 1c576c23 .config log report info kernel BUG in ntfs_perform_write
ci2-upstream-fs 2022/11/21 06:35 upstream eb7081409f94 5bb70014 .config log report info kernel BUG in ntfs_file_write_iter
ci2-upstream-fs 2022/11/20 20:19 upstream 77c51ba552a1 5bb70014 .config log report info kernel BUG in ntfs_file_write_iter
ci2-upstream-fs 2022/11/20 15:55 upstream 77c51ba552a1 5bb70014 .config log report info kernel BUG in ntfs_file_write_iter
ci2-upstream-fs 2022/11/16 16:26 upstream 81e7cfa3a9eb 3a127a31 .config log report info kernel BUG in ntfs_file_write_iter
ci2-upstream-fs 2022/11/10 16:29 upstream f67dd6ce0723 3ead01ad .config log report info kernel BUG in ntfs_file_write_iter
ci2-upstream-fs 2022/11/09 06:38 upstream f141df371335 5fa28208 .config log report info kernel BUG in ntfs_file_write_iter
ci2-upstream-fs 2022/11/08 07:28 upstream 59f2f4b8a757 6feb842b .config log report info kernel BUG in ntfs_file_write_iter
ci2-upstream-fs 2022/11/03 12:09 upstream b229b6ca5abb 7a2ebf95 .config log report info kernel BUG in ntfs_file_write_iter
ci2-upstream-fs 2022/11/03 06:42 upstream b229b6ca5abb 7a2ebf95 .config log report info kernel BUG in ntfs_file_write_iter
ci2-upstream-fs 2022/11/02 05:20 upstream b229b6ca5abb 08977f5d .config log report info kernel BUG in ntfs_file_write_iter
ci2-upstream-fs 2022/11/02 04:15 upstream b229b6ca5abb 08977f5d .config log report info kernel BUG in ntfs_file_write_iter
ci2-upstream-fs 2022/11/01 10:10 upstream b229b6ca5abb a1d8560a .config log report info kernel BUG in ntfs_file_write_iter
ci2-upstream-fs 2022/11/01 08:22 upstream b229b6ca5abb a1d8560a .config log report info kernel BUG in ntfs_file_write_iter
ci2-upstream-fs 2022/11/01 03:28 upstream b229b6ca5abb a1d8560a .config log report info kernel BUG in ntfs_file_write_iter
ci2-upstream-fs 2022/10/31 18:47 upstream b229b6ca5abb 2a71366b .config log report info kernel BUG in ntfs_file_write_iter
ci-upstream-kasan-gce-root 2022/10/31 18:34 upstream b229b6ca5abb 2a71366b .config log report info kernel BUG in ntfs_perform_write
ci-upstream-kasan-gce-smack-root 2022/10/29 20:34 upstream b229b6ca5abb 899d812a .config log report info kernel BUG in ntfs_file_write_iter
ci2-upstream-fs 2022/10/28 13:45 upstream b229b6ca5abb 8168b69e .config log report info kernel BUG in ntfs_file_write_iter
ci-upstream-kasan-gce-selinux-root 2022/10/16 17:10 upstream 55be6084c8e0 67cb024c .config log report info kernel BUG in ntfs_perform_write
* Struck through repros no longer work on HEAD.