syzbot


usb-testing boot error: BUG: unable to handle kernel paging request in kernfs_dop_revalidate

Status: closed as invalid on 2022/11/09 12:05
Subsystems: kernfs
[Documentation on labels]
First crash: 606d, last: 606d

Sample crash report:
BUG: unable to handle page fault for address: ffffdc000000000f
#PF: supervisor read access in kernel mode
#PF: error_code(0x0000) - not-present page
PGD 100026067 P4D 100026067 PUD 0 
Oops: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 1180 Comm: udevadm Not tainted 6.0.0-rc1-syzkaller-00028-g4dce3b375179 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022
RIP: 0010:kernfs_root fs/kernfs/kernfs-internal.h:68 [inline]
RIP: 0010:kernfs_dop_revalidate+0xce/0x600 fs/kernfs/dir.c:1097
Code: 86 04 00 00 4c 8b 65 30 4d 85 e4 4c 0f 44 e5 e8 98 82 a4 ff 48 b8 00 00 00 00 00 fc ff df 49 8d 7c 24 78 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 4c 04 00 00 4d 8b 74 24 78 49 81 c6 d8 00 00 00
RSP: 0018:ffffc900005b7938 EFLAGS: 00010a06
RAX: dffffc0000000000 RBX: ffff88811547b8f8 RCX: 0000000000000000
RDX: 1fffe0000000000f RSI: ffffffff81a18658 RDI: ffff000000000078
RBP: ffff88810e6d41d0 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffff000000000000
R13: ffff88810e6d4200 R14: ffffc900005b7c68 R15: ffffc900005b7c40
FS:  00007f0a9fcce840(0000) GS:ffff8881f6900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffdc000000000f CR3: 0000000110173000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 d_revalidate fs/namei.c:856 [inline]
 d_revalidate fs/namei.c:853 [inline]
 lookup_fast+0x22d/0x520 fs/namei.c:1646
 walk_component+0x5e/0x5a0 fs/namei.c:1989
 link_path_walk.part.0+0x7e6/0xf60 fs/namei.c:2320
 link_path_walk fs/namei.c:2245 [inline]
 path_openat+0x262/0x28f0 fs/namei.c:3687
 do_filp_open+0x1b6/0x400 fs/namei.c:3718
 do_sys_openat2+0x16d/0x4c0 fs/open.c:1311
 do_sys_open fs/open.c:1327 [inline]
 __do_sys_openat fs/open.c:1343 [inline]
 __se_sys_openat fs/open.c:1338 [inline]
 __x64_sys_openat+0x13f/0x1f0 fs/open.c:1338
 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:0x7f0a9fe25697
Code: 25 00 00 41 00 3d 00 00 41 00 74 37 64 8b 04 25 18 00 00 00 85 c0 75 5b 44 89 e2 48 89 ee bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 0f 87 85 00 00 00 48 83 c4 68 5d 41 5c c3 0f 1f
RSP: 002b:00007ffe57683be0 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007ffe57684f41 RCX: 00007f0a9fe25697
RDX: 0000000000080001 RSI: 00007ffe57683c68 RDI: 00000000ffffff9c
RBP: 00007ffe57683c68 R08: 0000000000000000 R09: 00007f0a9fef5a60
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000080001
R13: 00007ffe57683c68 R14: 0000000000000000 R15: 00005582a75400b4
 </TASK>
Modules linked in:
CR2: ffffdc000000000f
---[ end trace 0000000000000000 ]---
RIP: 0010:kernfs_root fs/kernfs/kernfs-internal.h:68 [inline]
RIP: 0010:kernfs_dop_revalidate+0xce/0x600 fs/kernfs/dir.c:1097
Code: 86 04 00 00 4c 8b 65 30 4d 85 e4 4c 0f 44 e5 e8 98 82 a4 ff 48 b8 00 00 00 00 00 fc ff df 49 8d 7c 24 78 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 4c 04 00 00 4d 8b 74 24 78 49 81 c6 d8 00 00 00
RSP: 0018:ffffc900005b7938 EFLAGS: 00010a06
RAX: dffffc0000000000 RBX: ffff88811547b8f8 RCX: 0000000000000000
RDX: 1fffe0000000000f RSI: ffffffff81a18658 RDI: ffff000000000078
RBP: ffff88810e6d41d0 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffff000000000000
R13: ffff88810e6d4200 R14: ffffc900005b7c68 R15: ffffc900005b7c40
FS:  00007f0a9fcce840(0000) GS:ffff8881f6900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffdc000000000f CR3: 0000000110173000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	86 04 00             	xchg   %al,(%rax,%rax,1)
   3:	00 4c 8b 65          	add    %cl,0x65(%rbx,%rcx,4)
   7:	30 4d 85             	xor    %cl,-0x7b(%rbp)
   a:	e4 4c                	in     $0x4c,%al
   c:	0f 44 e5             	cmove  %ebp,%esp
   f:	e8 98 82 a4 ff       	callq  0xffa482ac
  14:	48 b8 00 00 00 00 00 	movabs $0xdffffc0000000000,%rax
  1b:	fc ff df
  1e:	49 8d 7c 24 78       	lea    0x78(%r12),%rdi
  23:	48 89 fa             	mov    %rdi,%rdx
  26:	48 c1 ea 03          	shr    $0x3,%rdx
* 2a:	80 3c 02 00          	cmpb   $0x0,(%rdx,%rax,1) <-- trapping instruction
  2e:	0f 85 4c 04 00 00    	jne    0x480
  34:	4d 8b 74 24 78       	mov    0x78(%r12),%r14
  39:	49 81 c6 d8 00 00 00 	add    $0xd8,%r14

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/08/29 15:41 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 4dce3b375179 d7593c58 .config console log report ci2-upstream-usb usb-testing boot error: BUG: unable to handle kernel paging request in kernfs_dop_revalidate
* Struck through repros no longer work on HEAD.