syzbot


BUG: unable to handle kernel paging request in ovl_path_open

Status: auto-obsoleted due to no activity on 2023/04/06 20:40
Subsystems: overlayfs
[Documentation on labels]
Reported-by: syzbot+b7a54078e37fe6aecdef@syzkaller.appspotmail.com
First crash: 475d, last: 475d

Sample crash report:
overlayfs: upper fs does not support tmpfile.
overlayfs: upper fs does not support RENAME_WHITEOUT.
BUG: unable to handle page fault for address: fffffffffff815b3
#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: 0 PID: 22702 Comm: syz-executor.2 Not tainted 6.2.0-rc2-syzkaller-00203-g1f5abbd77e2c #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
RIP: 0010:d_inode include/linux/dcache.h:516 [inline]
RIP: 0010:ovl_path_open+0x5f/0x1c0 fs/overlayfs/util.c:493
Code: 01 00 00 48 b8 00 00 00 00 00 fc ff df 49 8b 5c 24 08 48 8d 7b 68 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 3a 01 00 00 4c 89 e2 <4c> 8b 73 68 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 80 3c 02 00
RSP: 0018:ffffc900055377b0 EFLAGS: 00010246
RAX: dffffc0000000000 RBX: fffffffffff8154b RCX: ffffc9000b87f000
RDX: ffffc90005537920 RSI: ffffffff82d77508 RDI: fffffffffff815b3
RBP: 0000000000008001 R08: 0000000000000007 R09: 0000000000000000
R10: 0000000000040a00 R11: 0000000000000001 R12: ffffc90005537920
R13: ffffc90005537a18 R14: ffffc900055379c8 R15: ffff88801d431900
FS:  00007f1ee790a700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: fffffffffff815b3 CR3: 000000001c87d000 CR4: 0000000000350ef0
Call Trace:
 <TASK>
 ovl_copy_up_data+0x183/0x270 fs/overlayfs/copy_up.c:599
 ovl_copy_up_workdir fs/overlayfs/copy_up.c:729 [inline]
 ovl_do_copy_up fs/overlayfs/copy_up.c:879 [inline]
 ovl_copy_up_one+0x91f/0x2900 fs/overlayfs/copy_up.c:1045
 ovl_copy_up_flags+0x150/0x1d0 fs/overlayfs/copy_up.c:1091
 ovl_setattr+0x111/0x500 fs/overlayfs/inode.c:45
 notify_change+0xca7/0x1420 fs/attr.c:482
 chown_common+0x60a/0x6f0 fs/open.c:736
 do_fchownat+0x12a/0x1e0 fs/open.c:767
 __do_sys_fchownat fs/open.c:782 [inline]
 __se_sys_fchownat fs/open.c:779 [inline]
 __x64_sys_fchownat+0xbe/0x160 fs/open.c:779
 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:0x7f1ee6c8c0c9
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:00007f1ee790a168 EFLAGS: 00000246 ORIG_RAX: 0000000000000104
RAX: ffffffffffffffda RBX: 00007f1ee6dabf80 RCX: 00007f1ee6c8c0c9
RDX: 0000000000000000 RSI: 0000000020000100 RDI: ffffffffffffff9c
RBP: 00007f1ee6ce7ae9 R08: 0000000000000000 R09: 0000000000000000
R10: 000000000000ee01 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffc5607366f R14: 00007f1ee790a300 R15: 0000000000022000
 </TASK>
Modules linked in:
CR2: fffffffffff815b3
---[ end trace 0000000000000000 ]---
RIP: 0010:d_inode include/linux/dcache.h:516 [inline]
RIP: 0010:ovl_path_open+0x5f/0x1c0 fs/overlayfs/util.c:493
Code: 01 00 00 48 b8 00 00 00 00 00 fc ff df 49 8b 5c 24 08 48 8d 7b 68 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 3a 01 00 00 4c 89 e2 <4c> 8b 73 68 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 80 3c 02 00
RSP: 0018:ffffc900055377b0 EFLAGS: 00010246
RAX: dffffc0000000000 RBX: fffffffffff8154b RCX: ffffc9000b87f000
RDX: ffffc90005537920 RSI: ffffffff82d77508 RDI: fffffffffff815b3
RBP: 0000000000008001 R08: 0000000000000007 R09: 0000000000000000
R10: 0000000000040a00 R11: 0000000000000001 R12: ffffc90005537920
R13: ffffc90005537a18 R14: ffffc900055379c8 R15: ffff88801d431900
FS:  00007f1ee790a700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: fffffffffff815b3 CR3: 000000001c87d000 CR4: 0000000000350ef0
----------------
Code disassembly (best guess), 1 bytes skipped:
   0:	00 00                	add    %al,(%rax)
   2:	48 b8 00 00 00 00 00 	movabs $0xdffffc0000000000,%rax
   9:	fc ff df
   c:	49 8b 5c 24 08       	mov    0x8(%r12),%rbx
  11:	48 8d 7b 68          	lea    0x68(%rbx),%rdi
  15:	48 89 fa             	mov    %rdi,%rdx
  18:	48 c1 ea 03          	shr    $0x3,%rdx
  1c:	80 3c 02 00          	cmpb   $0x0,(%rdx,%rax,1)
  20:	0f 85 3a 01 00 00    	jne    0x160
  26:	4c 89 e2             	mov    %r12,%rdx
* 29:	4c 8b 73 68          	mov    0x68(%rbx),%r14 <-- trapping instruction
  2d:	48 b8 00 00 00 00 00 	movabs $0xdffffc0000000000,%rax
  34:	fc ff df
  37:	48 c1 ea 03          	shr    $0x3,%rdx
  3b:	80 3c 02 00          	cmpb   $0x0,(%rdx,%rax,1)

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/01/06 20:39 upstream 1f5abbd77e2c 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root BUG: unable to handle kernel paging request in ovl_path_open
* Struck through repros no longer work on HEAD.