syzbot
BUG: unable to handle kernel paging request in mi_init
Status:
auto-obsoleted due to no activity on 2025/11/11 02:57
Subsystems:
ntfs3
[Documentation on labels]
Reported-by: syzbot+8282d8328968be03242e@syzkaller.appspotmail.com
First crash: 590d, last: 374d
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: ffffed110888c75b
#PF: supervisor read access in kernel mode
#PF: error_code(0x0000) - not-present page
PGD 5ffcd067 P4D 5ffcd067 PUD 0
Oops: Oops: 0000 [#1] SMP KASAN NOPTI
CPU: 0 UID: 0 PID: 5357 Comm: syz.0.0 Not tainted 6.16.0-syzkaller-11129-geacf91b0c78a #0 PREEMPT(full)
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+0x84/0xe0 fs/ntfs3/record.c:105
Code: 89 f0 48 c1 e8 03 42 0f b6 04 20 84 c0 75 5f 41 8b 3e be 40 0c 00 00 e8 5a 61 0d ff 49 89 c6 48 83 c3 20 48 89 d8 48 c1 e8 03 <42> 80 3c 20 00 74 08 48 89 df e8 ed 41 18 ff 4c 89 33 31 c9 4d 85
RSP: 0018:ffffc9000d48f690 EFLAGS: 00010a06
RAX: 1ffff1100888c75c RBX: ffff888044463ae0 RCX: 6bfac5686f8bf100
RDX: 0000000000000400 RSI: ffffffff8be30ee0 RDI: ffffffff8be30ea0
RBP: 000000000000000a R08: 0000000000000c40 R09: 00000000ffffffff
R10: dffffc0000000000 R11: fffffbfff1f468a7 R12: dffffc00ffffffff
R13: ffff888043898f94 R14: ffff888052ee0000 R15: ffff888044463b38
FS: 00007f39955f56c0(0000) GS:ffff88808d21f000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffed110888c75b CR3: 0000000043a24000 CR4: 0000000000352ef0
Call Trace:
<TASK>
ntfs_read_mft fs/ntfs3/inode.c:54 [inline]
ntfs_iget5+0x356/0x37c0 fs/ntfs3/inode.c:540
ntfs_fill_super+0x3927/0x40b0 fs/ntfs3/super.c:1519
get_tree_bdev_flags+0x40b/0x4d0 fs/super.c:1692
vfs_get_tree+0x8f/0x2b0 fs/super.c:1815
do_new_mount+0x2a2/0x9e0 fs/namespace.c:3805
do_mount fs/namespace.c:4133 [inline]
__do_sys_mount fs/namespace.c:4344 [inline]
__se_sys_mount+0x317/0x410 fs/namespace.c:4321
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f399919030a
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:00007f39955f4e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f39955f4ef0 RCX: 00007f399919030a
RDX: 0000200000000140 RSI: 0000200000000980 RDI: 00007f39955f4eb0
RBP: 0000200000000140 R08: 00007f39955f4ef0 R09: 0000000002004404
R10: 0000000002004404 R11: 0000000000000246 R12: 0000200000000980
R13: 00007f39955f4eb0 R14: 000000000001f883 R15: 0000200000000780
</TASK>
Modules linked in:
CR2: ffffed110888c75b
---[ end trace 0000000000000000 ]---
RIP: 0010:mi_init+0x84/0xe0 fs/ntfs3/record.c:105
Code: 89 f0 48 c1 e8 03 42 0f b6 04 20 84 c0 75 5f 41 8b 3e be 40 0c 00 00 e8 5a 61 0d ff 49 89 c6 48 83 c3 20 48 89 d8 48 c1 e8 03 <42> 80 3c 20 00 74 08 48 89 df e8 ed 41 18 ff 4c 89 33 31 c9 4d 85
RSP: 0018:ffffc9000d48f690 EFLAGS: 00010a06
RAX: 1ffff1100888c75c RBX: ffff888044463ae0 RCX: 6bfac5686f8bf100
RDX: 0000000000000400 RSI: ffffffff8be30ee0 RDI: ffffffff8be30ea0
RBP: 000000000000000a R08: 0000000000000c40 R09: 00000000ffffffff
R10: dffffc0000000000 R11: fffffbfff1f468a7 R12: dffffc00ffffffff
R13: ffff888043898f94 R14: ffff888052ee0000 R15: ffff888044463b38
FS: 00007f39955f56c0(0000) GS:ffff88808d21f000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffed110888c75b CR3: 0000000043a24000 CR4: 0000000000352ef0
----------------
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 5f jne 0x6e
f: 41 8b 3e mov (%r14),%edi
12: be 40 0c 00 00 mov $0xc40,%esi
17: e8 5a 61 0d ff call 0xff0d6176
1c: 49 89 c6 mov %rax,%r14
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 ed 41 18 ff call 0xff184226
39: 4c 89 33 mov %r14,(%rbx)
3c: 31 c9 xor %ecx,%ecx
3e: 4d rex.WRB
3f: 85 .byte 0x85
* Struck through repros no longer work on HEAD.