syzbot


BUG: unable to handle kernel paging request in mi_init

Status: upstream: reported on 2025/02/14 06:55
Subsystems: ntfs3
[Documentation on labels]
Reported-by: syzbot+8282d8328968be03242e@syzkaller.appspotmail.com
First crash: 84d, last: 24d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [ntfs3?] BUG: unable to handle kernel paging request in mi_init 0 (1) 2025/02/14 06:55

Sample crash report:
loop0: detected capacity change from 0 to 4096
ntfs3(loop0): Different NTFS sector size (1024) and media sector size (512).
BUG: unable to handle page fault for address: ffffed110893775b
#PF: supervisor read access in kernel mode
#PF: error_code(0x0000) - not-present page
PGD 5ffcd067 P4D 5ffcd067 PUD 0 
Oops: Oops: 0000 [#1] PREEMPT SMP KASAN NOPTI
CPU: 0 UID: 0 PID: 5321 Comm: syz.0.0 Not tainted 6.14.0-rc4-syzkaller-00199-g76544811c850 #0
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
RIP: 0010:mi_init+0x86/0xe0 fs/ntfs3/record.c:105
Code: 89 f0 48 c1 e8 03 42 0f b6 04 20 84 c0 75 5d 41 8b 3e be 40 0c 00 00 e8 e8 97 fc fe 48 89 c5 48 83 c3 20 48 89 d8 48 c1 e8 03 <42> 80 3c 20 00 74 08 48 89 df e8 bb ff 07 ff 48 89 2b 31 c9 48 85
RSP: 0018:ffffc9000d3f7690 EFLAGS: 00010a06
RAX: 1ffff1100893775c RBX: ffff8880449bbae0 RCX: 0000000000000800
RDX: 0000000000000400 RSI: ffffffff8c80ef60 RDI: ffffffff8c80ef20
RBP: ffff8880434db000 R08: 0000000000000c40 R09: 00000000ffffffff
R10: dffffc0000000000 R11: fffffbfff28a9329 R12: dffffc00ffffffff
R13: ffff888053308000 R14: ffff888053308030 R15: 000000000000000a
FS:  00007f52e64736c0(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffed110893775b CR3: 0000000043618000 CR4: 0000000000352ef0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 ntfs_read_mft fs/ntfs3/inode.c:54 [inline]
 ntfs_iget5+0x372/0x3810 fs/ntfs3/inode.c:540
 ntfs_fill_super+0x3e7c/0x4720 fs/ntfs3/super.c:1477
 get_tree_bdev_flags+0x48c/0x5c0 fs/super.c:1636
 vfs_get_tree+0x90/0x2b0 fs/super.c:1814
 do_new_mount+0x2be/0xb40 fs/namespace.c:3560
 do_mount fs/namespace.c:3900 [inline]
 __do_sys_mount fs/namespace.c:4111 [inline]
 __se_sys_mount+0x2d6/0x3c0 fs/namespace.c:4088
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f52e558e90a
Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 1a 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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f52e6472e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f52e6472ef0 RCX: 00007f52e558e90a
RDX: 0000400000000140 RSI: 0000400000000980 RDI: 00007f52e6472eb0
RBP: 0000400000000140 R08: 00007f52e6472ef0 R09: 0000000000004404
R10: 0000000000004404 R11: 0000000000000246 R12: 0000400000000980
R13: 00007f52e6472eb0 R14: 000000000001f866 R15: 0000400000000780
 </TASK>
Modules linked in:
CR2: ffffed110893775b
---[ end trace 0000000000000000 ]---
RIP: 0010:mi_init+0x86/0xe0 fs/ntfs3/record.c:105
Code: 89 f0 48 c1 e8 03 42 0f b6 04 20 84 c0 75 5d 41 8b 3e be 40 0c 00 00 e8 e8 97 fc fe 48 89 c5 48 83 c3 20 48 89 d8 48 c1 e8 03 <42> 80 3c 20 00 74 08 48 89 df e8 bb ff 07 ff 48 89 2b 31 c9 48 85
RSP: 0018:ffffc9000d3f7690 EFLAGS: 00010a06
RAX: 1ffff1100893775c RBX: ffff8880449bbae0 RCX: 0000000000000800
RDX: 0000000000000400 RSI: ffffffff8c80ef60 RDI: ffffffff8c80ef20
RBP: ffff8880434db000 R08: 0000000000000c40 R09: 00000000ffffffff
R10: dffffc0000000000 R11: fffffbfff28a9329 R12: dffffc00ffffffff
R13: ffff888053308000 R14: ffff888053308030 R15: 000000000000000a
FS:  00007f52e64736c0(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffed110893775b CR3: 0000000043618000 CR4: 0000000000352ef0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	89 f0                	mov    %esi,%eax
   2:	48 c1 e8 03          	shr    $0x3,%rax
   6:	42 0f b6 04 20       	movzbl (%rax,%r12,1),%eax
   b:	84 c0                	test   %al,%al
   d:	75 5d                	jne    0x6c
   f:	41 8b 3e             	mov    (%r14),%edi
  12:	be 40 0c 00 00       	mov    $0xc40,%esi
  17:	e8 e8 97 fc fe       	call   0xfefc9804
  1c:	48 89 c5             	mov    %rax,%rbp
  1f:	48 83 c3 20          	add    $0x20,%rbx
  23:	48 89 d8             	mov    %rbx,%rax
  26:	48 c1 e8 03          	shr    $0x3,%rax
* 2a:	42 80 3c 20 00       	cmpb   $0x0,(%rax,%r12,1) <-- trapping instruction
  2f:	74 08                	je     0x39
  31:	48 89 df             	mov    %rbx,%rdi
  34:	e8 bb ff 07 ff       	call   0xff07fff4
  39:	48 89 2b             	mov    %rbp,(%rbx)
  3c:	31 c9                	xor    %ecx,%ecx
  3e:	48                   	rex.W
  3f:	85                   	.byte 0x85

Crashes (11):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/02/28 12:57 upstream 76544811c850 1e7a43e1 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root BUG: unable to handle kernel paging request in mi_init
2025/02/28 02:54 upstream 1e15510b71c9 6a8fcbc4 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root BUG: unable to handle kernel paging request in mi_init
2025/02/25 22:12 upstream 2a1944bff549 d34966d1 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root BUG: unable to handle kernel paging request in mi_init
2025/02/22 12:43 upstream ff202c5028a1 d34966d1 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root BUG: unable to handle kernel paging request in mi_init
2025/02/19 07:29 upstream 6537cfb395f3 9a14138f .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root BUG: unable to handle kernel paging request in mi_init
2025/02/19 02:50 upstream 6537cfb395f3 9a14138f .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root BUG: unable to handle kernel paging request in mi_init
2025/02/14 06:54 upstream ab68d7eb7b1a d9a046cf .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root BUG: unable to handle kernel paging request in mi_init
2025/02/12 20:40 upstream 09fbf3d50205 b27c2402 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root BUG: unable to handle kernel paging request in mi_init
2025/01/20 05:08 upstream 9528d418de4d f2cb035c .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root BUG: unable to handle kernel paging request in mi_init
2025/01/15 07:34 upstream c3812b15000c 7315a7cf .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root BUG: unable to handle kernel paging request in mi_init
2024/12/30 03:02 upstream 4099a71718b0 d3ccff63 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root BUG: unable to handle kernel paging request in mi_init
* Struck through repros no longer work on HEAD.