BUG: unable to handle kernel paging request in vfs_rename

0 views
Skip to first unread message

syzbot

unread,
Dec 26, 2022, 9:15:36 PM12/26/22
to syzkaller-upst...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 8395ae05cb5a Merge tag 'scsi-misc' of git://git.kernel.org..
git tree: upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=12f5e6df880000
kernel config: https://syzkaller.appspot.com/x/.config?x=85327a149d5f50f
dashboard link: https://syzkaller.appspot.com/bug?extid=804171f39a67e5bea858
compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2
CC: [linux-...@vger.kernel.org linux-...@vger.kernel.org mik...@szeredi.hu]

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

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/71f6a8070e91/disk-8395ae05.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/0f742b65488c/vmlinux-8395ae05.xz
kernel image: https://storage.googleapis.com/syzbot-assets/6e5588eaf267/bzImage-8395ae05.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+804171...@syzkaller.appspotmail.com

REISERFS warning (device loop5): super-6502 reiserfs_getopt: unknown mount option "��<<�G4��mR���� u����0� �w�2���� �����"
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: 29486 Comm: syz-executor.5 Not tainted 6.1.0-syzkaller-14446-g8395ae05cb5a #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
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:ffffc90005e37aa8 EFLAGS: 00010246
RAX: dffffc0000000000 RBX: ffffc90005e37c28 RCX: ffffc90003bc9000
RDX: 1fffffffffff02b6 RSI: ffffffff81e225fa RDI: fffffffffff815b3
RBP: fffffffffff8154b R08: 0000000000000005 R09: 0000000000200000
R10: 0000000000000000 R11: 0000000000000000 R12: fffffffffff8154b
R13: ffff8880787cfd60 R14: ffff8880787cfd60 R15: ffff88803c2622b0
FS: 00007fcbc01fe700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: fffffffffff815b3 CR3: 0000000018944000 CR4: 0000000000350ef0
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:0x7fcbc168c0a9
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:00007fcbc01fe168 EFLAGS: 00000246 ORIG_RAX: 0000000000000057
RAX: ffffffffffffffda RBX: 00007fcbc17abf80 RCX: 00007fcbc168c0a9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000100
RBP: 00007fcbc16e7ae9 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffd9a71cd9f R14: 00007fcbc01fe300 R15: 0000000000022000
</TASK>
Modules linked in:
CR2: fffffffffff815b3
---[ 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:ffffc90005e37aa8 EFLAGS: 00010246
RAX: dffffc0000000000 RBX: ffffc90005e37c28 RCX: ffffc90003bc9000
RDX: 1fffffffffff02b6 RSI: ffffffff81e225fa RDI: fffffffffff815b3
RBP: fffffffffff8154b R08: 0000000000000005 R09: 0000000000200000
R10: 0000000000000000 R11: 0000000000000000 R12: fffffffffff8154b
R13: ffff8880787cfd60 R14: ffff8880787cfd60 R15: ffff88803c2622b0
FS: 00007fcbc01fe700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: fffffffffff815b3 CR3: 0000000018944000 CR4: 0000000000350ef0
----------------
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


---
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 syzk...@googlegroups.com.

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

syzbot

unread,
Feb 6, 2023, 3:58:38 AM2/6/23
to syzkaller-upst...@googlegroups.com
Sending this report to the next reporting stage.
Reply all
Reply to author
Forward
0 new messages