[syzbot] BUG: unable to handle kernel paging request in ovl_copy_xattr

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

syzbot found the following issue on:

HEAD commit:    97ec4d559d93 Merge tag 'block-6.2-2023-01-13' of git://git..
git tree:       upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=159bfc7e480000
kernel config:  https://syzkaller.appspot.com/x/.config?x=ebc110f9741920ed
dashboard link: https://syzkaller.appspot.com/bug?extid=d63643338a33351b6ade
compiler:       Debian clang version 13.0.1-++20220126092033+75e33f71c2da-1~exp1~20220126212112.63, GNU ld (GNU Binutils for Debian) 2.35.2

Unfortunately, I don't have any reproducer for this issue yet.

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/46f8c907cf5f/disk-97ec4d55.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/df0994e6fa24/vmlinux-97ec4d55.xz
kernel image: https://storage.googleapis.com/syzbot-assets/59f096ab07dd/bzImage-97ec4d55.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+d63643338a33351b6ade@xxxxxxxxxxxxxxxxxxxxxxxxx

REISERFS warning (device loop1): super-6502 reiserfs_getopt: unknown mount option "��<<�G4��mR����u����0��w�2���������"
BUG: unable to handle page fault for address: fffffffffff8d2a5
#PF: supervisor read access in kernel mode
#PF: error_code(0x0000) - not-present page
PGD d08f067 P4D d08f067 PUD d091067 PMD 0 
Oops: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 7774 Comm: syz-executor.1 Not tainted 6.2.0-rc3-syzkaller-00349-g97ec4d559d93 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
RIP: 0010:ovl_copy_xattr+0xdb/0xab0 fs/overlayfs/copy_up.c:85
Code: 90 fe e9 52 09 00 00 49 8d 5f 68 48 89 d8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df 80 3c 08 00 74 08 48 89 df e8 b5 df e5 fe <48> 8b 1b 48 83 c3 02 48 89 d8 48 c1 e8 03 48 b9 00 00 00 00 00 fc
RSP: 0018:ffffc90003567450 EFLAGS: 00010246
RAX: 1fffffffffff1a54 RBX: fffffffffff8d2a5 RCX: dffffc0000000000
RDX: ffff88802bc6d7c0 RSI: 0000000000000008 RDI: 0000000000000000
RBP: ffff888042f508d0 R08: ffffffff82fba5a9 R09: ffffed10085a80a0
R10: ffffed10085a80a0 R11: 1ffff110085a809f R12: ffff8880440ba000
R13: 0000000000000000 R14: 1ffff920006acec7 R15: fffffffffff8d23d
FS:  00007f47e45f2700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: fffffffffff8d2a5 CR3: 0000000049bce000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 ovl_copy_up_metadata+0x1c1/0xb80 fs/overlayfs/copy_up.c:616
 ovl_copy_up_workdir fs/overlayfs/copy_up.c:733 [inline]
 ovl_do_copy_up fs/overlayfs/copy_up.c:879 [inline]
 ovl_copy_up_one fs/overlayfs/copy_up.c:1045 [inline]
 ovl_copy_up_flags+0x166b/0x1f10 fs/overlayfs/copy_up.c:1091
 ovl_nlink_start+0x20c/0x580 fs/overlayfs/util.c:908
 ovl_do_remove+0x218/0x800 fs/overlayfs/dir.c:903
 vfs_unlink+0x357/0x5f0 fs/namei.c:4252
 do_unlinkat+0x46f/0x930 fs/namei.c:4320
 __do_sys_unlink fs/namei.c:4368 [inline]
 __se_sys_unlink fs/namei.c:4366 [inline]
 __x64_sys_unlink+0x45/0x50 fs/namei.c:4366
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f47e388c0c9
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:00007f47e45f2168 EFLAGS: 00000246 ORIG_RAX: 0000000000000057
RAX: ffffffffffffffda RBX: 00007f47e39abf80 RCX: 00007f47e388c0c9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000100
RBP: 00007f47e38e7ae9 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffd801926cf R14: 00007f47e45f2300 R15: 0000000000022000
 </TASK>
Modules linked in:
CR2: fffffffffff8d2a5
---[ end trace 0000000000000000 ]---
RIP: 0010:ovl_copy_xattr+0xdb/0xab0 fs/overlayfs/copy_up.c:85
Code: 90 fe e9 52 09 00 00 49 8d 5f 68 48 89 d8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df 80 3c 08 00 74 08 48 89 df e8 b5 df e5 fe <48> 8b 1b 48 83 c3 02 48 89 d8 48 c1 e8 03 48 b9 00 00 00 00 00 fc
RSP: 0018:ffffc90003567450 EFLAGS: 00010246
RAX: 1fffffffffff1a54 RBX: fffffffffff8d2a5 RCX: dffffc0000000000
RDX: ffff88802bc6d7c0 RSI: 0000000000000008 RDI: 0000000000000000
RBP: ffff888042f508d0 R08: ffffffff82fba5a9 R09: ffffed10085a80a0
R10: ffffed10085a80a0 R11: 1ffff110085a809f R12: ffff8880440ba000
R13: 0000000000000000 R14: 1ffff920006acec7 R15: fffffffffff8d23d
FS:  00007f47e45f2700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: fffffffffff8d2a5 CR3: 0000000049bce000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess), 2 bytes skipped:
   0:	e9 52 09 00 00       	jmpq   0x957
   5:	49 8d 5f 68          	lea    0x68(%r15),%rbx
   9:	48 89 d8             	mov    %rbx,%rax
   c:	48 c1 e8 03          	shr    $0x3,%rax
  10:	48 b9 00 00 00 00 00 	movabs $0xdffffc0000000000,%rcx
  17:	fc ff df
  1a:	80 3c 08 00          	cmpb   $0x0,(%rax,%rcx,1)
  1e:	74 08                	je     0x28
  20:	48 89 df             	mov    %rbx,%rdi
  23:	e8 b5 df e5 fe       	callq  0xfee5dfdd
* 28:	48 8b 1b             	mov    (%rbx),%rbx <-- trapping instruction
  2b:	48 83 c3 02          	add    $0x2,%rbx
  2f:	48 89 d8             	mov    %rbx,%rax
  32:	48 c1 e8 03          	shr    $0x3,%rax
  36:	48                   	rex.W
  37:	b9 00 00 00 00       	mov    $0x0,%ecx
  3c:	00 fc                	add    %bh,%ah


---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzkaller@xxxxxxxxxxxxxxxx.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.



[Index of Archives]     [Linux Filesystems Devel]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux