general protection fault in inode_permission

18 views
Skip to first unread message

syzbot

unread,
Aug 24, 2020, 2:28:18 AM8/24/20
to syzkaller-upst...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 7eac66d0 Merge tag 'vfio-v5.9-rc2' of git://github.com/awi..
git tree: upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=16f41e29900000
kernel config: https://syzkaller.appspot.com/x/.config?x=a0437fdd630bee11
dashboard link: https://syzkaller.appspot.com/bug?extid=0bdc7f2815241f18d6ca
compiler: gcc (GCC) 10.1.0-syz 20200507
CC: [linux-...@vger.kernel.org linux-...@vger.kernel.org vi...@zeniv.linux.org.uk]

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

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

general protection fault, probably for non-canonical address 0xeeeeeaeee0000002: 0000 [#1] PREEMPT SMP KASAN
KASAN: maybe wild-memory-access in range [0x7777777700000010-0x7777777700000017]
CPU: 1 PID: 1 Comm: systemd Not tainted 5.9.0-rc1-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:do_inode_permission fs/namei.c:397 [inline]
RIP: 0010:inode_permission.part.0+0x24a/0x410 fs/namei.c:463
Code: 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 b4 01 00 00 48 b8 00 00 00 00 00 fc ff df 4c 8b 65 20 49 8d 7c 24 10 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 a7 01 00 00 4d 8b 64 24 10 4d 85 e4 0f 84 21 01
RSP: 0018:ffffc90000c7f9e0 EFLAGS: 00010202
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffffff81c1f685
RDX: 0eeeeeeee0000002 RSI: ffffffff81c1f821 RDI: 7777777700000010
RBP: ffff888000822180 R08: 0000000000000001 R09: ffff8880a95d2920
R10: 0000000000000000 R11: 0000000000000000 R12: 7777777700000000
R13: 0000000000000001 R14: ffff888000822182 R15: 7379732f6563696c
FS: 00007fc10cfc6500(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fec8b7df080 CR3: 000000009999d000 CR4: 00000000001526e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
inode_permission fs/namei.c:444 [inline]
may_lookup fs/namei.c:1575 [inline]
link_path_walk.part.0+0x7a9/0xc20 fs/namei.c:2125
link_path_walk fs/namei.c:2112 [inline]
path_openat+0x25a/0x2730 fs/namei.c:3364
do_filp_open+0x17e/0x3c0 fs/namei.c:3395
do_sys_openat2+0x16d/0x420 fs/open.c:1168
do_sys_open fs/open.c:1184 [inline]
__do_sys_open fs/open.c:1192 [inline]
__se_sys_open fs/open.c:1188 [inline]
__x64_sys_open+0x119/0x1c0 fs/open.c:1188
do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x7fc10b59070d
Code: 30 2c 00 00 75 10 b8 02 00 00 00 0f 05 48 3d 01 f0 ff ff 73 31 c3 48 83 ec 08 e8 fe 9d 01 00 48 89 04 24 b8 02 00 00 00 0f 05 <48> 8b 3c 24 48 89 c2 e8 47 9e 01 00 48 89 d0 48 83 c4 08 48 3d 01
RSP: 002b:00007ffe30c23940 EFLAGS: 00000293 ORIG_RAX: 0000000000000002
RAX: ffffffffffffffda RBX: 000055b39c64c410 RCX: 00007fc10b59070d
RDX: 00000000000001b6 RSI: 0000000000080000 RDI: 000055b39c648960
RBP: 0000000000000008 R08: 0000000000000008 R09: 0000000000000001
R10: 0000000000080000 R11: 0000000000000293 R12: 00007fc10ccca7b4
R13: 0000000000000001 R14: 00007ffe30c23a6c R15: 000055b39c646780
Modules linked in:
---[ end trace d6fbec4b185f6525 ]---
RIP: 0010:do_inode_permission fs/namei.c:397 [inline]
RIP: 0010:inode_permission.part.0+0x24a/0x410 fs/namei.c:463
Code: 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 b4 01 00 00 48 b8 00 00 00 00 00 fc ff df 4c 8b 65 20 49 8d 7c 24 10 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 a7 01 00 00 4d 8b 64 24 10 4d 85 e4 0f 84 21 01
RSP: 0018:ffffc90000c7f9e0 EFLAGS: 00010202
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffffff81c1f685
RDX: 0eeeeeeee0000002 RSI: ffffffff81c1f821 RDI: 7777777700000010
RBP: ffff888000822180 R08: 0000000000000001 R09: ffff8880a95d2920
R10: 0000000000000000 R11: 0000000000000000 R12: 7777777700000000
R13: 0000000000000001 R14: ffff888000822182 R15: 7379732f6563696c
FS: 00007fc10cfc6500(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fec8b7df080 CR3: 000000009999d000 CR4: 00000000001526e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400


---
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,
Nov 18, 2020, 1:21:17 AM11/18/20
to syzkaller-upst...@googlegroups.com
Auto-closing this bug as obsolete.
Crashes did not happen for a while, no reproducer and no activity.
Reply all
Reply to author
Forward
0 new messages