syzbot


BUG: unable to handle kernel paging request in ntfs_fill_super (2)

Status: moderation: reported on 2024/05/08 13:49
Subsystems: mm
[Documentation on labels]
Reported-by: syzbot+5d868aac999baa886346@syzkaller.appspotmail.com
First crash: 52d, last: 18d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream BUG: unable to handle kernel paging request in ntfs_fill_super mm 1 154d 153d 0/27 auto-obsoleted due to no activity on 2024/04/23 01:51
upstream KASAN: slab-out-of-bounds Read in ntfs_fill_super ntfs3 C error unreliable 128 257d 633d 0/27 auto-obsoleted due to no activity on 2023/12/21 03:26

Sample crash report:
ntfs3: loop2: Different NTFS sector size (2048) and media sector size (512).
BUG: unable to handle page fault for address: fffffffd8956c8ec
#PF: supervisor write access in kernel mode
#PF: error_code(0x0002) - not-present page
PGD d97e067 P4D d97e067 PUD 0 
Oops: Oops: 0002 [#1] PREEMPT SMP KASAN NOPTI
CPU: 1 PID: 7962 Comm: syz-executor.2 Not tainted 6.10.0-rc2-syzkaller-00269-g96e09b8f8166 #0
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
RIP: 0010:alloc_pages_mpol_noprof+0x274/0x610 mm/mempolicy.c:2265
Code: 00 44 89 fe e8 ad e9 a6 ff 45 85 ff 75 05 45 31 ff eb 5f e8 9e ee a6 ff 8b 54 24 58 44 89 e6 44 89 ef 48 8b 0c 24 e8 2b 2f f7 <ff> 4c 89 f2 48 c1 ea 03 49 89 c7 48 b8 00 00 00 00 00 fc ff df 0f
RSP: 0018:ffffc90003fd7898 EFLAGS: 00010286
RAX: ffffea0001231dc0 RBX: 1ffff920007faf16 RCX: ffffffff81de2832
RDX: 0000000000000000 RSI: ffffffff8b900140 RDI: ffffffff8d4d0b48
RBP: ffffffff94b66780 R08: 0000000000000000 R09: fffffbfff1fc8d1a
R10: ffffffff8fe468d7 R11: 0000000000000001 R12: 0000000000000000
R13: 0000000000140cca R14: ffffffff94b66784 R15: 0000000000000001
FS:  00007f3c2a33f6c0(0000) GS:ffff88806b100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: fffffffd8956c8ec CR3: 000000002ba1e000 CR4: 0000000000350ef0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 folio_alloc_noprof+0x1e/0xc0 mm/mempolicy.c:2343
 filemap_alloc_folio_noprof+0x3ba/0x490 mm/filemap.c:1008
 do_read_cache_folio+0x1b6/0x540 mm/filemap.c:3752
 do_read_cache_page mm/filemap.c:3854 [inline]
 read_cache_page+0x5b/0x160 mm/filemap.c:3863
 read_mapping_page include/linux/pagemap.h:896 [inline]
 ntfs_map_page fs/ntfs3/ntfs_fs.h:922 [inline]
 ntfs_fill_super+0x3896/0x4460 fs/ntfs3/super.c:1501
 get_tree_bdev+0x36f/0x610 fs/super.c:1615
 vfs_get_tree+0x8f/0x380 fs/super.c:1780
 do_new_mount fs/namespace.c:3352 [inline]
 path_mount+0x14e6/0x1f20 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]
 __x64_sys_mount+0x297/0x320 fs/namespace.c:3875
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f3c2967e5ea
Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 09 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 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:00007f3c2a33eef8 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f3c2a33ef80 RCX: 00007f3c2967e5ea
RDX: 000000002001f340 RSI: 000000002001f380 RDI: 00007f3c2a33ef40
RBP: 000000002001f340 R08: 00007f3c2a33ef80 R09: 0000000001008800
R10: 0000000001008800 R11: 0000000000000202 R12: 000000002001f380
R13: 00007f3c2a33ef40 R14: 000000000001f372 R15: 0000000020000080
 </TASK>
Modules linked in:
CR2: fffffffd8956c8ec
---[ end trace 0000000000000000 ]---
RIP: 0010:alloc_pages_mpol_noprof+0x274/0x610 mm/mempolicy.c:2265
Code: 00 44 89 fe e8 ad e9 a6 ff 45 85 ff 75 05 45 31 ff eb 5f e8 9e ee a6 ff 8b 54 24 58 44 89 e6 44 89 ef 48 8b 0c 24 e8 2b 2f f7 <ff> 4c 89 f2 48 c1 ea 03 49 89 c7 48 b8 00 00 00 00 00 fc ff df 0f
RSP: 0018:ffffc90003fd7898 EFLAGS: 00010286
RAX: ffffea0001231dc0 RBX: 1ffff920007faf16 RCX: ffffffff81de2832
RDX: 0000000000000000 RSI: ffffffff8b900140 RDI: ffffffff8d4d0b48
RBP: ffffffff94b66780 R08: 0000000000000000 R09: fffffbfff1fc8d1a
R10: ffffffff8fe468d7 R11: 0000000000000001 R12: 0000000000000000
R13: 0000000000140cca R14: ffffffff94b66784 R15: 0000000000000001
FS:  00007f3c2a33f6c0(0000) GS:ffff88806b100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: fffffffd8956c8ec CR3: 000000002ba1e000 CR4: 0000000000350ef0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/06/08 02:43 upstream 96e09b8f8166 c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream BUG: unable to handle kernel paging request in ntfs_fill_super
2024/05/04 13:46 upstream 7367539ad4b0 610f2a54 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream BUG: unable to handle kernel paging request in ntfs_fill_super
2024/05/25 04:26 upstream 02c438bbfffe c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 BUG: unable to handle kernel paging request in ntfs_fill_super
* Struck through repros no longer work on HEAD.