syzbot


kernel BUG at fs/ntfs/aops.c:LINE!

Status: upstream: reported C repro on 2018/04/19 17:02
Reported-by: syzbot+6a5a7672f663cce8b156@syzkaller.appspotmail.com
First crash: 1620d, last: 3d19h

Cause bisection: the issue happens on the oldest tested release (bisect log)
Crash: no output from test machine (log)
Repro: C syz .config
similar bugs (2):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.14 kernel BUG at fs/ntfs/aops.c:LINE! C 103 10d 735d 0/1 upstream: reported C repro on 2020/09/20 21:54
linux-4.19 kernel BUG at fs/ntfs/aops.c:LINE! C 290 5d02h 734d 0/1 upstream: reported C repro on 2020/09/21 19:37

Sample crash report:
------------[ cut here ]------------
kernel BUG at fs/ntfs/aops.c:186!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 3607 Comm: syz-executor518 Not tainted 6.0.0-rc6-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022
RIP: 0010:ntfs_read_block fs/ntfs/aops.c:186 [inline]
RIP: 0010:ntfs_read_folio+0x2346/0x2e10 fs/ntfs/aops.c:436
Code: 00 48 8b 44 24 50 31 ff 48 8b 98 30 fd ff ff 48 c1 eb 03 83 e3 01 89 de e8 f7 c4 e1 fe 84 db 0f 85 59 eb ff ff e8 6a c8 e1 fe <0f> 0b e8 63 c8 e1 fe 48 c7 c6 a0 e7 20 8a 4c 89 f7 e8 74 95 17 ff
RSP: 0018:ffffc90002f97728 EFLAGS: 00010293
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: ffff888072630100 RSI: ffffffff82996fb6 RDI: 0000000000000001
RBP: ffff88806d07c090 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000001 R12: ffff88806d07c090
R13: ffffea0001b51418 R14: ffffea0001b51400 R15: ffffea0001b51420
FS:  0000555556b82300(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005610700306a8 CR3: 000000007c9e3000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 filemap_read_folio+0x3c/0x1d0 mm/filemap.c:2394
 do_read_cache_folio+0x1df/0x510 mm/filemap.c:3519
 do_read_cache_page mm/filemap.c:3561 [inline]
 read_cache_page+0x59/0x2b0 mm/filemap.c:3570
 read_mapping_page include/linux/pagemap.h:756 [inline]
 ntfs_map_page fs/ntfs/aops.h:75 [inline]
 map_mft_record_page fs/ntfs/mft.c:73 [inline]
 map_mft_record+0x1db/0x6b0 fs/ntfs/mft.c:156
 ntfs_read_locked_inode+0x19c/0x5ae0 fs/ntfs/inode.c:550
 ntfs_read_inode_mount+0xd72/0x2580 fs/ntfs/inode.c:2091
 ntfs_fill_super+0x17c7/0x9300 fs/ntfs/super.c:2854
 mount_bdev+0x34d/0x410 fs/super.c:1400
 legacy_get_tree+0x105/0x220 fs/fs_context.c:610
 vfs_get_tree+0x89/0x2f0 fs/super.c:1530
 do_new_mount fs/namespace.c:3040 [inline]
 path_mount+0x1326/0x1e20 fs/namespace.c:3370
 do_mount fs/namespace.c:3383 [inline]
 __do_sys_mount fs/namespace.c:3591 [inline]
 __se_sys_mount fs/namespace.c:3568 [inline]
 __x64_sys_mount+0x27f/0x300 fs/namespace.c:3568
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f0219dbd33a
Code: 83 c4 08 5b 5d c3 66 2e 0f 1f 84 00 00 00 00 00 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 c0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fffd09ac558 EFLAGS: 00000286 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007fffd09ac5b0 RCX: 00007f0219dbd33a
RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007fffd09ac570
RBP: 00007fffd09ac570 R08: 00007fffd09ac5b0 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000286 R12: 00000000200002c0
R13: 0000000000000003 R14: 0000000000000004 R15: 0000000000000008
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:ntfs_read_block fs/ntfs/aops.c:186 [inline]
RIP: 0010:ntfs_read_folio+0x2346/0x2e10 fs/ntfs/aops.c:436
Code: 00 48 8b 44 24 50 31 ff 48 8b 98 30 fd ff ff 48 c1 eb 03 83 e3 01 89 de e8 f7 c4 e1 fe 84 db 0f 85 59 eb ff ff e8 6a c8 e1 fe <0f> 0b e8 63 c8 e1 fe 48 c7 c6 a0 e7 20 8a 4c 89 f7 e8 74 95 17 ff
RSP: 0018:ffffc90002f97728 EFLAGS: 00010293
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: ffff888072630100 RSI: ffffffff82996fb6 RDI: 0000000000000001
RBP: ffff88806d07c090 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000001 R12: ffff88806d07c090
R13: ffffea0001b51418 R14: ffffea0001b51400 R15: ffffea0001b51420
FS:  0000555556b82300(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055895c90c0e8 CR3: 000000007c9e3000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Fix bisection attempts:
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce-smack-root 2021/04/02 13:37 upstream 1678e493d530 d81b165e .config log report syz C
ci-upstream-kasan-gce-root 2020/08/27 03:08 upstream 15bc20c6af4c 3642839c .config log report syz C
ci-upstream-kasan-gce-root 2020/07/26 13:40 upstream 04300d66f0a0 3642839c .config log report syz C
ci-upstream-kasan-gce-root 2020/06/15 14:26 upstream b3a9e3b9622a 3642839c .config log report syz C
ci-upstream-kasan-gce-root 2020/05/16 13:19 upstream 12bf0b632ed0 3642839c .config log report syz C
ci-upstream-kasan-gce-root 2020/04/16 13:03 upstream 00086336a8d9 3642839c .config log report syz C
ci-upstream-kasan-gce-root 2020/03/16 22:15 upstream fb33c6510d55 3642839c .config log report syz C
ci-upstream-kasan-gce-root 2020/02/11 21:13 upstream 0a679e13ea30 3642839c .config log report syz C
ci-upstream-kasan-gce-root 2020/01/12 20:49 upstream 040a3c33623b 3642839c .config log report syz C
ci-upstream-kasan-gce-root 2019/12/10 13:36 upstream 6794862a16ef 3642839c .config log report syz C
ci-upstream-kasan-gce-root 2019/08/01 06:57 upstream 87ef12027b9b 3642839c .config log report syz C
* Struck through repros no longer work on HEAD.
Crashes (668):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce-selinux-root 2022/09/19 16:25 upstream 521a547ced64 dd9a85ff .config log report syz C kernel BUG in ntfs_read_folio
ci-upstream-kasan-gce-root 2022/09/17 03:30 upstream 6879c2d3b960 dd9a85ff .config log report syz C kernel BUG in ntfs_read_folio
ci-upstream-kasan-gce-smack-root 2022/09/08 19:50 upstream 26b1224903b3 f3027468 .config log report syz C kernel BUG in ntfs_read_block
ci-upstream-kasan-gce-smack-root 2022/08/22 05:55 upstream e3f259d33c0e 26a13b38 .config log report syz C kernel BUG in ntfs_read_block
ci-upstream-kasan-gce-root 2022/07/14 20:36 upstream 4a57a8400075 5d921b08 .config log report syz C kernel BUG in ntfs_read_folio
ci-upstream-kasan-gce-selinux-root 2022/07/11 02:32 upstream d9919d43cbf6 b5765a15 .config log report syz C kernel BUG in ntfs_read_folio
ci-upstream-kasan-gce-root 2022/07/05 08:43 upstream c1084b6c5620 bff65f44 .config log report syz C kernel BUG in ntfs_read_folio
ci-qemu-upstream 2022/06/25 06:43 upstream cbe232ab07ab a371c43c .config log report syz C kernel BUG in ntfs_read_folio
ci-qemu-upstream 2022/06/22 04:51 upstream ca1fdab7fd27 0fc5c330 .config log report syz C kernel BUG in ntfs_read_folio
ci-upstream-kasan-gce-root 2022/04/22 17:58 upstream d569e86915b7 131df97d .config log report syz C kernel BUG in ntfs_readpage
ci-upstream-kasan-gce-selinux-root 2022/02/19 16:24 upstream 4f12b742eb2b 3cd800e4 .config log report syz C kernel BUG in ntfs_readpage
ci-upstream-kasan-gce-root 2021/12/18 07:13 upstream 6441998e2e37 44068e19 .config log report syz C kernel BUG in ntfs_readpage
ci-upstream-kasan-gce-smack-root 2020/10/09 16:05 upstream 583090b1b823 d81b165e .config log report syz C
ci-upstream-kasan-gce-selinux-root 2020/10/07 16:36 upstream c85fb28b6f99 1880b4a9 .config log report syz C
ci-upstream-kasan-gce-root 2020/10/04 22:03 upstream 22fbc037cd32 5ef9c291 .config log report syz C
ci-upstream-kasan-gce-smack-root 2020/09/26 12:26 upstream 7c7ec3226f5f 4a006f63 .config log report syz C
ci-upstream-kasan-gce-root 2018/04/19 16:49 upstream 87ef12027b9b 3642839c .config log report syz C
ci-upstream-linux-next-kasan-gce-root 2022/08/23 19:47 linux-next 05477f3653b8 cea8b0f7 .config log report syz C kernel BUG in ntfs_read_folio
ci-upstream-linux-next-kasan-gce-root 2022/08/12 15:53 linux-next 6c8f479764eb 402cd70d .config log report syz C kernel BUG in ntfs_read_folio
ci-upstream-linux-next-kasan-gce-root 2022/06/01 19:20 linux-next 5d8e7e3bbaaf 3666edfe .config log report syz C kernel BUG in ntfs_read_folio
ci-upstream-linux-next-kasan-gce-root 2020/11/02 17:27 linux-next b49976d8ef64 8bc4594f .config log report syz C
ci-upstream-gce-arm64 2022/09/15 16:25 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a6b443748715 dd9a85ff .config log report syz C kernel BUG in ntfs_read_block
ci2-upstream-fs 2022/09/22 13:55 upstream dc164f4fb00a 60af5050 .config log report info kernel BUG in ntfs_read_block
ci-upstream-kasan-gce-smack-root 2022/09/22 09:08 upstream 06f7db949993 60af5050 .config log report info kernel BUG in ntfs_read_block
ci2-upstream-fs 2022/09/22 05:09 upstream 06f7db949993 60af5050 .config log report info kernel BUG in ntfs_read_block
ci2-upstream-fs 2022/09/22 02:35 upstream 06f7db949993 60af5050 .config log report info kernel BUG in ntfs_read_block
ci2-upstream-fs 2022/09/22 02:13 upstream 06f7db949993 60af5050 .config log report info kernel BUG in ntfs_read_block
ci2-upstream-fs 2022/09/21 23:07 upstream 06f7db949993 60af5050 .config log report info kernel BUG in ntfs_read_block
ci2-upstream-fs 2022/09/21 20:43 upstream 06f7db949993 380f82fb .config log report info kernel BUG in ntfs_read_block
ci2-upstream-fs 2022/09/21 14:41 upstream 60891ec99e14 380f82fb .config log report info kernel BUG in ntfs_read_block
ci2-upstream-fs 2022/09/21 11:29 upstream 60891ec99e14 380f82fb .config log report info kernel BUG in ntfs_read_block
ci2-upstream-fs 2022/09/21 06:24 upstream 60891ec99e14 c4b8ccfd .config log report info kernel BUG in ntfs_read_block
ci2-upstream-fs 2022/09/20 22:58 upstream 60891ec99e14 c4b8ccfd .config log report info kernel BUG in ntfs_read_block
ci2-upstream-fs 2022/09/20 21:37 upstream 60891ec99e14 c4b8ccfd .config log report info kernel BUG in ntfs_read_block
ci2-upstream-fs 2022/09/20 19:36 upstream 60891ec99e14 c4b8ccfd .config log report info kernel BUG in ntfs_read_block
ci2-upstream-fs 2022/09/20 14:09 upstream 521a547ced64 7c41a9ba .config log report info kernel BUG in ntfs_read_block
ci2-upstream-fs 2022/09/20 09:58 upstream 521a547ced64 7c41a9ba .config log report info kernel BUG in ntfs_read_block
ci-upstream-kasan-gce-root 2022/09/20 06:53 upstream 521a547ced64 dd9a85ff .config log report info kernel BUG in ntfs_read_folio
ci2-upstream-fs 2022/09/20 05:19 upstream 521a547ced64 dd9a85ff .config log report info kernel BUG in ntfs_read_block
ci2-upstream-fs 2022/09/20 04:15 upstream 521a547ced64 dd9a85ff .config log report info kernel BUG in ntfs_read_block
ci2-upstream-fs 2022/09/20 02:42 upstream 521a547ced64 dd9a85ff .config log report info kernel BUG in ntfs_read_block
ci2-upstream-fs 2022/09/19 22:25 upstream 521a547ced64 dd9a85ff .config log report info kernel BUG in ntfs_read_block
ci-upstream-kasan-gce-selinux-root 2022/09/19 20:02 upstream 521a547ced64 dd9a85ff .config log report info kernel BUG in ntfs_read_folio
ci2-upstream-fs 2022/09/19 14:17 upstream 521a547ced64 dd9a85ff .config log report info kernel BUG in ntfs_read_block
ci-upstream-kasan-gce-root 2022/09/19 04:21 upstream 38eddeedbbea dd9a85ff .config log report info kernel BUG in ntfs_read_folio
ci-upstream-kasan-gce-root 2022/09/19 01:08 upstream 38eddeedbbea dd9a85ff .config log report info kernel BUG in ntfs_read_folio
ci-upstream-kasan-gce-root 2022/09/18 12:59 upstream a335366bad13 dd9a85ff .config log report info kernel BUG in ntfs_read_folio
ci-upstream-kasan-gce-root 2022/09/18 10:45 upstream a335366bad13 dd9a85ff .config log report info kernel BUG in ntfs_read_folio
ci-upstream-kasan-gce-smack-root 2022/09/18 06:11 upstream a335366bad13 dd9a85ff .config log report info kernel BUG in ntfs_read_block
ci-upstream-kasan-gce-root 2022/09/17 20:19 upstream a335366bad13 dd9a85ff .config log report info kernel BUG in ntfs_read_folio
ci-upstream-kasan-gce-selinux-root 2022/09/17 13:02 upstream a335366bad13 dd9a85ff .config log report info kernel BUG in ntfs_read_folio
ci-upstream-kasan-gce-selinux-root 2022/09/15 15:12 upstream 3245cb65fd91 dd9a85ff .config log report info kernel BUG in ntfs_read_folio
ci-upstream-kasan-gce-selinux-root 2022/09/15 05:07 upstream 3245cb65fd91 b884348d .config log report info kernel BUG in ntfs_read_folio
ci-upstream-kasan-gce-root 2022/09/14 18:05 upstream 3245cb65fd91 b884348d .config log report info kernel BUG in ntfs_read_folio
ci-upstream-kasan-gce-selinux-root 2022/09/14 11:07 upstream d1221cea11fc b884348d .config log report info kernel BUG in ntfs_read_folio
ci-upstream-kasan-gce-selinux-root 2022/09/14 08:46 upstream d1221cea11fc b884348d .config log report info kernel BUG in ntfs_read_folio
ci-qemu-upstream 2022/09/10 10:13 upstream ce888220d5c7 356d8217 .config log report info kernel BUG in ntfs_read_folio
ci-upstream-kasan-gce-selinux-root 2022/05/13 01:53 upstream 0ac824f379fb 9ad6612a .config log report info kernel BUG in ntfs_readpage
ci-upstream-kasan-gce-root 2018/04/19 14:35 upstream 87ef12027b9b 3642839c .config log report
ci-qemu-upstream-386 2022/09/16 03:02 upstream 3245cb65fd91 dd9a85ff .config log report info kernel BUG in ntfs_read_folio
ci-qemu-upstream-386 2022/09/13 15:27 upstream e839a756012b a08652b0 .config log report info kernel BUG in ntfs_read_folio
ci-qemu2-arm64-compat 2021/03/02 22:38 upstream 7a7fd0de4a98 e5b64d68 .config log report info kernel BUG in ntfs_readpage
ci-upstream-linux-next-kasan-gce-root 2022/09/21 01:39 linux-next e47eb90a0a9a c4b8ccfd .config log report info kernel BUG in ntfs_read_folio
ci-upstream-linux-next-kasan-gce-root 2022/09/20 15:12 linux-next e47eb90a0a9a 7c41a9ba .config log report info kernel BUG in ntfs_read_folio
ci-upstream-linux-next-kasan-gce-root 2022/09/12 12:18 linux-next e47eb90a0a9a 356d8217 .config log report info kernel BUG in ntfs_read_folio
ci-upstream-linux-next-kasan-gce-root 2020/12/26 20:44 linux-next d7a03a44a5e9 821e0b09 .config log report info
ci-upstream-gce-arm64 2022/09/21 19:00 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 4a4a085d97ce 380f82fb .config log report info kernel BUG in ntfs_read_block
ci-upstream-gce-arm64 2022/09/21 07:55 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 5aa266bb455b c4b8ccfd .config log report info kernel BUG in ntfs_read_block
ci-upstream-gce-arm64 2022/09/19 05:45 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a6b443748715 dd9a85ff .config log report info kernel BUG in ntfs_read_block
ci-upstream-gce-arm64 2022/09/18 17:12 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a6b443748715 dd9a85ff .config log report info kernel BUG in ntfs_read_block
ci-upstream-gce-arm64 2022/09/17 09:27 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a6b443748715 dd9a85ff .config log report info kernel BUG in ntfs_read_block
ci-upstream-gce-arm64 2022/09/16 20:57 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a6b443748715 dd9a85ff .config log report info kernel BUG in ntfs_read_block
ci-upstream-gce-arm64 2022/09/16 18:44 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a6b443748715 dd9a85ff .config log report info kernel BUG in ntfs_read_block
ci-upstream-gce-arm64 2022/09/15 12:57 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a6b443748715 dd9a85ff .config log report info kernel BUG in ntfs_read_block
ci-upstream-gce-arm64 2022/09/14 15:46 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a6b443748715 b884348d .config log report info kernel BUG in ntfs_read_block
ci-upstream-gce-arm64 2022/09/14 12:24 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a6b443748715 b884348d .config log report info kernel BUG in ntfs_read_block
ci-upstream-gce-arm64 2022/09/14 08:36 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a6b443748715 b884348d .config log report info kernel BUG in ntfs_read_block
ci-upstream-gce-arm64 2022/09/13 06:20 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a6b443748715 f371ed7e .config log report info kernel BUG in ntfs_read_block
ci-upstream-gce-arm64 2022/09/13 02:10 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a6b443748715 f371ed7e .config log report info kernel BUG in ntfs_read_block
* Struck through repros no longer work on HEAD.