syzbot


BUG: unable to handle kernel paging request in inode_init_always

Status: auto-obsoleted due to no activity on 2024/02/04 10:10
Subsystems: ntfs3
[Documentation on labels]
Reported-by: syzbot+264801e8763e686bc4b9@syzkaller.appspotmail.com
First crash: 656d, last: 656d

Sample crash report:
 </TASK>
Huh VM_FAULT_OOM leaked out to the #PF handler. Retrying PF
loop1: detected capacity change from 0 to 4096
ntfs3: loop1: Different NTFS sector size (2048) and media sector size (512).
BUG: unable to handle page fault for address: ffffc8fff506b9c3
#PF: supervisor write access in kernel mode
#PF: error_code(0x0002) - not-present page
PGD 0 P4D 0 
Oops: 0002 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 5715 Comm: syz-executor.1 Not tainted 6.6.0-syzkaller-14651-gd2f51b3516da #0
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
RIP: 0010:inode_init_always+0xbf0/0xee0 fs/inode.c:230
Code: 00 00 00 00 00 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 bb 01 00 00 48 c7 83 20 02 00 00 00 00 00 00 48 89 df e8 91 d6 23 02 31 <ff> 89 c3 89 c6 e8 46 81 92 ff 85 db 75 21 e8 cd 85 92 ff 65 48 ff
RSP: 0018:ffffc900291af880 EFLAGS: 00010286
RAX: 0000000000000000 RBX: ffff888026d49fd0 RCX: ffffc9000c403000
RDX: 000000000004ff00 RSI: ffffffff8419ee34 RDI: 0000000000000005
RBP: ffff88801d0c4000 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffff88801d0c4028
R13: 0000000000000000 R14: ffff888026d4a1f8 R15: ffffffff82c66be0
FS:  0000000000000000(0000) GS:ffff88802c600000(0063) knlGS:00000000f7f73b40
CS:  0010 DS: 002b ES: 002b CR0: 0000000080050033
CR2: ffffc8fff506b9c3 CR3: 0000000072f93000 CR4: 0000000000350ef0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 alloc_inode+0x7a/0x220 fs/inode.c:266
 iget5_locked fs/inode.c:1269 [inline]
 iget5_locked+0x63/0xe0 fs/inode.c:1262
 ntfs_iget5+0xd1/0x3810 fs/ntfs3/inode.c:527
 ntfs_fill_super+0x385e/0x44a0 fs/ntfs3/super.c:1468
 get_tree_bdev+0x3b5/0x650 fs/super.c:1598
 vfs_get_tree+0x8c/0x370 fs/super.c:1771
 do_new_mount fs/namespace.c:3337 [inline]
 path_mount+0x1492/0x1ed0 fs/namespace.c:3664
 do_mount fs/namespace.c:3677 [inline]
 __do_sys_mount fs/namespace.c:3886 [inline]
 __se_sys_mount fs/namespace.c:3863 [inline]
 __ia32_sys_mount+0x291/0x310 fs/namespace.c:3863
 do_syscall_32_irqs_on arch/x86/entry/common.c:164 [inline]
 __do_fast_syscall_32+0x61/0xe0 arch/x86/entry/common.c:230
 do_fast_syscall_32+0x33/0x70 arch/x86/entry/common.c:255
 entry_SYSENTER_compat_after_hwframe+0x70/0x7a
RIP: 0023:0xf7f78579
Code: b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 00 00 00 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00
RSP: 002b:00000000f7f733f0 EFLAGS: 00000296 ORIG_RAX: 0000000000000015
RAX: ffffffffffffffda RBX: 00000000f7f73460 RCX: 000000002001f3c0
RDX: 000000002001f380 RSI: 0000000000000000 RDI: 00000000f7f734a0
RBP: 000000002001f380 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000292 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
 </TASK>
Modules linked in:
CR2: ffffc8fff506b9c3
---[ end trace 0000000000000000 ]---
RIP: 0010:inode_init_always+0xbf0/0xee0 fs/inode.c:230
Code: 00 00 00 00 00 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 bb 01 00 00 48 c7 83 20 02 00 00 00 00 00 00 48 89 df e8 91 d6 23 02 31 <ff> 89 c3 89 c6 e8 46 81 92 ff 85 db 75 21 e8 cd 85 92 ff 65 48 ff
RSP: 0018:ffffc900291af880 EFLAGS: 00010286
RAX: 0000000000000000 RBX: ffff888026d49fd0 RCX: ffffc9000c403000
RDX: 000000000004ff00 RSI: ffffffff8419ee34 RDI: 0000000000000005
RBP: ffff88801d0c4000 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffff88801d0c4028
R13: 0000000000000000 R14: ffff888026d4a1f8 R15: ffffffff82c66be0
FS:  0000000000000000(0000) GS:ffff88802c600000(0063) knlGS:00000000f7f73b40
CS:  0010 DS: 002b ES: 002b CR0: 0000000080050033
CR2: ffffc8fff506b9c3 CR3: 0000000072f93000 CR4: 0000000000350ef0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess), 2 bytes skipped:
   0:	10 06                	adc    %al,(%rsi)
   2:	03 74 b4 01          	add    0x1(%rsp,%rsi,4),%esi
   6:	10 07                	adc    %al,(%rdi)
   8:	03 74 b0 01          	add    0x1(%rax,%rsi,4),%esi
   c:	10 08                	adc    %cl,(%rax)
   e:	03 74 d8 01          	add    0x1(%rax,%rbx,8),%esi
  1e:	00 51 52             	add    %dl,0x52(%rcx)
  21:	55                   	push   %rbp
  22:	89 e5                	mov    %esp,%ebp
  24:	0f 34                	sysenter
  26:	cd 80                	int    $0x80
* 28:	5d                   	pop    %rbp <-- trapping instruction
  29:	5a                   	pop    %rdx
  2a:	59                   	pop    %rcx
  2b:	c3                   	ret
  2c:	90                   	nop
  2d:	90                   	nop
  2e:	90                   	nop
  2f:	90                   	nop
  30:	8d b4 26 00 00 00 00 	lea    0x0(%rsi,%riz,1),%esi
  37:	8d b4 26 00 00 00 00 	lea    0x0(%rsi,%riz,1),%esi

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/11/06 10:09 upstream d2f51b3516da 500bfdc4 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 BUG: unable to handle kernel paging request in inode_init_always
* Struck through repros no longer work on HEAD.