syzbot


BUG: unable to handle kernel paging request in vfs_rename

Status: auto-obsoleted due to no activity on 2023/06/08 14:12
Subsystems: overlayfs
[Documentation on labels]
Reported-by: syzbot+e91636b670ccb340da5e@syzkaller.appspotmail.com
First crash: 712d, last: 664d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] BUG: unable to handle kernel paging request in vfs_rename 0 (1) 2023/02/06 08:58
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-5-10 general protection fault in vfs_rename C inconclusive 12 67d 415d 0/2 upstream: reported C repro on 2023/10/15 16:27
android-5-15 general protection fault in vfs_rename origin:downstream C 11 17d 415d 0/2 upstream: reported C repro on 2023/10/15 16:52
android-6-1 general protection fault in vfs_rename origin:downstream C done 9 9d00h 408d 0/2 upstream: reported C repro on 2023/10/22 15:59

Sample crash report:
REISERFS warning (device loop4): super-6502 reiserfs_getopt: unknown mount option "ÿî§<< G4š¶mRŸ±â½ÆuÆÌëê0º‰wÆ2ÝËàíù†¶Žæ"
BUG: unable to handle page fault for address: fffffffffff815ad
#PF: supervisor read access in kernel mode
#PF: error_code(0x0000) - not-present page
PGD c48f067 P4D c48f067 PUD c491067 PMD 0 
Oops: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 7927 Comm: syz-executor.4 Not tainted 6.2.0-rc7-syzkaller-00018-g0983f6bf2bfc #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023
RIP: 0010:vfs_rename+0xd5/0x1a90 fs/namei.c:4691
Code: 00 0f 85 41 17 00 00 48 8d 7d 68 4c 8b 6b 28 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 14 17 00 00 <48> 8b 45 68 4d 8d 75 68 4c 89 f2 48 c1 ea 03 48 89 44 24 08 48 b8
RSP: 0018:ffffc90005e87aa8 EFLAGS: 00010246
RAX: dffffc0000000000 RBX: ffffc90005e87c28 RCX: ffffc9000cc16000
RDX: 1fffffffffff02b5 RSI: ffffffff81e1e4aa RDI: fffffffffff815ad
RBP: fffffffffff81545 R08: 0000000000000005 R09: 0000000000200000
R10: 0000000000000000 R11: 0000000000000000 R12: fffffffffff81545
R13: ffff8880474f2758 R14: ffff8880474f2758 R15: ffff8880736ee4f0
FS:  00007f175c90d700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: fffffffffff815ad CR3: 0000000022348000 CR4: 0000000000350ee0
Call Trace:
 <TASK>
 ovl_do_rename fs/overlayfs/overlayfs.h:311 [inline]
 ovl_cleanup_and_whiteout+0x2c6/0x700 fs/overlayfs/dir.c:125
 ovl_remove_and_whiteout fs/overlayfs/dir.c:784 [inline]
 ovl_do_remove+0xb45/0xe50 fs/overlayfs/dir.c:911
 vfs_unlink+0x355/0x930 fs/namei.c:4252
 do_unlinkat+0x3b7/0x640 fs/namei.c:4320
 __do_sys_unlink fs/namei.c:4368 [inline]
 __se_sys_unlink fs/namei.c:4366 [inline]
 __x64_sys_unlink+0xca/0x110 fs/namei.c:4366
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f175bc8c0f9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f175c90d168 EFLAGS: 00000246 ORIG_RAX: 0000000000000057
RAX: ffffffffffffffda RBX: 00007f175bdabf80 RCX: 00007f175bc8c0f9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000100
RBP: 00007f175bce7ae9 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fffed30043f R14: 00007f175c90d300 R15: 0000000000022000
 </TASK>
Modules linked in:
CR2: fffffffffff815ad
---[ end trace 0000000000000000 ]---
RIP: 0010:vfs_rename+0xd5/0x1a90 fs/namei.c:4691
Code: 00 0f 85 41 17 00 00 48 8d 7d 68 4c 8b 6b 28 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 14 17 00 00 <48> 8b 45 68 4d 8d 75 68 4c 89 f2 48 c1 ea 03 48 89 44 24 08 48 b8
RSP: 0018:ffffc90005e87aa8 EFLAGS: 00010246
RAX: dffffc0000000000 RBX: ffffc90005e87c28 RCX: ffffc9000cc16000
RDX: 1fffffffffff02b5 RSI: ffffffff81e1e4aa RDI: fffffffffff815ad
RBP: fffffffffff81545 R08: 0000000000000005 R09: 0000000000200000
R10: 0000000000000000 R11: 0000000000000000 R12: fffffffffff81545
R13: ffff8880474f2758 R14: ffff8880474f2758 R15: ffff8880736ee4f0
FS:  00007f175c90d700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: fffffffffff815ad CR3: 0000000022348000 CR4: 0000000000350ee0
----------------
Code disassembly (best guess):
   0:	00 0f                	add    %cl,(%rdi)
   2:	85 41 17             	test   %eax,0x17(%rcx)
   5:	00 00                	add    %al,(%rax)
   7:	48 8d 7d 68          	lea    0x68(%rbp),%rdi
   b:	4c 8b 6b 28          	mov    0x28(%rbx),%r13
   f:	48 b8 00 00 00 00 00 	movabs $0xdffffc0000000000,%rax
  16:	fc ff df
  19:	48 89 fa             	mov    %rdi,%rdx
  1c:	48 c1 ea 03          	shr    $0x3,%rdx
  20:	80 3c 02 00          	cmpb   $0x0,(%rdx,%rax,1)
  24:	0f 85 14 17 00 00    	jne    0x173e
* 2a:	48 8b 45 68          	mov    0x68(%rbp),%rax <-- trapping instruction
  2e:	4d 8d 75 68          	lea    0x68(%r13),%r14
  32:	4c 89 f2             	mov    %r14,%rdx
  35:	48 c1 ea 03          	shr    $0x3,%rdx
  39:	48 89 44 24 08       	mov    %rax,0x8(%rsp)
  3e:	48                   	rex.W
  3f:	b8                   	.byte 0xb8

Crashes (6):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/02/08 14:12 upstream 0983f6bf2bfc fc9c934e .config console log report info ci-upstream-kasan-gce-root BUG: unable to handle kernel paging request in vfs_rename
2023/02/06 08:58 upstream d2d11f342b17 be607b78 .config console log report info ci-upstream-kasan-gce-root BUG: unable to handle kernel paging request in vfs_rename
2023/02/01 14:18 upstream c0b67534c95c 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root BUG: unable to handle kernel paging request in vfs_rename
2023/01/05 16:25 upstream 41c03ba9beea 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root BUG: unable to handle kernel paging request in vfs_rename
2022/12/23 02:13 upstream 8395ae05cb5a 9da18ae8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root BUG: unable to handle kernel paging request in vfs_rename
2023/01/03 13:27 upstream 69b41ac87e4a d43e0eb8 .config console log report info ci-qemu-upstream-386 BUG: unable to handle kernel paging request in vfs_rename
* Struck through repros no longer work on HEAD.